Re:Performance Showdown: Rust vs Javascript (2020)
by BenFrantzDale on Friday February 12, 2021 @07:50PM
(#26120428)
People keep saying C is fast. It’s not. You can’t write a reusable fast sort in C. C++’s std::sort will trounce qsort any day of the week because qsort uses function pointers that can’t be inlined. Without inlined generic algorithms, how can people claim C is performant?
Memory allocation is expensive. C++ pmr allocators provide powerful tools to manage memory.
Memory allocation is expensive. C++ pmr allocators provide powerful tools to manage memory.