Future for the JOni regex library

Charles Oliver Nutter headius at headius.com
Wed May 1 13:10:51 PDT 2013


Hello!

I saw a few weeks back that you guys have adopted JRuby's regex
engine, JOni, modified to work only with Java's char[]. We're thrilled
that you've found our engine useful enough to incorporate!

However, I'm wondering about the future of these engines. We have
planned improvements, patches that come in from time to time, and so
on, and maintaining two separate copies will eventually lead to them
diverging. But without any way to specialize our byte[]-based JOni for
char[] easily, I'm not sure what can be done.

Any thoughts on this? Just to tempt you... a few of the planned improvements:

* JVM bytecode compiler, for more fastness
* Thread interruptible execution, to kill off regex runs that don't complete

It would be great if we could collaborate on such things.

- Charlie


More information about the nashorn-dev mailing list