Five years of Rust
- Reference: 0000820604
- News link: https://lwn.net/Articles/820604/
- Source link:
[1] https://blog.rust-lang.org/2020/05/15/five-years-of-rust.html
What with chromodynamics and electroweak too
Our Standardized Model should please even you,
Tho' once you did say that of charm there was none
It took courage to switch as to say Earth moves not Sun.
Yet your state of the union penultimate large
Is the last known haunt of the Fractional Charge,
And as you surf in the hot tub with sourdough roll
Please ponder the passing of your sole Monopole.
Your Olympics were fun, you should bring them all back
For transsexual tennis or Anamalon Track,
But Hollywood movies remain sinfully crude
Whether seen on the telly or Remotely Viewed.
Now fasten your sunbelts, for you've done it once more,
You said it in Leipzig of the thing we adore,
That you've built an incredible crystalline sphere
Whose German attendants spread trembling and fear
Of the death of our theory by Particle Zeta
Which I'll bet is not there say your article, later.
-- Sheldon Glashow, Physics Today, December, 1984
Five years of Rust
Well, it took them five years to get to 1.0, so I guess ten years in all? :-)
I tried Rust for the first time a while back (I am mainly working in C++), and it's not bad at all. Solid ownership semantics, documentation written for programmers, a suitably rich standard library, supposedly a good FFI (I didn't try it myself, though). I do have some issues with how things get around error handling and Option vs. Result; it feels a bit unneededly complex. But overall a pretty positive experience.
But it's a pity that it, like almost all newer languages, really wants to own your package manager; they even go as far as making cargo a build system. (Yes, it's optional, but they recommend it even for the toy project in the Rust book, so it's pretty clear where they want you to go.) This is only fine if all your code is in a single language! The Go people solve that saying “oh, just rewrite everything in Go”, but I had higher hopes for Rust.
Five years of Rust
Well, it took them five years to get to 1.0, so I guess ten years in all? :-)
I tried Rust for the first time a while back (I am mainly working in C++), and it's not bad at all. Solid ownership semantics, documentation written for programmers, a suitably rich standard library, supposedly a good FFI (I didn't try it myself, though). I do have some issues with how things get around error handling and Option vs. Result; it feels a bit unneededly complex. But overall a pretty positive experience.
But it's a pity that it, like almost all newer languages, really wants to own your package manager; they even go as far as making cargo a build system. (Yes, it's optional, but they recommend it even for the toy project in the Rust book, so it's pretty clear where they want you to go.) This is only fine if all your code is in a single language! The Go people solve that saying “oh, just rewrite everything in Go”, but I had higher hopes for Rust.
Five years of Rust
Even earlier, Graydon Hoare started to work on Rust in 2006 :-)
Five years of Rust
Even earlier, Graydon Hoare started to work on Rust in 2006 :-)
Five years of Rust
There is cgo which makes binding C code to go and C to to go quite trivial as long as you only share data allocated on the ”C side” and don’t store references to go memory in C. Unfortunately it doesn’t play very well with valgrind as even hello world programs produce lots of warnings. Maybe there is a good supressions-config for go? If there is know please let me know!