Blog |
Forum |
Repository |
Wizard
Jump to letter: [
APRUXZ
]
zephir - Zephir language for creation of extensions for PHP.
- Website:
- https://getcomposer.org/
- Licence:
- MIT
- Vendor:
- Remi Collet
- Description:
Zephir - Ze(nd Engine) Ph(p) I(nt)r(mediate) - is a high level language
that eases the creation and maintainability of extensions for PHP.
Zephir extensions are exported to C code that can be compiled and
optimized by major C compilers such as gcc/clang/vc++. Functionality
is exposed to the PHP language.
Main features:
* Both dynamic/static typing
* Reduced execution overhead compared with full interpretation
* Restricted procedural programming, promoting OOP
* Memory safety
* Ahead-of-time (AOT) compiler to provide predictable performance
Compiler design goals:
* Multi-pass compilation
* Type speculation/inference
* Allow runtime profile-guided optimizations, pseudo-constant propagation
and indirect/virtual function inlining
Packages