PHP Classes

PHP 8 Performance to be Boosted with a JIT engine - Lately in PHP podcast episode 76

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog PHP 8 Performance to ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 4,899

Last month viewers: 9

Categories: PHP Performance, Lately in PHP Podcast, News

Recently Dmitry Stogov of Zend announced that he is restarting the work on JIT engine that eventually will boost the performance of PHP 8.

These great news was one of the main topics discussed by Manuel Lemos and Johnny Mast on the episode 76 of the Lately in PHP podcast now also being streamed using livecoding.tv.

In this episode they also commented about new proposals for PHP like having both PHP 5 and PHP 7 builds running on the same Web server, single entry PHP apps for reducing the overhead of application bootstrap code, type strict comparisons, built-in request and response objects in PHP, among other topics.

This article also contains the transcript of the podcast summary.

Listen to the podcast, or watch the hangout video to learn more about these interesting PHP topics.




Loaded Article

Contents

Introduction (0:14)

Transcript Summary (2:01)

PHP 5.6.26, 7.0.11, 7.1.0RC1 released (5:24)

PHP 8 to have a JIT Engine (8:51)

Proposal: Non conflicting PHP Builds of PHP 5 and PHP 7 (16:15)

Proposal: Single Point Entry PHP Apps (21:36)

Proposal: Making uniqid more unique (29:13)

Proposal: SipHash to avoid Hash DOS (33:43)

Proposal: Strict Comparisons (36:51)

Proposal: Server-Side Request/Response Objects (48:40)

JavaScript Innovation Award Winners of July 2016 (51:54)

JavaScript Innovation Award Rankings of 2016 (58:23)

PHP Innovation Award Winners of July 2016 (1:00:01)

PHP Innovation Award Rankings of 2016 (1:09:20)

Conclusion (1:12:43)


Contents

Listen or download the podcast, RSS feed and subscribe in iTunes

Watch the podcast video, subscribe to the podcast YouTube channel

Transcript of the summary


Click on the Play button to listen now.


Download Size: 60MB Listeners: 4744

Introduction music Harbour used with explicit permission from the author Danilo Ercole, from Curitiba, Brazil

View Podcast in iTunes

In iTunes, use the Subscribe to Podcast... item of the Advanced menu, and then enter the URL above to subscribe to this podcast.

Watch the podcast video

Note that the timestamps below in the transcript may not match the same positions in the video because they were based on the audio timestamps and the audio was compacted to truncate silence periods.

See the Lately in PHP podcast play list on YouTube and Subscribe to this channel there.

Subscribe PHP Classes channel on Livecoding.tv to watch next recording live.

Show notes

Transcript Summary

OK as usual we are going to start with the latest PHP revisions, PHP 5.6.26 and then also cover the latest PHP 7.0.11 in this case, and we also mention briefly some RFCs for PHP 7.1 that started coming out and actually there are a few and after this one but we'll just mention it because not everybody is ready to test PHP.

So one of the interesting topics that are going to comment is the announcement from Dmitry Stogov, a Zend developer, that mentioned that is going to work on a JIT engine for PHP eventually to be released with PHP 8, so things are looking better for PHP and we'll talk about it in a moment.

Then we are going to also talk about a proposal that solves a great headache of many developers that want to try new versions of PHP but at the same time they need to run older versions for other applications in the same web server. So there is a proposal here to solve that problem.

Another topic that actually we mentioned before is the possibility to use some sort of caching in the PHP engine, so on different requests it can restart after the bootstrapping code, which could be loading the autoloader code or some framework bootstrapping that you may be using. So this essentially will make PHP applications to bit faster.

Another topic is about the uniqid function that is not really so unique, so there are some proposed to improve the the uniqueness of that function return values.

And after that there is a proposal to handle better the way PHP internally hashes the the array values to avoid one type of attack that was sort of fixed, well it was not fixed, it was just a workaround about PHP 5.3.9, or something like that.

Then we actually move on to a RFC, actually it is not in RFC, it is just a proposal regarding strict comparisons of values in PHP 7 and we also comment about one bug that Johnny found out related to this topic.

Finally we also discuss a proposal to have built-in requests and responses objects. Usually these objects are created by frameworks that wrap, I would say the handling of request values and the output of the current request but the idea is to have this built-in PHP, eventually 7.2 or PHP 8. Let's see what happens. 




You need to be a registered user or login to post a comment

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog PHP 8 Performance to ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)