Turns out AI is pretty handy when you need to port C++ code.
no related pages
Source: It's FOSS