Open tiancaiamao opened 1 day ago
A blog https://bun.sh/blog/compile-and-run-c-in-js recently TCC is compiles extremely fast, and the libtcc API seems friendly for dynamic code generation. Maybe cora can use it?
Pros:
Cons:
Cons: debug become much more difficult
Cons: can't make tail cail easier as long as targeting C... maybe target QBE IR get more advantages?
A blog https://bun.sh/blog/compile-and-run-c-in-js recently TCC is compiles extremely fast, and the libtcc API seems friendly for dynamic code generation. Maybe cora can use it?
Pros:
Cons: