https://steveklabnik.com/writing/is-rust-faster-than-c/
-
Not sure about Rust but it's easier to write faster code in C++ than in C. For example, doing this sort of platform-specific optimization in C is a nightmare https://github.com/vitaut/zmij/blob/91f07497a3f6e2fb3a9f999a7015a757b897503a/zmij.cc#L314-L327
-
Not sure about Rust but it's easier to write faster code in C++ than in C. For example, doing this sort of platform-specific optimization in C is a nightmare https://github.com/vitaut/zmij/blob/91f07497a3f6e2fb3a9f999a7015a757b897503a/zmij.cc#L314-L327
Not just easier, I think it's impossible to do in C without an external mechanism to generate a lookup table.
-
Not just easier, I think it's impossible to do in C without an external mechanism to generate a lookup table.
There are also a few optimizations like this in {fmt}.
-
There are also a few optimizations like this in {fmt}.
CTRE and format string compilation are other examples.
-
CTRE and format string compilation are other examples.
Sorry for bringing C++ into Rust vs C fight.
-
Sorry for bringing C++ into Rust vs C fight.
@vitaut zmij.zig when?
-
@vitaut zmij.zig when?
-
undefined oblomov@sociale.network shared this topic on