成员
Ren
参与的讨论
Truncating by bytes like the old C++, and Rust panics
Porting a chunk of old C++ to Rust that cuts a std::string down to a byte limit with a plain s.substr(0, n), and I figured it…
Most of my macros turned into const and static
Nim makes macros easy to write. That's the problem. Before reaching for macro, check the cheaper tools. A const is evaluated…