Cranston's Life - Rust and More Rust

Keeping Up with Rust Changes!

Preston Carpenter has given us some THOUGHTS about keeping up with Rust as it changes in the I can't keep up with idiomatic Rust article.

The problem seems to me to be that Rust changes faster than a lot of other programming languages do and that this can be a BURDEN on a Rust programmer.

What is "idiomatic Rust" today may be replaced by a NEW and hopefully BETTER way of doing things in the near future.

This means that in order to keep Rust code modern that it can take A LOT of work to start using the new idiomatic Rust way!

Preston says it is like being "on a treadmill trying, and failing, to keep up".

There are some discussion too.

I will admit that I too have encountered this problem with some of my EARLIEST Rust code.

That Rust code was written at a time when Rust did things differently and I had to make CHANGES to get it to look like modern Rust code.

But this problem has NO easy solution I think!

Rust can not stand still because it must keep IMPROVING.

Yes, improvements could change the idiomatic way that we write Rust code, so I think that as programmers we must ADAPT.

If we want to have modern idiomatic Rust code then we must be FLEXIBLE and we must put in WORK and to keep our code looking like it is new.

I must STUDY this matter more because I think with study we can better know what to expect and how to DEAL with it.

Calling Rust Code from Node.js JavaScript!

I do not use Node.js but if you do and you need to write code that runs FAST then maybe the article How To Quickly Optimize JavaScript Code with Rust by Raji Ayinla will be INFORMATIVE to you.

That article gives an EXAMPLE of calling Rust code from Node.js JavaScript.

Rust code is known for its FAST speed of execution and if fast speed is something that you has a JavaScript programmer need then maybe these techniques are ones that you may investigate using!