News for hackers. Stuff that matters.
Re:Scala Native v0.1 by lukax on Tuesday March 14, 2017 @11:07AM (#13868042)
The generated binary for simple Hello World is 3.45 MB which is quite a lot for printing one line of text but it can be compressed to 326K using UPX.
Re:Scala Native v0.1 by densh on Tuesday March 14, 2017 @11:16AM (#13868129)
All of our binary size problems are mostly caused by a single well-known issue [1]. We hope to address that in one of the future releases. In the meanwhile, compressing binaries with upx is a temporary solution that can alleviate some of the pain.

[1] https://github.com/scala-native/scala-native/issues/180

Re:Scala Native v0.1 by cderwin on Tuesday March 14, 2017 @11:21AM (#13868197)
Rust's is almost the exact same size (3.46 MB). It's probably just that the libraries that are statically linked by default (jemalloc, std, etc.).
Re:Scala Native v0.1 by densh on Tuesday March 14, 2017 @11:30AM (#13868287)
That's correct. We statically link all of the transitive Scala dependencies.