4 ms·
> HelloWorld in Nim is ~10 MB That sounds like a gross exaggeration: https://hookrace.net/blog/nim-binary-size/ https://hookrace.net/blog/nim-binary-size/
by dom96 10y ago
> HelloWorld in Nim is ~10 MB
That sounds like a gross exaggeration: https://hookrace.net/blog/nim-binary-size/ https://hookrace.net/blog/nim-binary-size/
- throwaway7645 10y agoI downloaded Nim last year, wrote the line: echo "Hello World" , and then used the Aporia IDE's feature to compile to executable I believe. That or the command-line method. This was on Windows and the resulting exeutable was indeed sized around 10 MB. I did state that there could have been more optimizations like a release mode flag. Edit: The sizes in the link you submitted are very small and rational (what I was expecting to see). I can't remember what it does on Windows without GCC. It might have used Cygwin, but it should have still not been orders of magnitude bigger. This turned me off immediately.
- dom96 10y agoThe reason you saw that is because the default compilation includes lots of debug info.
- throwaway7645 10y ago9.95 MB worth? Dang that is a lot of info. Glad to see they can be made to be really small.