Revolt PHP

32 posts

Revolt PHP banner
Revolt PHP

Revolt PHP

@revoltphp

Revolt is a rock-solid event loop for concurrent PHP applications.

Global 参加日 Mart 2021
7 フォロー中997 フォロワー
Revolt PHP
Revolt PHP@revoltphp·
The new v1.0.5 release is out now and fixes resumption in shutdown functions after an uncaught exception in the event loop happened! github.com/revoltphp/even…
English
0
2
11
1K
Revolt PHP
Revolt PHP@revoltphp·
@amit_merchant Have a look at the linked example, although it's a bit too simple, as it could be written without fibers as well. What do you actually want to demonstrate?
English
0
0
0
48
Amit Merchant
Amit Merchant@amit_merchant·
A lot of people were saying the foo bar example was not enough to understand Fibers in PHP. So, I created a more practical example. Let me know what you think! Read the breakdown here: amitmerchant.com/a-practical-ex… #PHP
Amit Merchant tweet media
English
5
19
110
14.6K
Revolt PHP
Revolt PHP@revoltphp·
We've released v1.0.3 of the event-loop, fixing an edge case created by last week's v1.0.2 with the improved garbage collection. We've also added checks to ensure you're not running an older PHP version affected by serious GC bugs related to fibers.
English
1
1
5
840
Revolt PHP
Revolt PHP@revoltphp·
We've reached 1000 followers already! Let's keep growing the async #phpc by spreading the word! 🥰
Revolt PHP tweet media
English
0
2
10
1.2K
Revolt PHP がリツイート
AMPHP
AMPHP@asyncphp·
🎉 We're excited to announce that v3.0 of AMPHP has been released! 🥳 This marks a major milestone for AMPHP and the #async #PHP community. v3 creates coroutines using Fibers instead of Generators and is based on the @revoltphp event-loop. github.com/amphp/amp/rele…
English
1
9
32
1.8K
Revolt PHP
Revolt PHP@revoltphp·
We're proud to announce our initial stable release! The event loop is ready for production use, has been tested in various different applications and scenarios, and fully supports fibers. github.com/revoltphp/even…
GIF
English
1
15
44
0
Revolt PHP
Revolt PHP@revoltphp·
We've tagged 0.2.5 of revolt/event-loop! We now require PHP 8.1 (ext-fiber will no longer be necessary or supported). We're also fully compatible with PHP 8.2! https://github.com/revoltphp/even…
English
0
4
13
0
Revolt PHP
Revolt PHP@revoltphp·
Today we're shipping some minor improvements: We've added FiberLocal::unset(), a template type to Suspension, and stacktraces to all current suspensions on early exit of the event loop. github.com/revoltphp/even…
English
0
2
5
0
Revolt PHP
Revolt PHP@revoltphp·
We're currently working on 0.2.0 with huge performance gains by optimizing the number of fiber switches. We've also enabled discussions, so you can use them instead of issues to discuss, provide feedback, or show what you've built. github.com/revoltphp/even…
English
0
1
11
0
Revolt PHP
Revolt PHP@revoltphp·
If an event callback doesn't suspend, the fiber is reused for the next callback, otherwise a new fiber is created. 🧵
English
0
0
0
0
Revolt PHP
Revolt PHP@revoltphp·
The event loop is aware of fibers, so it's safe to suspend in any event callback or within the error handler. 🧵
English
1
0
0
0
Revolt PHP
Revolt PHP@revoltphp·
Revolt's suspension API allows transparent use of non-blocking IO in any library. If the event loop isn't running, top-level suspensions will run it until the awaited condition is fulfilled. 🧵
English
1
0
3
0