4 ms·
Motivation: https://bugs.ruby-lang.org/issues/18481 https://bugs.ruby-lang.org/issues/18481 "The motivation behind this is that we are facing challenges in ter
by kibwen 5y ago
Motivation: https://bugs.ruby-lang.org/issues/18481 https://bugs.ruby-lang.org/issues/18481
"The motivation behind this is that we are facing challenges in terms of code maintainability. As you know, JIT compilers can get very complex, and C99 doesn't offer many tools to manage this complexity. There are no classes and methods, limited type checking, and it's hard to fully separate code into modules, for instance."
"We believe that having access to object oriented programming and a more expressive type system would help us manage growing complexity better and also improve the safety/robustness of YJIT. For instance we would like to add Windows support and a new backend to YJIT. That means we’ll have two separate backends (x86, arm64) and we’ll need to support two different calling conventions (Microsoft, SystemV), but currently, we have limited tools to build the abstractions needed, such as preprocessor macros and if-statements."
- czbond 5y agoThank you for posting the motivation - I was curious the "why"... and maintainability now explains it.
- deleted 5y ago[deleted]