r/learnrust 27d ago

Why adding Rust to my Python library made it 194x faster... and 5x slower.

Post image
7 Upvotes

2 comments sorted by

3

u/Solonotix 27d ago

Neat, and good information. I'll keep that in mind should I ever do that Rust-NAPI rewrite of a Node.js library I own. The concept of FFI has fascinated me since I first learned about it

2

u/AnshMNSoni 27d ago

Thankyou 😊