3 ms·
How big is an executable compiled from Janet using jpm? I'm sure I just missed it, but I haven't been able to find an answer to that question yet. Edit: Proba
by schemescape 4y ago
How big is an executable compiled from Janet using jpm?
I'm sure I just missed it, but I haven't been able to find an answer to that question yet.
Edit: Probably pretty tiny based on this [0], right?
> The entire language (core library, interpreter, compiler, assembler, PEG) is less than 1MB.
Edit again: Found an example [1]:
> And the size is quite reasonable for a non systems language: the Pong example using Raylib is about 2.4MB on Mac OS Catalina.
[0] https://janet-lang.org/ https://janet-lang.org/
[1] https://github.com/phillvancejr/Cpp-Go-Zig-Odin https://github.com/phillvancejr/Cpp-Go-Zig-Odin
- ianthehenry 4y agoI just compiled a hello world and got 784k on aarch64 macOS with all the defaults.