Hacker News new | ask | show | jobs
by gaze 3817 days ago
Why would you ever do that? You'd end up a bunch of unreadable rust code wrapped in a gigantic unsafe {} block.
1 comments

The LSTM would be trained against an existing high quality Rust code base and it's IR; so I wouldn't expect a bunch of unsafe literal translations.

Whether the C side IR has enough debug metadata or could be annotated automatically would be the make or break.