back

by rvz·6y ago·view on hn ↗
Like Go, Crystal embeds the runtime inside of the executable by default so it doesn't require the user to install the language runtime libraries on the users computer unlike Java, C#, etc.

The only way to get a true portable statically-linked Crystal binary on Linux is to compile your program statically using an Alpine Linux Docker container. MacOS portability shouldn't be a problem since everything is static except for libSystem.dylib.

1 comments
Like Java and C# actually, it just doesn't get more known due to the amount of devs that don't deal with commercial AOT toolchains outside corporations.