3 ms·
In practice it works quite well, if you restrict the ABI to function calls and word-sized values (long and void). It especially means not to use structs. Instea
by qznc 14y ago
In practice it works quite well, if you restrict the ABI to function calls and word-sized values (long and void). It especially means not to use structs. Instead you need void and getter/setter functions.
- justincormack 14y agoThats very limiting. A lot of applications need arrays (and maybe complex numbers) eg for numerical applications. And it is hard to manage without some sort of int64 type nowadays. And also say you want performance, then using getters and setters sucks compared to direct struct access, as every access needs a non inlineable function call.