2 ms·
I've used this. If the comparison is with writing an interpreter for whatever you want done, here's how I remember the tradeoffs. Using DynASM itself was smoot
by cronjobber 10y ago
I've used this. If the comparison is with writing an interpreter for whatever you want done, here's how I remember the tradeoffs.
Using DynASM itself was smooth sailing. It is officially undocumented, but like the site says, the code is sufficiently well commented.
Generating simple-minded machine code is easy enough (in my opinion) and the results run decently fast.
I didn't integrate run-time generated functions with exceptions and debugging (host language was C++). These areas seemed very sparsely documented (exceedingly sparsely, IIRC, for 64bit Windows) and looked like they would eat more work than everything else up to that point.