Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
slackingoff2017
· 9y ago · 0 comments
You can get under 200KB in Java easily by using proguard or similar to strip unused code from your dependencies.
Comments
[–]
pebers
9y ago
But that 200KB isn't a standalone executable. The Go example would be a lot smaller if it just distributed some unlinked object code with no runtime.
[–]
slackingoff2017
OP
9y ago
True. The JVM is big. I've been meaning to try Golang one of these days, I see it as Java's spiritual successor
[–]
eropple
9y ago
I tend to view it more as a regressor. Golang is a conservative retrenchment towards Java pre-1.5 in a lot of ways. (And that may be fine for some use cases; I get the appeal even if I think it's misguided.)
[–]
holydude
9y ago
Ok you have Nim,Crystal and / or Rust if you insist. There is actually a reason why Go is gaining momentum.
[–]
pjmlp
9y ago
Not really, unless you enjoy to program in Java 1.0 again.
[–]
Cyph0n
9y ago
I actually see Scala as Java's spiritual successor. Go is in an entirely different ballpark.
[–]
camus2
9y ago
Sure, but I didn't apply any specific code optimization or third party tool here.
[–]
slackingoff2017
OP
9y ago
Progaurd is default on Android and some other environments, it's not anything exotic.