Anything with runtime and automatic memory management will add to the size significantly.

Have you tried stripping and trying to minimise your #OCaml binary?

Heard of #ATS?

Reply to this note

Please Login to reply.

Discussion

Ok, I have taken a look at ATS and suspect that it's the same as Nim in terms of using an intermediate C source. Myrddin looks more self-sufficient. But thanks, good to have another option in the arsenal.

And I take it you have seen #Zig?

Of course. Didn't like it at all. The zig cc compiler is a nice cross-toolchain alternative for clang though.