fast-C-src
fast-C-src copied to clipboard
Code for code generator ?
Howdy ! Cool beans this project !
I see that comment everywhere /*This is mechanically generated code*/
Is the code that generates the code available too ?? Also if yes where can I find it ?
I'd like to generate some golang code as well :)
Cheerio !
On 27 January 2018 at 17:18, Adrien Delorme [email protected] wrote:
Howdy ! Cool beans this project !
I see that comment everywhere /This is mechanically generated code/ Is the code that generates the code available t
Here you go:
https://github.com/edrosten/fast-er
There's a whole suite of stuff in there. If you want a ready generated tree, they're in this tar file:
https://github.com/edrosten/fast-er/tree/master/fast_trees
There's code in the main directory for converting them to C, C++, MATLAB and Python. Converting to go should just be a question of adding a slightly different set of text substitutions.
-Ed
oo ?? Also if yes where can I find it ?
I'd like to generate some golang code as well :)
Cheerio !
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/edrosten/fast-C-src/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGW6wZEPmiqS8fPQjXLFaDW_HnT71cjks5tO1p_gaJpZM4RvXeu .
Oh, nice thanks. I hacked around this by cross compiling c to go and then I quickly fixed it here : https://github.com/azr/phash/tree/41ea5c413bf6e5c56c4969f8e81debdf9f4d4c58/cornerdetect
It works pretty nicely !
I think It would be better to generate from your project but really want to finish my little Image Matching algorithm first.
Will see if I have time after :) and if I'm not too lazy :P
Edit: I totally get what happens here: https://github.com/edrosten/fast-er/blob/master/fast_tree_to_C_score_bsearch this reduces my laziness factor :D