by Turing_Machine · 9y ago · 0 comments
For C it was Unix.
For JavaScript it was the web.
My guess for when something like that will happen with Rust? Never.
Unfortunately, verbose, anal-retentive languages like Rust are simply poorly-suited for writing new, mind-blowing, must-have thingies. On the scale of languages that support exploratory programming, I'd put Lisp at the top, JavaScript fairly near the top, C somewhere above the middle (though it was quite close to the top when it was new), and Rust somewhere down in the FORTRAN and COBOL region of the spectrum.
Note that this is completely orthogonal to type-safety, running speed, or any other traditional measure of programming language merit. The shoals of the language ocean are littered with the wreckage of "better" languages (the various Wirth languages, e.g.). What really matters is whether a programmer can sit down and casually explore a cool idea in a few minutes of spare time, and you can't do that in a language that requires half a page of code to concatenate two strings.
Swift has managed to roll type safety (more or less) into a language that's actually fun to use, or at least not actively painful. Rust hasn't.
I've been doing this for years with Rust. I'm doing it right now, in fact! The most popular piece of software I've ever written started off as a fun experiment in Rust on an airplane ride.
> and you can't do that in a language that requires half a page of code to concatenate two strings.
Great news then! Rust doesn't require half a page of code to concatenate two strings.[1]
[1] - https://play.rust-lang.org/?gist=ed677c7e279f406d0be1c7f70b5...
A Swift or Go inspired simple syntax could revive Rust.