▲ | xigoi 6 days ago | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Just keep in mind that these executables are the Janet bytecode interpreter bundled with your bytecode, not “real” native executables. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
▲ | terminalbraid 6 days ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
No, they are actually real executables without the need of an external runtime. You can get images also if you like. See quickbin in the jpm man page. > Create a standalone, statically linked executable from a Janet source file that contains a main function. and discussion here > My favorite feature of Janet, though, is something that sounds really dumb when I say it out loud: you can actually distribute Janet programs to other people. You can compile Janet programs into statically-linked native binaries and give them to people who have never even heard of Janet before. And they can run them without having to install any gems or set up any virtual environments or download any runtimes or anything else like that. They're not super tiny, though. A hello world I just did is about 727K. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|