Oh yeah, I remember that, I think the author has popped up on here actually…
There is also this too, it’s a serde interface for converting to/from ETF’s in rustler if you don’t want to use the normal rustler interface, I think it had a tiny bit of overhead compared to using them raw but I bet that can be fixed:
And don’t forget about the hex library jiffy
, it’s a C NIF that binds to some json library to do things there too, it would be a good comparison as well. Since zig can compile C as well I’ve no doubt it could go faster.
Don’t forget to use dirty NIF’s for json processing though!!!