Hacker News new | ask | show | jobs
by nasretdinov 529 days ago
Honestly either should be more than possible to do, although not sure how beneficial. It would certainly be very funny if Zig compiler would be implemented in Rust and, simultaneously, Rust compiler would be written in Zig
1 comments

zig compiler does lots of things for speed that would push it well into unsafe rust, or unchecked rust (like using u32 index tags in arrays instead of pointers)
Even better! It would be a great opportunity for the author(s) to rewrite it in idiomatic Rust!
Or idiomatic COBOL!
trades speed for safety. i like it!