Future for the JOni regex library
Jim Laskey (Oracle)
james.laskey at oracle.com
Wed May 1 13:35:35 PDT 2013
I'll let "Dr. RegExp" Hannes Wallnöfer respond in full when he gets back (holidays in Europe and JavaOne in India), but we are interested in co-operating and work towards pushing back an improved RegExp into the JDK. Hannes has already implemented 98% of byte code generation in Nashorn. Just down to to the last few corner cases.
Cheers,
- Jim
On 2013-05-01, at 5:10 PM, Charles Oliver Nutter <headius at headius.com> wrote:
> 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