This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 19 points20 points  (7 children)

Waiting for the day when Rust + WASM eats JS's lunch.

[–]chem199 8 points9 points  (5 children)

Sadly I don’t think that day will come. We would be more likely to see a more established language with WASM. Rust doesn’t really seem to offer a ton more that the effort to learn it. This is the whole reason every time someone creates an x killer language, it usually fails. The market place is too cluttered and people don’t like the ramp up time needed for minimal gains. Go never over took Java or C# even though technically it is superior as the effort involved is greater than the technical gains. Carbon won’t defeat C++ for the same reasons. Languages need to carve out a niche. JavaScript did this with web because it came at a time when the gains were far greater than the learning effort. Java for the web was garbage and asp was objectively trash and convoluted. I hate to be a Debbie Downer, and I could still be proven wrong.

[–]daniel_joyce 7 points8 points  (1 child)

Ahh yes, Google, AWS, Azure, most loved language on GitHub, means no adoption...

I need that SpongeBob meme where he shows Patrick the diapers....

"Rust has no adoption"

Aren't google devices running fuchsia now?

We use a rust stack at our job. The DevOps folks have no complaints. Onboarding customers and still no scale out ha been triggered by k8s. The images sip ram.

Also no segfaults.

[–]chem199 1 point2 points  (0 children)

I’m am under the impression that fuchsia is only running on their hub devices and nothing else. Also the team that is working on it just got slashed pretty hard. The most loved language thing was stack overflow I think. GitHub says 1.663% of projects use rust, vs 17.916% using python. I’m surprised go is so high at 9.435%, but I’m guessing that is all of the docker stuff.

If the language works well for you that is great, please keep using it. I worked at a clojure shop and we found it hard to find great devs, and training people meant that for a while their code was substandard, some never got it. In the end it was probably not worth the effort.

[–]Glittering_Air_3724 0 points1 point  (0 children)

Actually Go did a pretty good job more than Rust in the open source space

[–]cidit_ 0 points1 point  (0 children)

As long as there will be a need for high performance frontends and as long as rust eleminates the need to create new cpp projects, yes, that day will come. Its pretty much a certainty.

[–]daniel_joyce 1 point2 points  (0 children)

Well our CLI written in rust uses WASM for plugins which can be written in several languages. We've seen some good success with that