LeFantome

joined 2 years ago
[–] LeFantome@programming.dev 10 points 11 months ago

That is not how it will happen, if it ever fully converts at all.

Rust will first be added in a way that allows it to run on top of existing C code. That is what we are seeing here with Rust being used to write drivers.

As sub-systems get overhauled and replaced, sometimes Rust will be chosen as the language to do that. In these cases, a sub-system or module will be written in Rust and both C code and Rust code will use it (call into it).

The above is how the Linux kernel may migrate to Rust (or mostly Rust) over time.

As devs get more comfortable, there may be some areas of the kernel that mix C and Rust. This is likely to be less common and is probably the most difficult to maintain.

Nobody wants to rewrite working, solid kernel modules in Rust though. So, it seems very likely that the kernel will remain mostly C for a long, long time. There are no doubt a few areas though where Rust will really shine

No need for a fork or a rewrite.

[–] LeFantome@programming.dev 2 points 11 months ago (1 children)

I moved my comment to below this one…

To be “natural born”, you have to be born either inside the United States or to somebody that was a US citizen at the time.

If you have 11 children and become a US citizen, your children are not automatically citizens as well. They have to apply.

[–] LeFantome@programming.dev 14 points 11 months ago

Elon Musk was not born in Canada. He is South African. A lot else about him should make sense once you realize that.

[–] LeFantome@programming.dev 18 points 11 months ago

Approving is not the same as removing.

[–] LeFantome@programming.dev 117 points 11 months ago* (last edited 11 months ago)

He is totally correct and it is great to see him finally step in to settle this drama. Hopefully it will reduce the level of noise going forward.

[–] LeFantome@programming.dev 39 points 11 months ago (5 children)

I do not know why you say it is easy to break.

The Rust team are maintaining their side. I do not expect it to break. And the C code that the Rust code depends on is used by lots of other code. It should be a stable interface. Changing the C code just to break the Rust code would break a lot of C code too and upset a lot of folks.

And the who point is to create a more idiomatic interface on the Rust side. So, even if the c interface does change, it may only be a small amount of Rust code that needs to change in response.

[–] LeFantome@programming.dev 22 points 11 months ago (1 children)

Two years ago. Absolutely.

Now. You have got to be kidding me.

  1. Canada needs to be moving away from the US, not towards

  2. What does Canada do when the US says it needs to pay for 90% of it to be “fair”?

[–] LeFantome@programming.dev 1 points 11 months ago* (last edited 11 months ago) (1 children)

The US has not really done all that much. That said, as above, others would have to step up.

But the US has mostly been sending old stock and then replenishing their own. All the money they claim to be sending is being spent in the US.

And anything actually new has been very, very slow rolled. Canada made the mistake of piggy-backing purchases on US orders. Air defence systems Canada fully funded (money to the US) in early 2023 are only being delivered now.

[–] LeFantome@programming.dev 2 points 11 months ago (1 children)

The biggest problem is likely to be Trump ditching the sanctions on Russia. Or even becoming a customer of Russian energy.

[–] LeFantome@programming.dev 1 points 11 months ago

As funny as that joke is (and I have certainly laughed at it I the past), I do not believe the US is indispensable in the fight against Russia. Incredibly helpful yes. It will be a big loss. That said…

If the rest of us stay engaged, Ukraine will have what it needs.

I am much more concerned that the US will drop sanctions against Russia. Draining Russia’s bank accounts is critical.

Worse, as countries like Canada move their energy sales away from the US, I can see the US becoming a customer of Russian energy.

Also worried about Germany…

view more: ‹ prev next ›