native sim feature complete: simple conversion java -> c++