2 ms·
For very small platforms, where it's a struggle to have a C compiler because a "long int" of 32 bits is already a huge challenge to implement, let alone "long l
by tialaramex 2y ago
For very small platforms, where it's a struggle to have a C compiler because a "long int" of 32 bits is already a huge challenge to implement, let alone "long long int" - stop using high level languages. Figure out the few dozen machine code instructions you want for your program, write them down, review, translate to binary, done.
For the bigger systems where that's not appropriate, you'll value a more expressive language. I recommend Rust particularly, even though Rust isn't available everywhere there's an excellent chance it covers every platform you actually care about.
- oguz-ismail 2y ago[flagged]
- saagarjha 2y agoPeople wrote and continue to write C for 16-bit platforms just fine
- tialaramex 2y ago16-bit is huge. Rust will fit fine on a 16-bit platform. We're not talking about these big modern systems.
- IshKebab 2y agoRust doesn't support 16-bit architectures. It theoretically could but 16-bit architectures are completely obsolete and almost unused, so there's no real need.