3 ms·
"in order to avoid requiring specific compilers/assemblers, I use ~50 bytes of pre-compiled code so that it'll compile anywhere" That is a rather odd conclusio
by restalis 10y ago
"in order to avoid requiring specific compilers/assemblers, I use ~50 bytes of pre-compiled code so that it'll compile anywhere"
That is a rather odd conclusion. The pre-compiled code is supposed to be a worse solution than having assembler bits.
- byuu 10y agoYeah, I take a lot of flack from this from other people. But I'm sorry; I'm not going to write the code in GNU as (and that godawful AT&T syntax) or nasm/yasm (and require another tool to build the library), require a second compiled object for the library, and lose compatibility with Visual C++ and Clang. Also, apologies to HN. I wasn't trying to turn this into a "help me with my problem" discussion. I was just pointing out how adding extra security can have unintended consequences to other applications with an actual example.
- myst 10y agoWhat's wrong with AT&T syntax? Anyway, better than 50-byte binary blob.