4 ms·
Hi Austin! Was just checking your blog and the vowels detection post (< https://austinhenley.com/blog/vowels.html https://austinhenley.com/blog/vowels.html>).
by ashvardanian 1y ago
Hi Austin! Was just checking your blog and the vowels detection post (< https://austinhenley.com/blog/vowels.html https://austinhenley.com/blog/vowels.html>).
What exactly do you mean by “use SIMD directly without calling out to another language”?
In some way Assembly will probably anyways be another language… but that’s a technicality.
I guess the spectrum of SIMD-related work in relation to Python is quite broad. There are projects like PeachPy, to help one write x86 Asm in Python, new Python’esque languages like Mojo, or SIMD libraries with thin CPython bindings. Do you mean one of those?
PS: I’m in the last camp. And in case you are focused on ASCII, for vowel search, have you tried StringZilla’s `find_first_of` (< https://github.com/ashvardanian/StringZilla/blob/960967d78c7facf6de2de9d5eecc0ac7f5ce19b8/scripts/bench_search.py#L78 https://github.com/ashvardanian/StringZilla/blob/960967d78c7...>)? I think it should perform well ;)