3 ms·
Faster than C++ is always a head-turner. Curious what "magic" enables that with memory safety.
by finn888 2mo ago
Faster than C++ is always a head-turner. Curious what "magic" enables that with memory safety.
- wmf 2mo agoUsually strict aliasing.
- Ohentis 2mo 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).