3 ms·
Is that benefit worth the potential for inaccurate translation? Or is it possible to be 100% certain that the Rust functions identically to the C?
by smt88 8y ago
Is that benefit worth the potential for inaccurate translation? Or is it possible to be 100% certain that the Rust functions identically to the C?
- staticassertion 8y agoWell if you translate it to safe rust at least the worst that could happen is a design flaw. And you can write oracle tests to catch those.
- smt88 8y ago> the worst that could happen is a design flaw That's still pretty bad, especially for low-level legacy libraries that aren't supposed to break userspace under any circumstances.
- staticassertion 8y agoHence the need for oracle tests.