2 ms·
Remember, it isn't only the architecture. It is also the calling conventions and object/shared library/executable file format. All things that require work if
by jjnoakes 10y ago
Remember, it isn't only the architecture. It is also the calling conventions and object/shared library/executable file format.
All things that require work if I cross compile, but all things I get for free if I generate C or C++.
I would prefer readable C or C++ as much as possible because it gives me debugability if the code generator goes wrong and it gives me an out if I want to move away from the language some day.
- loup-vaillant 10y agoWell, there aren't many solution out of this hole. If you need another language, you might have to write (and control) the compiler yourself. As in, if the code generator (or anything else) goes wrong, you can correct it. <sarcasm> Now this might require a little bit more work. </sarcasm>
- jjnoakes 10y agoThe solution I mentioned in my original post gets me out if this issue, as does the one in the article that this hn post is all about.