r/cpp • u/Top_Marionberry_4413 • 10d ago
[ Removed by moderator ]
/r/cpp/comments/1xvnf3n/removed_by_moderator/[removed] — view removed post
1
u/RaspberryCrafty3012 10d ago
What a nice header.
Like with every benchmark, sometimes this and sometimes that programming language is faster.
The json reading and writing tests are in my opinion nothing burger, because the implementation has massive implications.
-10
10d ago
[removed] — view removed comment
6
u/RaspberryCrafty3012 10d ago
You Navid Momtahen personally or why so offended?
The json tests are massive outliers and you use them to summarise all benchmarks and then come up with: spectre is 19 times more effective than Zig.
Does the vectorization help in every case or might it hurt speed in others?I mean there is no native json lib in c++. I don't know about Zig or Rust. But I bet that if I use different implementations that the results will differ by a lot. Did you try the c++ simdjson lib? Did you write the implementions of json yourself? So many questions (and all of them stupid I assume)
2
u/James20k P2005R0 9d ago edited 9d ago
Be nice or you'll get the bop 🗞
Edit:
Oh boy, you're definitely getting a ban
•
u/cpp-ModTeam 10d ago
Submissions about other languages (e.g. Carbon, Rust, Val, etc.) are off-topic unless there is substantial content directed at C++ programmers writing C++. That is, either posts about interop from the C++ side, or posts about interesting ideas from another language that can be applied to C++.