News for hackers. Stuff that matters.
Re:Janet for Mortals by schemescape on Friday March 31, 2023 @08:32PM (#35395699)
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/

[1] https://github.com/phillvancejr/Cpp-Go-Zig-Odin

Re:Janet for Mortals by ianthehenry on Friday March 31, 2023 @08:57PM (#35395872)
I just compiled a hello world and got 784k on aarch64 macOS with all the defaults.