3 ms·
C++ is a giant language, it has accumulated sooo many features, so a small language can be cut out from it that offers a more concise set of features, may Zig i
by cies 3y ago
C++ is a giant language, it has accumulated sooo many features, so a small language can be cut out from it that offers a more concise set of features, may Zig is that language.
Perl same story. And Ruby may be that language that was cut out of Perl.
Haskell has a problem like that as well, and (while not a general purpose language) Elm is a neat, concise small language that's cut out of Haskell. As the author of this NeoHaskell commentary explains, I also do not see how NeoHaskell fits in here (epecially since it tries to be Haskell compatible).
-----
I also see the opposite, Java and Go for instance have a small feature set and miss ergonomics (and an std lib designed based on those ergonomics). Java recently got Kotlin, which seems to me a great "Java 2.0". Go may also benefit from a language that builds on top and provides great interop with the Go std lib and ecosystem.
- cultureswitch 3y agoMany of Go's core abstractions are such half-assed broken concepts (e.g. slices) that it's hard to see how one could replace them elegantly while remaining compatible.
- cies 3y agoSame could've been said for Java right? Not saying Kotlin is perfect (it certainly shared some JVM problems like statics not being mockable, therefor needed DI everywhere in a testable codebase), but it sure did improve a the DX lot.