Hacker GitHub

← All repos

intel/hyperscan

View on GitHub ↗ ★ 5,513 C++

High-performance regular expression matching library

49 mentions on Hacker News by 18 people: 1 story, 48 comments · first 2016-06-11 · latest 2026-02-26

Mentions per year 49 mentions · busiest year 2020 (9)
20082026
  1. …at a fast regex library [1] and take a subset of those tests or benchmarks and apply to match. [1] https://github.com/intel/hyperscan/tree/master That could be a fun comparison. As someone mentioned, regular expressions are extremely fast,…
    comment by sgt · 2026-02-26 · in Regex is dead. We replaced it
  2. …for small sets, are substantially similar to the algorithms used in Hyperscan (truffle and shufti). https://github.com/intel/hyperscan Having something hard coded for spaces can be much faster, especially since 5 of the 6 characters are a…
    comment by ncruces · 2025-08-17 · in Counting Words at SIMD Speed
  3. Maybe even better examples would be < https://github.com/intel/hyperscan >, < https://github.com/simdutf/simdutf >, and my own < https://github.com/ashvardanian/StringZilla > :)
    comment by ashvardanian · 2025-07-05 · in The messy reality of SIMD (vector) functions
  4. …solution. My first recommendation will be to look at HyperScan. It has remarkable throughput: https://github.com/intel/hyperscan I’ve only avoided it in the tutorial, as I want to keep the build system lean. I wouldn’t be surprised if it’s…
    comment by ashvardanian · 2025-04-18 · in Less Slow C++
  5. …but of course given who it's from it may be tied to a single brand of CPU. github seems to be https://github.com/intel/hyperscan
    comment by jepler · 2024-03-07 · in Ask HN: Regex on a File or Stream
  6. …[2] https://github.com/BurntSushi/aho-corasick/discussions/136 [3] https://github.com/intel/hyperscan [4] https://github.com/OISF/suricata [5] https://github.com/VectorCamp/vectorscan
    comment by dalf · 2024-03-04 · in Aho-Corasick Algorithm
  7. …not all WAFs have be structured like ModSecurity. They could for example be based on something like https://github.com/intel/hyperscan and perf is at a very different level.
  8. …in minor point releases. See https://abi-laboratory.pro/index.php?view=changelog&l=glibc&... and https://github.com/intel/hyperscan/issues/359 .
  9. …`git push` request/response cycle. Under the hood it’s using Intel’s hyperscan as the regex engine. https://github.com/intel/hyperscan
  10. …[2]: https://github.com/onekey-sec/unblob/blob/main/unblob/proces... [3]: https://github.com/intel/hyperscan
  11. …using make -j instead of cmake -build to speed it up. Decent number of compiler warnings too. [1] https://github.com/intel/hyperscan
  12. Intel has an implementation of this technique here as well: https://github.com/intel/hyperscan
    comment by wooosh · 2022-09-05 · in High speed Unicode routines using SIMD
  13. It was an Intel project. https://github.com/intel/hyperscan/
    comment by unreal37 · 2021-06-07 · in Sorry everybody, I failed with you
  14. I built (or at least "designed most of, built parts of") Hyperscan: https://github.com/intel/hyperscan - a fast multiple regular expression matcher. It was not originally open sourced; it was a commercial product for some time. I wasn't…
  15. …backtrackers (like modern JIT'd libpcre) may outrace them due to having optimizations. Hyperscan ( https://github.com/intel/hyperscan ) a project I worked on for many years avoids the potential DoS attacks on backtrackers or the ones RE2…
    comment by glangdale · 2021-03-22 · in Regexploit: DoS-Able Regular Expressions
  16. …certainty of your position are why you are a troll. [1] - https://sr.ht/~pierrenn/ripgrep/ [2] - https://github.com/intel/hyperscan
    comment by burntsushi · 2021-02-09 · in Rust Foundation: Hello, World
  17. …And yet... it concocted a good chunk of a PSHUFB based pattern matcher (effectively "shufti" from https://github.com/intel/hyperscan ) that I invented in 2009. If I could push further on this and scale from 4 instructions handled in about…
  18. …) to show the power of SIMD in a non-traditional domain, and a lot of the benefits of Hyperscan ( https://github.com/intel/hyperscan ) were also due to SIMD. Notably, both use SIMD in a range of ways that aren't necessarily all that…
  19. …only on the side that makes their stuff look good. Back when I worked on the Hyperscan project ( https://github.com/intel/hyperscan ), we had an API call that allocated scratch memory (necessary due to Hyperscan's rather constrained…
  20. …often" over lots of input is performance critical. This was a key driver behind writing Hyperscan ( https://github.com/intel/hyperscan ) which I used to work on when it was primarily used for network security (thousands or tens of…
  21. …variations. As somehow who designed an implementation of \b for an NFA-based regex matcher ( https://github.com/intel/hyperscan ) I always have an appreciation for the Scunthorpe problem; we did see quite a number of scam/spam/bad-word…
    comment by glangdale · 2020-05-10 · in Scunthorpe Sans – a self-censoring font
  22. …( http://www.naturalsemi.com/ ). I tracked these guys because we were doing automata in s/w (the https://github.com/intel/hyperscan project at Intel). There were some aspects of their methodology I didn't like (notably, they tended to run…
  23. …reading such a big file are likely to dominate in practice. We implemented some SIMD approaches in https://github.com/intel/hyperscan that would probably work pretty well (effectively a 2-char search followed by a quick confirm) for this…
  24. iirc, Github uses (used?) my old project ( https://github.com/intel/hyperscan ) at Intel. It's probably faster than the alternatives, although if you want to support all types of regex you'll need to use Hyperscan as a prefilter for a…
  25. …backtracking world. We never got around to implementing arbitrary lookarounds in Hyperscan ( https://github.com/intel/hyperscan ) but if we had done something in the automata world to handle lookaround, lookbehinds are way easier than…
    comment by glangdale · 2020-01-31 · in Show HN: Regex Cheatsheet
  26. …The computations data∊nl data∊sp will use vectorised search methods similar to Intel's hyperscan ( https://github.com/intel/hyperscan ). The character lookups here are changed to be lookups from a 256-bit table, or two SSE registers, and…
    comment by mlochbaum · 2019-10-24 · in Beating C with Dyalog APL
  27. …wrote a generalization of the Levenshtein distance algorithm for regular expressions in Hyperscan ( https://github.com/intel/hyperscan ), which allows you to do Levenstein distance matching over regular expressions. It is not necessarily a…
    comment by glangdale · 2019-08-23 · in Levenshtein Distance
  28. But if you want faster, (but more complicated): https://github.com/intel/hyperscan
  29. …- 2006! - we were well aware that it wasn't really a new thing. 12 years of work on Hyperscan ( https://github.com/intel/hyperscan ), 1 acquisition and 1 open source release later - as well as multiple other projects doing similar things…
  30. …in 2006, sold a company to Intel based around in in 2013 and open-sourced the resulting library ( https://github.com/intel/hyperscan ) in 2015. All multi-pattern systems get a huge improvement over one-at-a-time regex. It would be…
  31. https://github.com/intel/hyperscan/ implements this along multiple regex matching and a pcre pattern compatible engine (chimera).
    comment by mgliwka · 2018-09-04 · in Levenshtein Automata (2010)
  32. …Got a decent if not ginormous exit too, which was nice. Also got to IMO change the industry - Hyperscan (github.com/intel/hyperscan) is used in a lot of places. This nice run has come to an end for me and my team and it's made me realize…
  33. …string searching mechanism can outrun memory bandwidth. Or you could go use my old project ( https://github.com/intel/hyperscan ) and then you could look for regexes too. :-)
  34. …advantage of this whether they are given a pure literal case or where regexes have literal factors: https://github.com/intel/hyperscan being a project I've worked on for a little while.
  35. …much the first decade of my 'proper' career working on ideas that went into our regex matcher (now at github.com/intel/hyperscan fwiw). During some of the more intense periods I could barely take a shower or daydream without having to grab…
    comment by glangdale · 2017-10-25 · in I have no side code projects to show you
  36. The same Hyperscan as here? https://github.com/01org/hyperscan Project homepage suggests this is an Intel project.
  37. …some code here that does this, but it's not the easiest to understand (this is the run-time only): https://github.com/01org/hyperscan/blob/master/src/nfa/shuft... The idea is that you represent a character class by intersecting two PSHUFB…
  38. Also see the definition of 'block' in https://github.com/01org/hyperscan/blob/master/src/nfa/shuft...
    comment by glangdale · 2017-05-26 · in Writing a Fast JSON Parser
  39. …ub.com/rust-lang/regex/blob/master/src/simd_acce... if interested or look up the Hyperscan project at https://github.com/01org/hyperscan for a few different versions of this trick.
    comment by glangdale · 2017-05-26 · in Writing a Fast JSON Parser
  40. Full disclosure - I work on the Hyperscan project at Intel github.com/01org/hyperscan Regular expression implementation is fun and many interesting things have been done in this area. We are partial to the work of Gonzalo Navarro (in terms…
    comment by glangdale · 2017-03-21 · in The 1960's elegance behind Go's regexp
  41. …years, did the 'startup' in this area, now acquired by Intel, open sourced the product (ob plug: https://github.com/01org/hyperscan ) and I would never claim that we are anything near 'solving' regex. More like "mitigating" or…
  42. Hi, author of Hyperscan ( https://github.com/01org/hyperscan ) here. I strongly suspect we don't support enough of this: > many of which used zero-width assertions that required non-trivial transformations and pre- and post-processing of…
  43. …in that particular use case (but uses finite automata, so you may miss some things from PCRE): https://github.com/01org/hyperscan )
  44. This is really, really good. We work on regex ourselves (github.com/01org/hyperscan) and I will definitely point people towards this when they are trying to figure regex out. The only regret I have is that many of the interesting regexes…
    comment by glangdale · 2016-11-15 · in Regex 101
  45. Speaking as the leader of the Hyperscan project ( https://github.com/01org/hyperscan ), I'd say you might not be the only project feeling a bit neglected in the performance comparison here. It's nice to be mentioned - and even called out…
    comment by glangdale · 2016-09-28 · in Ripgrep – A new command line search tool
  46. …techniques from our library get used in other projects as one of the points of open sourcing it ( https://github.com/01org/hyperscan ) was to share how we do things with the community.
    comment by glangdale · 2016-09-26 · in Ripgrep – A new command line search tool
  47. …team) have spent a lot of time staring at regular expressions over the years (shameless plug: https://github.com/01org/hyperscan ). I think a better format for regex is long overdue, but this isn't it. It's way too verbose (other…
    comment by glangdale · 2016-08-30 · in SRL – Simple Regex Language
  48. …top. It's quite fast! [1] - https://github.com/rust-lang-nursery/regex/blob/master/src/s... [2] - https://github.com/01org/hyperscan
    comment by burntsushi · 2016-06-11 · in Why Rust for Low-Level Linux Programming?