Making GHC faster at emitting code (2022)
tweag.io
tweag.io
I'm surprised I couldn't find a library that stores opcodes for each architecture.
I have tried to decipher the Intel x86 manuals but I ended up relying on GCC to see what assembly is produced.
I'd love to see this as an actual feature request. As the article says C++ and Rust both already do this as part of the language definition, and I can see this is just a straightforward change to make abstractions more "zero-cost" so to speak (not including compile time costs).
Using the same abstraction for both seems a bit silly at first, but it helped the codebase stay more consistent and was already pretty well-optimized. The changes in the article optimized it further by splitting out some of the more expensive functionality while keeping the same general engineering advantages.
Articles and headlines with TLAs without initial definitions are AAF.
If you’re attempting to share something with an audience not steeped in your jargon, it’s usually better practice to lead with the full then shorten later.
However, don't we have to accept sometimes that the title does not tell the full story, it's just half a sentence after all, it's not even a summary, it's the heading?
:)