• 34 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle


































  • I have always understood that C generally compiles almost directly to assembly with little to no abstraction overhead, and it would not require platform-specific ASM code.

    You have always understood incorrectly then. I’d recommend a trip over to Godbolt and take a look at the assembler output from C code. Play around with compiler options and see the (often MASSIVE!) changes. That alone should tell you that it doesn’t compile “almost directly to assembly”.

    But then note something different. Count the different instructions used by the C compiler. Then look at the number of instructions available in an average CISC processor. Huge swaths of the instruction set, especially the more esoteric, but performance-oriented instructions for very specific use cases, are typically not touched by the compiler.

    In the very, very, very ancient days of C the C compiler compiled almost directly to assembly. Specifically PDP-11 assembly. And any processor that was similar to the PDP-11 had similar mappings available. This hasn’t been the case, however, likely longer than you’ve been alive.


  • Ooh. Nice topic!

    Uh… Def Leppard. I was a huge fan of them up to and including Pyromania, then … I stopped. I know glam metal doesn’t get a lot of respect, but it was my gateway drug into the heavier stuff and Def Leppard was … a lot of my youthful turn into a metalhead.

    Saxon. They were my stepping stone from glam metal into the harder stuff, together with old Black Sabbath. Unlike Black Sabbath, however, which has remained on my playlist almost constantly—rarely does a week go by without me dropping a Sabbath album into the headset—I hardly ever listen to Saxon any longer.

    For something a bit more modern, Gloryhammer. Absolutely hilariously fun power metal cheese that I enjoyed like crazy … and then stopped after the shenanigans with their lead singer. I followed the lead singer as Angus McSix later, but simply stopped listening to Gloryhammer because the whole situation left a bad taste in my mouth.