I’m finishing https://www.keepmeon.top/discussions which searches for all the discussions on HN, Lobsters and Reddit for a given story.
For an example see: https://www.keepmeon.top/discussions?url=https%3A%2F%2Fstressgrid.com%2Fblog%2Fwebserver_benchmark%2F
Maybe this will be the year… I have no particular love of the language, but the way I see it, I tend to be the guy who takes a second or third stab at startup’s product (cleaning it up, productionizing, optimization, etc) and in a few years a lot of those programs will be written in rust… cause that’s what’s cool right now. And I’d still like to code in 10 years, so I guess I need to learn these things.
I don’t think Dart will either, but it’s strangely seen a resurgence in popularity. I guess due to flutter?
I don’t see Rust replacing JS in areas JS is used currently, but Rust+WASM may enable new kinds of web applications that wouldn’t have been written in JS. For example, AAA games or big productivity applications could use the Web as yet another platform alongside native platforms.
Rust is hard because we are not use to its semantics, but once you understand the system it’s actually very easy.
But it will not be that. Regular people, people who cannot spend days bending their mind to the semantics of a language, will never use Rust for webdev.
We are seeing small, embeddable JS VMs now. So JS can live everywhere and be performant when needed.
100% agree though Rust is fantastic for backend, and that’s where I used it at work. Writing Rust services and system programs is the holy grail.
To be fair I like Go a lot more. Rust is too much like C++ to me. A language for experts, and realistically I doubt I can ever really feel confident in my own ability to use it successfully. I prefer a simpler programming language.
But I guess that’s a lost cause.
Of course in a decade it will be some other language. Maybe everyone will get interested in dynamic languages again.
At some point, addition was a difficult thing, and multiplication and division were as much of an arcane techniques as dependent types and automated theorem proving are now. These days we teach multiplication and division to kids, and most of them learn it just fine.
We are sort of getting to the point when ADTs and pattern matching become mainstream. Maybe in two decades affine types will be a widely understood thing rather than something people need to bend their minds to.
Are you really trying to equate addition to Rust?
Addition is something that has been natively understood since ancient times. Addition was used by the Greeks 10,000 years ago.
I study programming languages in my free time, and Rust is one of the most Byzantine languages I have ever used.
I agree that Rust takes some time to learn, but as it’s ecosystem matures it will make more sense to use it to for the backend. And there are benefits on using a language for both backend and frontend (only one language to learn, reusing logic, etc.).
Rust is improving its ergonomics so maybe in 10 years it will be an easier language to learn/use than today (or a total mess like C++)
The problems JS solved had nothing to do with the backend, but we saw it there anyway.
I bounced off rust four times before I managed to write even simple programs in it. Each time, I internalized a little more intuition about ownership.
It’s so different it requires the kind of learning I haven’t had to do since first starting to program - much more different IME than going from imperative -> OO -> FP code. More like learning type systems for the first time again.
Do you use other languages with manual memory management? I find myself talking about ownership in C++ all the time. Rust gave me terms for it but all the considerations are necessary for C++ as well.
I don’t use them often, or well. I spend most of my day in very high level application code.
How did you go about learning Rust? I tried to learn it in the way I learned Go, by simply going through the documentation and attempting to write very simple programs in it but didn’t make much progress.
Then I took a step back, downloaded the book on my e-reader and started reading it. It is very well done and a total game changer for me.
I actually think the semantics of Rust quite simple now, I just wasn’t used to it at all in the languages I learned previously.
Yes, Flutter is definitely the reason that Dart is seeing a resurgence.
I just released https://www.keepmeon.top/ It’s rather basic now and after some feedback I’m working on some new features.
I’m thinking about creating another game for my collection of TypeScript games: https://xojoc.pw/games2d/
I finished the landing page for my first SaaS: https://www.keepmeon.top/
Now I’m polishing the backend and I hope to start marketing soon enough :)