Prism
Ruby
3.3.0から
Default gems
としてshipされた
parser
https://kddnewton.com/2024/01/23/prism.html
Ruby parser rewite
にあるような
CRuby
パーサの課題解決を図っている
採用例
https://metaredux.com/posts/2024/02/19/need-for-speed-using-rubocop-with-prism.html
Rubocop
が使用する
parser
engineとしてPrismを使えるようにしていく試みがある
利用者が受ける主な恩恵としては
高速化
single laptop上では
YJIT
有効化時に5.62倍高速というベンチマークもある