The Most Addictive Python and SQL Courses
Learn EDR Internals: Research & Development From The Masters
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains how TruffleRuby uses Truffle Regex and finite-state machines to JIT-compile Ruby regular expressions to machine code. It examines supported regexp features, performance benchmarks, and regular expression denial of service.
Syllabus
Introduction
TruffleRuby
Background on regex engines
Finite State Machines
Regular Expressions
TRegex
Infinite Quantifiers
Capture Groups
Supported Features
Unsupported Features
The Loop
The State Machine
Performance
Micro benchmarks
Large benchmarks
Regular expression denial of service
Atomic groups
Conclusion
Outro
Taught by
Ruby Central