4 ms·
I don't like Go either, but I'm making my entire product on it. The reason is that I need multiple services, with a small memory foot print, which compiles to b
by virmundi 8y ago
I don't like Go either, but I'm making my entire product on it. The reason is that I need multiple services, with a small memory foot print, which compiles to binary, all of which runs for web with either HTML or REST. As far as I can see there is no alternative. Java, which I've used for 15 years, requires a JVM, the currenct Alpine Docker for Java only go to 8, and require too much memory. Dlang looks interesting, but I can't find any modern resources on how to program it. The book I have says I have to pick between two competing collection libraries that are not interchangeable. C++ is not a good choice for what I'm doing. For the same reasons C# and Erlang/Elixer are out. As a result it does this better than mainstream languages.
- pjmlp 8y agoIn those 15 years never learned about Java AOT compilers to native code?
- virmundi 8y agoI never fully trusted it. Relatively recent posts show that the GraalVM crashes. While it would be nice to use something like this, I have to go to war with the army I have. That means using the Go troops. Perhaps the Java regiment will be useful in the future, but right now it's still learning to navigate the new terrain of native execution. I wanted something that stayed close to the main community. I've never heard of people having much success with Maven. https://www.infoworld.com/article/3192105/java/java-9s-aot-compiler-use-at-your-own-risk.html https://www.infoworld.com/article/3192105/java/java-9s-aot-c...
- erik_seaberg 8y agoGCJ was abandoned. Is there an AOT Java compiler that isn't severely proprietary and more expensive than a stack of laptops?
- pjmlp 8y agoJust because the majority of them are commercial doesn't change the fact that they exist. They are more expensive than a stack of laptops, because FOSS made the business of selling software tooling only worthwhile when targeting enterprise customers. Those enterprise customers have developers using these compilers almost since Java exists.
- AsyncAwait 8y ago> Just because the majority of them are commercial doesn't change the fact that they exist. No, but it does explain why Java is not a worthwhile option for OP.