News for hackers. Stuff that matters.
Re:C for Python programmers (2011) by adrianN on Tuesday November 08, 2016 @04:46AM (#12898911)
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.
Re:C for Python programmers (2011) by posterboy on Tuesday November 08, 2016 @11:53AM (#12901786)
That 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.