Hacker News new | ask | show | jobs
by makapuf 3136 days ago
Another possibility for this kind of examples that I used and has the minimum boiler pate is to just generate a .so file with your native function in C and call it from ctypes. Basically almost no boilerplate at all.
1 comments

> with your native function in C

Works well this way with Rust too.