Re:Show HN: How to program in Rust as if it was old school C...
by doodlesdev on Wednesday December 21, 2022 @12:42AM
(#34077100)
If you enable optimizations it gets reduced to 200 lines. C++ -O1 reduces it to 30 lines of ASM. Both are awful, just do normal Rust or use something else entirely.
I also believe they would be much closer if the C++ example used shared pointer.
I also believe they would be much closer if the C++ example used shared pointer.