Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

target web assembly for hyperscan build #364

Open
mewalig opened this issue Aug 30, 2022 · 1 comment
Open

target web assembly for hyperscan build #364

mewalig opened this issue Aug 30, 2022 · 1 comment

Comments

@mewalig
Copy link

mewalig commented Aug 30, 2022

I'm interested in building hyperscan for web assembly (probably with emscripten). My primary goal is to enable a single code base that uses hyperscan to be compiled for either native or in-browser execution, understanding that many performance optimizations may be unavailable in wasm. With that in mind, a couple questions come to mind:

a. other than the expected grunt work involves such as navigating compiler option differences and/or replacing certain SIMD operations such as mm_crc32_u8 with plain C code, are there any major obstacles or show stoppers that I should be considering first?

b. has anyone already tried this? Searching on github and google suggests no, at least as of this writing, but maybe I'm missing something

Any thoughts / suggestions would be much appreciated. And of course, if anyone is interested to join me in this endeavor, please let me know

@pixelgeek
Copy link

You might want to take a look at #367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants