Skip to content

Deprecate JIT now #22777

Description

@jobs-git

Description

With lots of issues of JIT, it appears its not being maintained properly, and thus, request to deprecate it. The promise of JIT seems to not been realized and seem to bring in more problem than solutions - just check the Issues section.

With deprecating JIT this will:

  • save unnecessary dev time allocated to JIT
  • others

PHP Version

8.x

Operating System

All

Relevant Information

https://externals.io/message/129223

Summary

JIT has its advantage in mathematical calculations, but it seems PHP dev is not interested on that and even turned down Operator Overload which is very important in simplifying PHP's math applications.

Given that, if its mission critical, its NOT worth the hassle for bugs and potential uncertainty introduced by using JIT for a mediocre performance gain.

If you are pressed for performance, better use FFI and import your compute intensive C/C++/Rust functions/libraries than relying on the buggy and unpredictable JIT. With JIT, you risk the bug for your whole PHP applications, with FFI, its more isolated and its easier for you to step in and fix it, you can probably build a wrapper of a more advanced calculations libraries that already took thousands of engineering dev time to optimize its performance.

In summary, JIT is not worth it for the headache and effort to both internal dev team and users with just a mediocre performance gain.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions