this post was submitted on 04 Aug 2024
50 points (96.3% liked)

Tech

417 readers
1 users here now

A community for high quality news and discussion around technological advancements and changes

Things that fit:

Things that don't fit

Community Wiki

founded 7 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] pelya@lemmy.world 4 points 1 month ago (1 children)

I guess it will translate the majority of the code which does not contain unsafe parts, and leave the pointer manipulation for manual rewrite.

[–] FlorianSimon@sh.itjust.works 2 points 1 month ago (1 children)

Or maybe it'll write the unsafe parts in unsafe blocks?

[–] pelya@lemmy.world 2 points 1 month ago (1 children)

Then there's no point. Converting the code to Rust as-is will also transfer all the bugs.

[–] FlorianSimon@sh.itjust.works 4 points 1 month ago

There is. It's a starting point to start converting the code to safe Rust. Some obstacles are removed.