I honestly don't understand why linkers are still slow outside of backwards compatibility boomer bullshit reasons because how hard can it be? Isn't the ideal linker basically just cat with some offset fix ups?
I don't fucking get it. It's insane how a linker step can kill all parallelism in your codebase's build system, give you static init ordering nasal demons and a desire to kill oneself. Runtime linking is also fucking dumb, but it's also why win32 and M$s obsession with stable ABIs still work in Windows 11. Fuck computers and fuck jannies.
>>106115748 >It's insane how a linker step can kill all parallelism
it's a myth https://github.com/rui314/mold
and there have been some other parallel linkers after that
>This generally approved most widespread concept in the world, that is still the most used for all new and current developed software is SHIT! Why? I WONT TELL YOU! IT IS SHIT! I AM SO FUCKING ANGRY RIGHT NOW!!!! THE ALTERNATIVE? I WONT TELL YOU! THE ONLY THING THAT IS IMPORTANT IS THAT II AMMMM ANNNNGRYY SOOOOOOO ANGRYYYY WAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
Back in the day, trolls tried to make people angry.
Nowadays, people get angry randomly all by themselves and make threads seething, whining and crying about the most unimportant minor things.
>>106115972 >>106116015
give exactly one (1) reason why it's necessary for linkers to not underflow 64 bit functions to 32 bit on systems without AVX2. it's obsolete technology.
>>106115566 (OP)
Not sure I would go that far but it's pretty clear the original design of linkers doesn't fit how they're used today. Many modern languages avoid the linker almost entirely during build themselves and only really rely on the linker for integrating with libc.
>>106115566 (OP)
Go solved this, and compilation times weren't affected. in fact, compiling Go programs is fast.
I don't get why they couldn't come up with a similar solution in the 70s.
>>106117967 >I don't get why they couldn't come up with a similar solution in the 70s.
You fail to appreciate just how little compute power, memory, and disk there really was back then.
But that's because you're a weenie.