by yakubin · 5y ago · 0 comments
Tangentially, Haskell itself is unsound. It's also a messy kitchen-sink language in practice, giving me C++ vibes (yes, a bit ironic in the context of Rust, but still true).
As for productivity, the number of widely-used programs written in Haskell does not convince me. Unless we're talking about languages whose purpose is implementing compilers.
My take would be that _any_ language with a heavy emphasis on type oriented programming would be a good primer for a systems programming language which uses its type system as it's primary means of ensuring safety.
Haskel is just the best known / most widely used(?) of the bunch.
But even if you include other type-driven languages, OPs point remains in that the typical Rust dev either has a C++ or Scripting language background, without a strong theoretical foundation.
You may be conflating Rust users with the Rust developers. Several of the people involved, including Niko Matsakis (co-lead of the language team, who invented the borrow checker), Felix Klock (co-lead of the compiler team), and Ralf Jung (whose work is the paper above, among other things, and has been focused on specifying/proving unsafe Rust for the last few years) have PhDs in programming language topics. And even folks without formal credentials refer to existing academic works when talking about building Rust. Heck, we even used to ship a bibliography of papers! https://doc.rust-lang.org/1.30.0/book/first-edition/bibliogr...