Remix.run Logo
otabdeveloper4 5 days ago

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

zelphirkalt 5 days ago | parent | next [-]

We don't like all code to be written in some C or C++ dialect.

gf000 5 days ago | parent | prev [-]

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...

otabdeveloper4 4 days ago | parent [-]

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