4 ms·
I think you are probably right. I will do a follow-up post addressing the performance claims in this talk. I think I owe it to the community.
by AndyKelley 8y ago
I think you are probably right. I will do a follow-up post addressing the performance claims in this talk. I think I owe it to the community.
- loeg 8y agoMuch appreciated. Given Zig's design and use of LLVM, for code translated "line by line" (same algorithm) I don't see any reason for Zig's performance not to be substantially identical to C (compiled with Clang). It wouldn't surprise me if there are reasons Zig can do better or makes it easier to use better algorithms, etc, but you wouldn't expect that to show up in something as computationally straightforward as a cryptographic primitive. By the way, as a C practitioner, I'm a fan of what you're doing with Zig; keep it up! C++, Go, and Rust don't appeal to me for all of the reasons mentioned in your talk.