4 ms·
I did something similar in Ruby but using GCC as a "JIT" compiler for image processing (software [1], thesis [2]). I can really recommend JIT compilation for do
by wedesoft 12y ago
I did something similar in Ruby but using GCC as a "JIT" compiler for image processing (software [1], thesis [2]). I can really recommend JIT compilation for doing array processing.
[1] http://www.wedesoft.de/hornetseye-api/ http://www.wedesoft.de/hornetseye-api/
[2] http://www.wedesoft.de/downloads/thesis_wedekind.pdf http://www.wedesoft.de/downloads/thesis_wedekind.pdf
EDIT: In my approach I didn't go through the Ruby AST though. Rather I used the approach of injecting "GCCVariables" which emit C code instead of doing the actual computation.
- chrisseaton 12y agoYou should submit your thesis to the Ruby Bibliography http://rubybib.org http://rubybib.org
- wedesoft 12y agoOk, will do. Cheers :)