Intel and Rust: The Future of Systems Programming [video]
1–10 of 21 posts
Re: Intel and Rust: The Future of Systems Programming [video]
#2What's the chance this is also due to less limitations in the hardware, rather than C compiler achieving "parity" ?
Re: Intel and Rust: The Future of Systems Programming [video]
#3Interesting, the video mentions that the BIOS, Firmware, and Bootloaders used to be heavily implemented in assembly, and then nowadays it is mostly C with a sprinkling of assembly. What's the chance this is also due to less limitations in the hardware, rather than C compiler achieving "parity" ?
Re: Intel and Rust: The Future of Systems Programming [video]
#4Interesting, the video mentions that the BIOS, Firmware, and Bootloaders used to be heavily implemented in assembly, and then nowadays it is mostly C with a sprinkling of assembly. What's the chance this is also due to less limitations in the hardware, rather than C compiler achieving "parity" ?
Re: Intel and Rust: The Future of Systems Programming [video]
#5Re: Intel and Rust: The Future of Systems Programming [video]
#6Interesting, the video mentions that the BIOS, Firmware, and Bootloaders used to be heavily implemented in assembly, and then nowadays it is mostly C with a sprinkling of assembly. What's the chance this is also due to less limitations in the hardware, rather than C compiler achieving "parity" ?
If you looked at pre-EFI BIOS, they were exclusively written in very size-optimised and elegantly clever Asm; now it's just the usual bloaty compiler output you can find everywhere else, which makes me a bit sad.
Re: Intel and Rust: The Future of Systems Programming [video]
#7Interesting, the video mentions that the BIOS, Firmware, and Bootloaders used to be heavily implemented in assembly, and then nowadays it is mostly C with a sprinkling of assembly. What's the chance this is also due to less limitations in the hardware, rather than C compiler achieving "parity" ?
Re: Intel and Rust: The Future of Systems Programming [video]
#8Interesting, the video mentions that the BIOS, Firmware, and Bootloaders used to be heavily implemented in assembly, and then nowadays it is mostly C with a sprinkling of assembly. What's the chance this is also due to less limitations in the hardware, rather than C compiler achieving "parity" ?
since C pretty much requires a stack, and a stack requires "RAM" of some form, it used to be necessary that the memory system be trained prior to executing any C code. however once the cache grew large enough, and appropriate "cache as ram" hooks were designed, it became possible to stand up a stack before even the memory system was alive. this definitely reduces the footprint which has to be assembly.
Re: Intel and Rust: The Future of Systems Programming [video]
#9Interesting, the video mentions that the BIOS, Firmware, and Bootloaders used to be heavily implemented in assembly, and then nowadays it is mostly C with a sprinkling of assembly. What's the chance this is also due to less limitations in the hardware, rather than C compiler achieving "parity" ?
Indeed, compilers are still very easy to beat on size optimisation, and the whole (U)EFI monstrosity was largely enabled by higher capacities of BIOS EEPROMs, which were in the 128/256KB range for a long time before multiple-MB ones became available. Now that motherboards with 16 and even 32MB(!) EEPROMs are available --- this is more than the entire RAM of regular PCs throughout the 80s and early 90s --- firmware ha…
> and elegantly clever Asm
I personally miss returning boolean result in C (carry) flag.
Re: Intel and Rust: The Future of Systems Programming [video]
#10Interesting, the video mentions that the BIOS, Firmware, and Bootloaders used to be heavily implemented in assembly, and then nowadays it is mostly C with a sprinkling of assembly. What's the chance this is also due to less limitations in the hardware, rather than C compiler achieving "parity" ?
Indeed, compilers are still very easy to beat on size optimisation, and the whole (U)EFI monstrosity was largely enabled by higher capacities of BIOS EEPROMs, which were in the 128/256KB range for a long time before multiple-MB ones became available. Now that motherboards with 16 and even 32MB(!) EEPROMs are available --- this is more than the entire RAM of regular PCs throughout the 80s and early 90s --- firmware ha…
As a person who cares way more about software reliability than cleverness, I am unreservedly happy about this change.