UDF recommendation

How often do you recommend users to write their own UDFs in C++? For example, I am working on a project that forms vectors from vertex attributes and then computes cosine similarity. Would you recommend me do everything in native GSQL? or would you recommend me going the UDF route?

If the function is complicated and hard to implement in GSQL, it’s good to write it in ExprFunc. Otherwise, GSQL should be good enough. Use your own judgement.