2 ms·
Yes it would be possible to write a C wrapper for my Rust library and link that from Node, however I expect you might lose a lot of performance to data conversi
by trishume 10y ago
Yes it would be possible to write a C wrapper for my Rust library and link that from Node, however I expect you might lose a lot of performance to data conversion.
I have yet to do the regex engine port, I'm doing that later this evening. I'm porting it from Oniguruma to https://github.com/google/fancy-regex https://github.com/google/fancy-regex which accelerates common types of regexes using the awesome Rust regex crate which is super fast.
- dgfgfdagasdfgfa 10y agoDoesn't rust export the C abi? Or does the "c wrapper" just involve converting c types to rust domain types>