CommunityNews

CommunityNews

Rust Is the Future of JavaScript Infrastructure

Rust Is The Future of JavaScript Infrastructure – Lee Robinson.
Why is Rust being used to replace parts of the JavaScript web ecosystem like minification (Terser), transpilation (Babel), formatting (Prettier), bundling (webpack), linting (ESLint), and more?

Read in full here:

This thread was posted by one of our members via one of our news source trackers.

Most Liked

OvermindDL1

OvermindDL1

Honestly the Rust ecosystem is way overcautious (which I think is a good trait). Like the Rust community mostly comes from haskell and C++ and compared to each of those Rust is like baby training wheels, lol, but they give those warnings because its what they are used to be giving with C++ and Haskell because, honestly, a lot of them think that programmers for more ‘simple’ languages like javascript and java and such things have a high learning curve to it, when they really don’t (especially with modern javascript and java and such things). Rust already does what are best practices in almost every language but it does them faster, safer, and with compiler errors to lead you on the right track (which are utterly outstanding compared to basically any language, yes that includes elixir).

I could give you a crash course from the perspective of X whatever language you know over IRC or Discord or so if you want, work looks like it will be slow today (considering over half the people are gone, lol).

But from my personal perspective, the reason why Rust might have a higher learning curve is not because its harder to learn (honestly I think it’s much easier to learn than ‘most’ languages), it just doesn’t let you write bad code, so what most languages would have accepted but would have just been outright wrong, Rust will not accept, it forces you to write good code, and that’s a skill you can take back to any other language.

EDIT: Remember the first line in the article after all, there’s a reason for this!

Rust is a fast, reliable, and memory-efficient programming language. It’s been voted the most loved programming language six years in a row (survey).

6 years! And Rust doesn’t even have a huge SO presence because they have such a large community already on their own forums, their discord server, their zulip server, and reddit, which makes it even more astounding.

AstonJ

AstonJ

Ah nice! I will definitely take you up on it one day!! :003:

For me Rust is most interesting for WASM, hopefully by the time I am ready to get into it things might have moved on a bit by then.

My current plan is:

  • Programming Erlang
  • Programming Phoenix
  • Create a small-ish app in Phoenix
  • See whether I need to read more Elixir/Erlang books or whether it’s time to check out Rust or Swift

Yew looks interesting - at some point it might be worth having a ‘State of WASM 2021/22’ thread :smiley:

While WASM isn’t the perfect solution yet, it can help developers create extremely fast web experiences. The Rust team is committed to a high-quality and cutting-edge WASM implementation. For developers, this means you could have the performance advantages of Rust (vs. Go) while still compiling for the web (using WASM).

Some early libraries and frameworks in this space:

jaeyson

jaeyson

alot of great things happening lately…

“So Many Snacks, So Little Time”

Popular General Dev topics Top

Devtalk
Our jobs section is for full-time paid positions and for companies to post their own jobs (no consultancies or agencies, sorry!) - simply...
New
AstonJ
What chair do you have while working… and why? Is there a ‘best’ type of chair or working position for developers?
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
New
AstonJ
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1126 25250 746
New
First poster: malloryerik
GitHub - hlissner/doom-emacs: An Emacs framework for the stubborn martian hacker. An Emacs framework for the stubborn martian hacker - G...
New
AstonJ
This was interesting: He’s definitely more of an Emacs fan (which is fine) and the thing I found interesting is how you wo...
New
CommunityNews
Christian Mills - Testing Intel’s Arc A770 GPU for Deep Learning Pt. 2. This post covers my experience training image classification mod...
New

Other popular topics Top

DevotionGeo
I know that -t flag is used along with -i flag for getting an interactive shell. But I cannot digest what the man page for docker run com...
New
New
foxtrottwist
Here’s our thread for the Keyboardio Atreus. It is a mechanical keyboard based on and a slight update of the original Atreus (Keyboardio ...
New
Exadra37
On modern versions of macOS, you simply can’t power on your computer, launch a text editor or eBook reader, and write or read, without a ...
New
New
AstonJ
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me. I think the Planck and the Preonic (o...
New
AstonJ
This looks like a stunning keycap set :orange_heart: A LEGENDARY KEYBOARD LIVES ON When you bought an Apple Macintosh computer in the e...
New
AstonJ
Biggest jackpot ever apparently! :upside_down_face: I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New
New
First poster: bot
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig. General-purpose programming language and toolchain for maintaini...
New

Latest in General Dev

View all threads ❯