|
|
|
|
|
by londons_explore
1419 days ago
|
|
But only if you have a lot of message formats... Generally, message specifications are written by hand, so even a big project may only have a couple of hundred. Doesn't sound so bad. Also, presumably, if code size really is a big concern, you can decode this in more code efficient ways too, as long as you are less concerned with performance. |
|
Windows COM switched from codegen to table-driven "stubless" marshaling decades ago at no noticeable cost to performance and with a huge code size win.