User 2098 | 8/17/2015, 8:09:36 AM
I am not sure if this question should be asked in the forum, but I am so curious to know the answer.
Thanks to the effort of Dato Team, we can now write the extension and expose the extension to Python soooooo easily.
I was so surprised that the tool can be made in such an easy way, and very curious how this was implemented.
After some exploration, I get some pieces of information:
BEGINFUNCTIONREGISTRATION REGISTERFUNCTION(addintegers, "a", "b"); // provide named parameters ENDFUNCTIONREGISTRATION
These Macros in essence is to create a function named gettoolkitfunction_registration() and it returns a vector of function specifications. This function is to be called at runtim by GraphLab. But how does GraphLab Create let python know that there is a new function ?
Please forgive my poor english, I am looking forward to hearing from your advice, just a direct link to the related code would be much appreciated.
Thanks in advance.