Hacker News new | ask | show | jobs
by Dylan16807 165 days ago
It was caused by the code around it, but the actual CPU cycles stalled out in the assembly language, making it much harder to find the problem.

Is how I understood the post.

Anyway there's noting wrong with rust FFI. The overhead was because this function wanted to support two options and didn't implement that in the best way.