4 ms·
It's only from a very high-level view that these languages might look all the same. If you look at how the languages actually evolved, there are crucial differe
by skybrian 8y ago
It's only from a very high-level view that these languages might look all the same. If you look at how the languages actually evolved, there are crucial differences.
Swift basically exists due to Apple's need for Objective C compatibility. What other language would serve that need? Similarly, Kotlin was easy to adopt for Android due to Java compatibility. Rust is designed to interoperate well with C++, which is useful within Firefox. Go was designed for fast compilation and easier library evolution for server-side code in a Google-scale monorepo. Dart was designed as a browser scripting language (though this didn't work out).
There was nobody in a position to prevent all this evolution from happening.
- Strom 8y ago> Rust is designed to interoperate well with C++, which is useful within Firefox. Mild nitpick, but from my understanding Rust interoperates well with C but is quite a pain to interoperate with C++. At least calling C++ libraries from Rust is painful, the other way around can be easy in the same way that calling C code is easy from C++.