5 ms·
yes but then you have to write your program in java
by vb6sp6 5y ago
yes but then you have to write your program in java
- kreeben 5y agoand now you have two problems
- azth 5y agoYes, arguably a better decision than writing it in golang to begin with.
- naikrovek 5y agoGo is better than Java any day of any week if startup time or memory footprint are of any concern to you at all. Also Java is OO which is... terrible to say the least.
- pjmlp 5y agoJava has had AOT compilation since around 2000, just not as free beer. In 2021, the AOT free beer exists, as do JIT caches. As for OO model, I rather be able to understand which interfaces a type implements by looking at it, instead of producing compiler errors, or have a type by accident supporting a single method interface with complete different semantics.
- azth 5y agoGraalVM is a thing (see: www.quarkus.io for an example) if fast startup and low memory usage are a requirement. Not sure what the OO rant is about, it's awesome. It's not like golang isn't (poorly implemented) OO as well (minus explicit inheritance, which embedding is somewhat similar as well).