Coder Social home page Coder Social logo

Package manager about a-shell HOT 5 OPEN

holzschu avatar holzschu commented on June 8, 2024 12
Package manager

from a-shell.

Comments (5)

kalanihelekunihi avatar kalanihelekunihi commented on June 8, 2024 1

As much as homebrew would be really neat, it only supports x86 & x86_64 at present. While there is a TigerBrew fork that includes PPC support, there does not appear to be an ARM variant at present.

There are however multiple other package sources that include aarch64 packages, as well as those that are source based.

from a-shell.

iMonZ avatar iMonZ commented on June 8, 2024

Any news on that?

from a-shell.

holzschu avatar holzschu commented on June 8, 2024

The AppStore rules are that all binaries must be present when the app is submitted for approval. That makes it (currently) incompatible with any kind of homebrew-like package manager.

There is a workaround with WebAssembly because wasm files are (technically...) not binaries but text files, and also because the execution is done by Apple's own wasm JIT compiler (so it's their security). Unfortunately, WebAssembly is still quite limited, and most packages cannot be compiled (anything that uses exceptions, or setjmp()/longjmp(), or threads, or forks... cannot be compiled to WebAssembly for now).

So the answer remains: not yet, but I keep trying regularly.

from a-shell.

MartinDelille avatar MartinDelille commented on June 8, 2024

Does a-shell have compiling capabilities ?

from a-shell.

holzschu avatar holzschu commented on June 8, 2024

Yes: there is clang, clang++ and make. You can compile packages to WebAssembly, and they will be executed (just type "a.out" at the prompt, a-Shell will recognize it's a WebAssembly file and run it).

But, and that's a very big but:

  • no shell means no way to run "./configure", which means most of the existing packages won't compile.
  • even if you get past this, many packages won't compile to WebAssembly. Most GNU packages assume that you have tons of GNU libraries available, which we don't. And many of these libraries use setjmp()/longjmp(), which won't work in WebAssembly.

So: compiling your own projects, yes. Compiling existing packages distributions... mostly no.

from a-shell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.