3 ms·
> So what is the overall chart giving me that I can use? "If you write in C or an analog, your math will autovectorize nicely" "If you use a runtime with a ma
by ajross 10mo ago
> So what is the overall chart giving me that I can use?
"If you write in C or an analog, your math will autovectorize nicely"
"If you use a runtime with a managed heap, you're likely to take a penalty even on math stuff that doesn't look heap limited"
"rust 1.92 is, surprisingly, well behind clang on autovectorizable code"
I mean, I think that stuff is interesting.
> If you want an arctangent (which is really what it's doing), you use the library function
If you just want to call library functions, you're 100% at the mercy of whatever platform you picked[1]. So sure, don't look at benchmarks, they can only prove you wrong.
[1] Picked without, I'll note, having looked carefully at cross-platform benchmarks before having made the choice! Because you inexplicably don't think they tell you anything useful.