171
Why do they keep making new languages
(lemmy.stonansh.org)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
Rust still lacks OOP (the inheritance/subtyping part of it) though. And some more advanced Haskell features too, like HKT.
I'll take your word for it about the missing Haskell features, but with regards to inheritance, they deliberate chose to avoid it. They use an alternative model to achieve the same goals inheritance is meant for, but without the issues that come along with it. Their approach is basically a more advanced version of how Go uses interfaces to define shared behaviour.
Ooh rust just became more appealing to me.
It is pretty neat. They've made a lot of really interesting design decisions that make for a pretty unique language.
One of its main selling points is how it guarantees memory safety without using a garbage collector. That, plus the fact that it does a shit-ton of compile-time optimizations, actually makes it pretty fast. Like, 80%-90% as fast as C (which is much faster than all the other high-level languages like Java, Go, etc, partly because they do in fact use garbage collectors).
If you want to check it out, I recommend this playlist as a solid intro.
Here is an alternative Piped link(s): https://piped.video/playlist?list=PLai5B987bZ9CoVR-QEIN9foz4QCJ0H2Y8
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I'm open-source, check me out at GitHub.
Oh yeah, I get all of those, because I am a Rust programmer myself who hates OOP. :D
I raised the topic up only because of how people were talking about "the ultimate language with everything".