3 ms·
This approach might lead to programmers thinking that they can do things in C because they have a particular mapping to assembly in mind. This might lead to und
by adrianN 10y ago
This approach might lead to programmers thinking that they can do things in C because they have a particular mapping to assembly in mind. This might lead to undefined behavior. Casting pointers around for example is no problem in assembly (there are no types...) but has undefined behavior in many circumstances in C.
- posterboy 10y agoThat doesn't mean that there is no defined behavior to achieve the same thing, though. Platform portability just requires a jump through a few more hoops and then some.