← Back to context

Comment by otabdeveloper4

6 months ago

All code is perf-sensitive. Not all code is important enough to be written as we'd like it to be.

Then why use C? Take a look at actually perf-sensitive hot loops, and they are predominantly some inline assembly with a bunch of SIMD hacks, which can be 1000x times faster than C...

  • Unfortunately inline assembly isn't portable even to different revisions of one CPU architecture, much less different ones.