Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are quite a few Harvard architecture microcontrollers and DSPs for which this is not true. (At least for some values of "want to use" ;-).


I've never written code for these architectures, but my assumption was that a modern GCC will happily bodge this for you in software, so its probably only super ancient/exotic stuff for which the lack of ability to cast applies


Yeah, the compiler will probably force it to work.

On the other hand, some of the the popular PIC microcontrollers have an instruction pointer that is wider than the data registers. Good luck doing functional programming on that!




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

Search: