News for hackers. Stuff that matters.
Re:Const vs. constexpr vs. consteval vs. constinit in C++20 by shaklee3 on Tuesday November 29, 2022 @01:07AM (#33784202)
if you're using unsafe then what's the argument to use rust? the comparison should be what you can't do in rust without unsafe.
Re:Const vs. constexpr vs. consteval vs. constinit in C++20 by undefuser on Tuesday November 29, 2022 @07:40AM (#33786842)
Perhaps you can write a small subset of your program in unsafe Rust, like performance critical inner loop, and then the rest of the program in safe Rust.