4 ms·
I'm aware. To a large extent both regex-redux and pidigits are measures of the overhead of FFI for all non-C/C++/Rust languages. Rust is very cool in that one f
by mindB 6y ago
I'm aware. To a large extent both regex-redux and pidigits are measures of the overhead of FFI for all non-C/C++/Rust languages. Rust is very cool in that one for actually using a regex engine implemented in Rust; definitely has my admiration.
- burntsushi 6y agoAs the author of Rust's regex engine, thanks. :-) But yeah, just wanted to make sure people are actually looking at the code. The top submission for Python, for example, is not how I've ever seen anyone use regexes in Python. That's an important dimension to evaluate in these discussions! (But not the only one, of course.) > Rust is very cool in that one for actually using a regex engine implemented in Rust One wonders how long it will be until someone submits a Rust program that uses PCRE2.
- igouy 6y ago> … actually looking at the code. Yeah, like "Always look at the source code." > … not how I've ever seen anyone use regexes in Python. More like this…? https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/regexredux-python3-1.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- burntsushi 6y ago> More like this…? Yes. Not sure what your point is though. The GP wasn't talking about that submission. ;-)
- igouy 6y ago…seek, and ye shall find… :-)
- igouy 6y ago> "measures of the overhead of FFI" Plus measures of the other programs, for all non-C/C++/Rust languages, that don't obviously use FFI.