News for hackers. Stuff that matters.
Re:Go 1.1beta1 now on the benchmarks game by danieldk on Wednesday April 17, 2013 @01:07PM (#5565605)
But Go's intended niche appears to be for user-facing server-side programs, and in that environment if you ever run a naive exponential-time regex against user-supplied input you're setting yourself up for a potential DOS attack.

Yes, but for larger recognizers, one would probably use something like Ragel anyway. A DSL that provides intersection, union, difference, concatenation, composition, etc. makes it far easier to construct elaborate automata from smaller expression than the 'compile a big regex string' approach.

There are no comments on this comment yet.