Re:“Sustainability with Rust” post misleading about Go
by azth on Wednesday February 23, 2022 @01:03PM
(#30444154)
That statement is misleading. You can also compile Java natively. Secondly, there is most definitely a runtime "between the metal and the language" in golang, the GC being the most obvious.
This proves my thoughts that these claims are not valid.
Re:“Sustainability with Rust” post misleading about Go
by nemothekid on Wednesday February 23, 2022 @01:24PM
(#30444432)
>You can also compile Java natively.
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.
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.
Re:“Sustainability with Rust” post misleading about Go
by anthk on Wednesday February 23, 2022 @04:41PM
(#30446889)
So does TCL, and yet Go outperforms TCL/TK, even 8.6.
Re:“Sustainability with Rust” post misleading about Go
by anthk on Wednesday February 23, 2022 @04:40PM
(#30446880)
Call me when I can compile some static binary for Windows from OpenBSD such
as GOOS=Windows GOARCH=arch32 go build foo.go.
Re:“Sustainability with Rust” post misleading about Go
by cpuguy83 on Saturday February 26, 2022 @07:27PM
(#30483829)
There is a runtime between the metal and the language.
The runtime is what makes it really nice for writing network services in.
It's also what makes it really terrible for lower level things.
Source: https://www.karimarttila.fi/languages/2018/11/13/go-good-pro...