Re:“Sustainability with Rust” post misleading about Go
by azth on Wednesday February 23, 2022 @01:48PM
(#30444718)
I never said it was rare or not. It is possible if you truly need fast startup times. The fact of the matter, the JVM is good enough for the vast majority of the use cases, and is faster than golang so no need to even go there.
Re:“Sustainability with Rust” post misleading about Go
by anthk on Wednesday February 23, 2022 @04:42PM
(#30446909)
>, and is faster than golang
Nice joke. Go software runs much snappier and faster than any Java GUI or CLI tool.
Re:“Sustainability with Rust” post misleading about Go
by azth on Wednesday February 23, 2022 @04:55PM
(#30447066)
Not a joke. Large real world programs are proof (otherwise, my employer will not be spending millions of dollars on reinventing performance and other toolings already present in the JVM). What golang gui programs are you comparing against?
Java CLI tools compiled with GraalVM start up just as fast.
Re:“Sustainability with Rust” post misleading about Go
by pjmlp on Thursday February 24, 2022 @02:14AM
(#30451613)
You weren't looking into the right plaaces, ExcelsiorJET, PTC, Aicas, Websphere Real Time, Android since version 5 (althought the story here is complicated).
Re:“Sustainability with Rust” post misleading about Go
by Cupprum on Wednesday February 23, 2022 @01:52PM
(#30444765)
>That statement is about as true as saying you can compile Python natively.
Python is actually compiled. When you run a file, it firstly compiles the cod into a bytecode, which is saved in ‘.pyc’ files. These are afterwards interpreted by the interpreter.
This is also misleading. You are implying that GraalVM isn't relatively new and that Java native compilation isn't rare. I've yet to see anyone deploy service or CLI tools that are natively compiled in Java. That statement is about as true as saying you can compile Python natively. Just because its possible doesn't mean the language is actually suited for it.