by jkhdigital · 1w ago · 0 comments
By this I mean: currently, transforming a program written in a typical high-level language to optimized ISA code involves what can only be described as black magic inside the compiler. If you don’t know the implementation details of modern superscalar OOO branch-predicting microarchitectures then you may have no clue why two very similar-looking functions could have dramatically different running times. Cue Matt Godbolt tech talk…
What I see as the more promising side of this type of development is a tighter coherence, and thus more transparency in expected runtime performance, between the software above the ISA and the hardware below it. Essentially we now have a linear machine with a linear source language, and with the popularity of Rust nowadays we actually have a critical mass of developers who are already used to applying ownership discipline in program design.