4 ms·
> ...Want to open a network socket? Same... From your compiler's perspective you shouldn't be messing around with all that, you should have an abstraction that
by 13of40 4y ago
> ...Want to open a network socket? Same...
From your compiler's perspective you shouldn't be messing around with all that, you should have an abstraction that lets you say "Pass a by value, b by reference, and c as an out parameter using calling convention X". As long as malloc and opensocket or whatever use the same calling convention, all of the actual byte layout is a one time effort.
- moron4hire 4y agoexercise for the reader