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

I wrote the first random semantic that came in mind, in the pseudocode in C above. The fact you believe it is not the right one is a proof that in C I can express the exact semantic, and in Python I can't (because everything is hidden inside how the Python interpreter can or can not implement a given thing).

So, modify my C code to match what you have in mind, if you wish. But the point is that low level code will specify in a much clearer way what's going on with memory, and in a piece of code that is about memory layout / access, that's a good idea. Otherwise I consider Python a good language for pseudocode. Just: not in this case.

Have a nice day, I'll stop replying since would be useless to continue. P.S. I didn't downvote you.






If only there were a better syntax for abstractions over machine code. :)



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

Search: