Ask HN: Should Go and Dart be combined into one language?
However, what if, they were combined into a single, unified language?
Both languages are made by Google, have GC and are AOT compiled. C# has both classes and structs which are quite different and serve different purposes. Go-Dart combined language could mirror this and combine Go's structs and Dart's classes. Structs would focus on high-performance programing and classes would focus on more expressive and easier code.
I don't know, if it would be technically possible. Combined super language certainly wouldn't be backward compatible with neither Go or Dart.
But, this would give us:
- one big ecosystem instead of two smaller ones, and
- enable more code sharing between backend & frontend.
This is completely hypothetical. I just wanted to toss out an idea for some discussion. What are your thoughts on the matter?