Re:The sad state of sysadmin in the age of containers
by swills on Wednesday April 22, 2015 @02:52PM
(#9422680)
C++ does usually require a runtime.
[ Parent
| on HN ]
Re:The sad state of sysadmin in the age of containers
by yoklov on Wednesday April 22, 2015 @03:08PM
(#9422798)
C++'s runtime is small and ubiquitous. Depending on how the software is written (if it allows disabling exceptions and rtti), it might be the same size as C's runtime, which is practically (but not totally) nonexistant.
I'm not an expert on Java, but my experience with it is that it's runtime is fairly huge and requires custom installation.
Re:The sad state of sysadmin in the age of containers
by bandrami on Thursday April 23, 2015 @01:59AM
(#9425193)
C++'s runtime is worse than Java's in that sense. Most JVMs can run most Java bytecode, but your libstdc++ has to be from the same version of the same compiler that your application was compiled with.
Re:The sad state of sysadmin in the age of containers
by Alupis on Thursday April 23, 2015 @10:38AM
(#9426993)
It was quite surprising for me the first time I did a little embedded work and discovered I couldn't run binaries that were compiled against glibc on my musl-libc based system, and vice-versa. I had initially thought they all just supported the same c89 spec so should work...