5 ms·
Obviously not fast enough for Google since they literally invented a new programming language (Go) to address the compile time and runtime limitations of Java.
by ttfkam 4y ago
Obviously not fast enough for Google since they literally invented a new programming language (Go) to address the compile time and runtime limitations of Java.
- traceroute66 4y ago> they literally invented a new programming language (Go) to address the compile time and runtime limitations of Java. And then ironically they then use a complex and runtime-heavy Java-based CI/CD to manage the compilation of their Go codebase. Go is great though, best bit is how its so useable for web-stuff out of the box. Unlike Rust where you have to spend half your life either re-inventing the wheel or choosing which of hundreds of crates you want to use to do stuff that should be part of stdlib.
- fuckstick 4y agoOf all the criticisms I’ve heard hurled at Java, compile time isn’t one of them. Have you actually used any of these things you comment on?
- thesuperbigfrog 4y ago>> Obviously not fast enough for Google since they literally invented a new programming language (Go) to address the compile time and runtime limitations of Java. Go was created to overcome complexity issues and compile times of C++ (not Java): https://commandcenter.blogspot.com/2012/06/less-is-exponentially-more.html https://commandcenter.blogspot.com/2012/06/less-is-exponenti... https://go.dev/talks/2015/gophercon-goevolution.slide#4 https://go.dev/talks/2015/gophercon-goevolution.slide#4
- ttfkam 4y agoI misspoke (miswrote?). You are correct, it was created to address the issues Google had with C++ and—crucially—other internally supported languages like Java and Python could not adequately fill C++'s role. If Java could have filled this role in both compile time and memory efficiency, Go in all likelihood would never have been created. But yes, Go beats Java in compile-time speed as well.