4 ms·
"Lightweight Java" hah!
by markhahn 2y ago
"Lightweight Java" hah!
- taspeotis 2y agoKnock knock Who's there? Long pause Java
- deepsun 2y agoDon't see a snark here -- Java libs are really lightweight, in a matter of kilobytes. Because it's interpreted, you're supposed to have OS-specific JVM installed to run it. Exactly the same as Python. Compare that to Go, where Hello World weighs 1.8 MB, more than 100x heavier than the lib in question.
- huygens6363 2y agoComparing fairly with Go would mean adding the JRE to the lib, because the lib itself is useless. Go produces executables.
- deepsun 2y agoWhy? If there are 2 adumbra libs, the total size won't change much. But 2 Go hello worlds would take 2x space. Also, we'd want to include libc.so and even OS kernel that both Go and JVM depend on.