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

> No instructions for bit-manipulation.

What? Plenty of opcodes for that. SHL, SHR, AND, BOR, XOR are all bitwise operators.

Unless you mean bitset and bitclear macros, but no self respecting embedded programmer uses those. I've disagreed with almost everything else Notch has done, but from a simple pedagogical standpoint, he's doing the right thing by leaving those out.




Why do you disagree? I've only been following this casually and don't now too much about the depths of what's going on.


Yeah, that was I meant, and they certainly don't have to be "macros", they can be full-blown instructions. Considering that even ARM's smaller "Thumb" instruction set has a bunch of them, I doubt that they're never used. Or, of course, they're just used by embedded compilers. :)


No rlwinm




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

Search: