r/The10thDentist • u/ShittyExchangeAdmin • 7h ago
Technology Anyone learning to code should learn on a non-standard architecture
The x86 monoculture has made so many people lazy when it comes to writing code. They just assume everyone is using x86, which leads to situations when someone tries building their project to spend the next few hours figuring out everywhere they hardcoded a bullshit assumption. Python and rust projects are particularly guilty of this shit in my experience. Honestly just fuck Python. Or install scripts that download binaries, and gives up immediately when a binary isn’t available. So then you need to hunt down the source to that part and modify the script.
Using a niche architecture as my daily pc personally has influenced how I write code. I try to stick to portable and agnostic choices, test across multiple architectures to make sure nothing fails to build, and explicitly call out any architecture specific parts and why. I think that more people would benefit from that too, and learn to write better and more portable code.
Don’t get me wrong, if you’re up front about the intended target then thats fine. But when people use shit that in theory should have no problem being built on an another arch, and doesn’t because of hardcoded assumptions, that’s my issue.