4 ms·
The runtime architecture of Go is really nice (goroutines, concurrent GC). But, indeed, the generics are missing. Therefore, I think they should make Go suitab
by amelius 11y ago
The runtime architecture of Go is really nice (goroutines, concurrent GC). But, indeed, the generics are missing.
Therefore, I think they should make Go suitable to be used as an intermediate language (the compiler would become a back-end). Having Go as a compiler back-end could spawn a lot of interesting new languages.
- anjanb 11y agosounds like a cool idea. somewhat like wasm (WebAssembly) ? Are there plans to fork go and build generics on top of it ?
- threeseed 11y agoSomeone tried to get Go running on the JVM: https://code.google.com/p/jgo/ https://code.google.com/p/jgo/ The JVM can support goroutines (similar to Quasar Fibers) and the various GC implementations are significantly more advanced than what Go has. But I suspect Go is popular mostly for its simplicity than features.
- danieldk 11y agoBut I suspect Go is popular mostly for its simplicity than features. Definitely. I think there are a couple of reasons: * It's familiar to anyone who knows C-like languages. * The tooling is really good for such a young language (go get, go fmt, goimports, pprof, etc.). * Java's tooling is still lightyears ahead, but a significant chunk of programmers dislikes the JVM for various reasons. * It integrates well with the UNIX/C environment. * Simplicity (someone mentioned in a thread a couple of days ago: Go seems to look what C++ does, and then does exactly the opposite).