logoalt Hacker News

procaryoteyesterday at 7:43 AM3 repliesview on HN

The other direction might be more interesting, in case rust drops in popularity in a couple of years, leaving behind a bunch of "let's rewrite in rust" efforts


Replies

speedgooseyesterday at 8:12 AM

I am not convinced that anyone would take a working rust project and rewrite it in C. I don’t see any good reason to do so.

When rust will lose popularity, it is going to happen eventually, I would bet it’s in favour of a newer and more promising programming language. Not C.

show 3 replies
rererereferredyesterday at 8:45 AM

That would also help use Rust in platforms that only have a C compiler.

show 1 reply
indigoabstractyesterday at 10:58 AM

That could be interesting. If some new language or tool appears that automatically figures out the correct lifetime and ownership of the resources in your program, people (might be the same people) will call for rewrites from Rust into the new language, as you would no longer have to assign memory ownership manually.