Re:c4x86 - JIT compiler for x86 in 86 lines
by cogburnd02 on Saturday December 13, 2014 @05:31PM
(#8746713)
Is the upshot of this sort-of like 'tcc -run'?
[ Parent
| on HN ]
Re:c4x86 - JIT compiler for x86 in 86 lines
by dmytrish on Saturday December 13, 2014 @05:40PM
(#8746743)
At a quick glance, yes, `tcc -run` seems to output machine code into memory for running it, so yes.
Re:c4x86 - JIT compiler for x86 in 86 lines
by cogburnd02 on Saturday December 13, 2014 @05:56PM
(#8746797)
Cool. Is that all that's required to use it instead of this?
#!/usr/bin/tcc -run
Or does doing that require weird stdin-related Magic?