3 ms·
Faster than C++ is always a head-turner. Curious what "magic" enables that with memory safety.
by finn888 9d ago
Faster than C++ is always a head-turner. Curious what "magic" enables that with memory safety.
- wmf 9d agoUsually strict aliasing.
- Ohentis 9d agoIf it's just strict aliasing then you can't be as fast as C++ in all cases. So you have to either provide an escape hatch like Rust (making the memory safety claim only mostly true), or accept worse performance in some cases (making the performance claim only mostly true).