logoalt Hacker News

Canonical Backs New Project to Translate Large C Codebases into Safe Rust

32 pointsby datakantoday at 1:12 PM33 commentsview on HN

Comments

kayo_20211030today at 2:10 PM

I have no particular religious preference for a language. One uses what one feels is appropriate.

But, let's say this effort is a complete success. What's next?

Can all the maintainers of the c codebase move over to maintaining (forward) the Rust codebase. Surely there'll be some friction, and losses to friction.

What about deployments, monitoring, support and trouble-shooting? Are the teams that perform those functions now capable of performing those functions in the future? It seems to me that the here-to-there for functional, evolving and reliable systems in the real world has been elided and become simply "a player to be named later".

show 2 replies
qew16ttoday at 2:52 PM

Great stuff. Instead of asking and funding the C developers of the respective projects for a port, they go for license washing and stealing.

dgantoday at 2:47 PM

can it be done? C codebase are obviously missing the lifetime information, type-generic arguments are just void*, in/out arguments aren't explicit... or at least, the information is scattered across the codebase, and might be inconsistent. a "safe rust" might not be even possible

djoldmantoday at 2:20 PM

Not the same as:

https://github.com/uutils/coreutils

Although I could see them benefitting.

jedisct1today at 1:43 PM

Have you heard about fil-c?

show 2 replies
black_13today at 1:55 PM

[dead]

1892379today at 2:09 PM

Why would Canonical even be an expert in this? They mostly have sysadmin types of employees.

The (elusive) end goal is of course to steal all C code bases, fully automate Debian with LLMs, fire all useful idiots who vote in Canonical's interest in Debian resolutions and control the Debian derivative market.

show 5 replies