Главная
Study mode:
on
1
Intro
2
What is FFI?
3
What problems does FFI solve?
4
Limitation of FFI
5
Talk is cheap, show me the code!
6
PHP vs C - function definition
7
Header files
8
Preprocessor - it can be extremely powerful!
9
DuckDB - introduction
10
DuckDB - bindings
11
DuckDB - example
12
Extension development - prerequisites
13
Extension development - generate skeleton
14
Extension development compilation
15
Define API a little surprise
16
Heart of extension - zend_module_entry
17
Macro expansion
18
Performance - numbers
19
Comparison - common
20
Which one is better?
Description:
Explore the Fibers extension in PHP 8.1 through this 41-minute conference talk from the International PHP Conference. Discover how this core feature aims to solve concurrent execution challenges and compare it to async frameworks like Swoole and ReactPHP. Delve into the concept of green threads, examining their advantages and disadvantages. Learn about FFI (Foreign Function Interface), its problem-solving capabilities, and limitations. Gain practical insights through code examples comparing PHP and C function definitions, and understand the power of preprocessors. Investigate DuckDB, including its introduction, bindings, and usage examples. Dive into extension development, covering prerequisites, skeleton generation, and compilation processes. Analyze performance metrics and compare different approaches to determine the most effective implementation for your projects.

New Feature - What the Fibers Extension Can Do for You

International PHP Conference
Add to list
0:00 / 0:00