Hacker News new | past | comments | ask | show | jobs | submit login

Does Rust support 16-bit architectures? I think I read recently that D doesn't on purpose.

But of course C and C++ do.

Found this comment, which makes it seem like support is intended but maybe not ready to use:

https://news.ycombinator.com/item?id=15270502

not sure if related:

https://github.com/rust-osdev/bootloader/issues/24




There’s been ongoing work to support AVR, which as I understand is a 16 (or was it 8?) bit architecture. It hasn’t landed in tree yet due to codegen bugs in LLVM, last I checked.


It's basically a 16 bit arch. 8 bit registers, but they can be paired pretty easily and uniformly across the ISA

MSP430 is probably the best supported 16 bit arch for Rust.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: