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










  • Cool story, bro. And for every such cool story you can bring up I can bring you a hundred, probably, of people who got set up on Linux and returned to Windows because it was a horror show from their perspective.

    Let me give you the clue: “The Year of the Linux Desktop” has been declared with monotonous regularity since the 1990s. It still hasn’t arrived. There’s a reason for this, and the quicker Linux (and other F/OSS) advocates grasp why this is, the quicker will the year actually arrive.

    Until then, Linux is a fringe OS for techies. (And there it excels. As I said, I’ve been a non-stop user of it for ages.)



  • A non-technical end-user once had a problem with Windows. A technical friend said “SWITCH TO LINUX”. Now they have thousands of problems.

    I’ve been a non-stop user of Linux as my primary OS since before Ubuntu was a thing. I do not recommend Linux systems to my non-technical friends.