Y
Hacker News
new
|
ask
|
show
|
jobs
by
forty
2563 days ago
Everyone seems to act like the only option is to rewrite everything or nothing. Isn't possible to have rust and C talk to each other, and progressively rewrite the most relevant parts of the code in rust?
2 comments
erik_seaberg
2563 days ago
You could make a case for sharing a wasm-style byte array with a C subprocess, but Rust objects won't be safe if C can address them.
link
steveklabnik
2563 days ago
Yes, and was part of the core design of the language; that's how it's worked with Firefox.
link