Open HeavySnowJakarta opened 1 year ago
Apple strictly forbid running binaries not approved via AppStore. This is why a-Shell can only run interpreted script languages (Python, javascript, wasm, R, Lua, perl, scala, ruby, vbscript, csscript, dart, shell script, etc.)
would be nice to have ruby, I know its not as popular but it has good scripting features, IMO
Just curious is their any hope or roadmap to include Ruby, I know if maybe asking a lot
I tried compiling Ruby last week; it didn't work within the limited time I had then. I'll have to go back to it with more time ahead of me.
Since it's a open source perhaps I can help. What are some of issues or errors when compiling? Perhaps I can replicate and troubleshoot it's, then do a pull request?
You can try. I was trying to compile to WebAssembly. It should be easier once I've finished updating the SDK and compiler.
If you want to do it now, you should try compiling to Arm64 binaries, using Apple compiler and SDK. Then you'll need to ensure memory gets released when Ruby leaves.
After being annoyed with the ecosystem of WebAssembly, I'm looking for dealing with iOS native codes now. I've got ways of compiling static libraries, but as I have no experience of iOS development, I wonder how to add a binary code to a-Shell itself. For example, add a simple cli command, from getting the source to opening a pr. I know it may be pretty hard to understand the difference between different tool chains like
make
andcmake
or configuring the cross-compile targets.