Re:PDC 1996 Keynote with Bob Muglia and Steve Jobs [video]
by cma on Sunday October 27, 2019 @08:52AM
(#21369398)
But Facebook compiles PHP into C++ or something right (I think now they have a newer approach than c++)?
Re:PDC 1996 Keynote with Bob Muglia and Steve Jobs [video]
by rgoulter on Sunday October 27, 2019 @09:22AM
(#21369521)
The top-of-my-head story is that PHP5 was quite slow, Facebook's HHVM was PHP-compatible and fast. PHP7 was competitively fast with Hack.
In terms of "performance needed for many users", Facebook doesn't use PHP (a "scripted language") for everything. etc.
Re:PDC 1996 Keynote with Bob Muglia and Steve Jobs [video]
by lclarkmichalek on Sunday October 27, 2019 @09:23AM
(#21369523)
It's a JIT compiler nowadays: https://github.com/facebook/hhvm/
Re:PDC 1996 Keynote with Bob Muglia and Steve Jobs [video]
by saagarjha on Sunday October 27, 2019 @12:55PM
(#21370870)
HHVM now mainly only targets Hack these days.
Re:PDC 1996 Keynote with Bob Muglia and Steve Jobs [video]
by nihonium on Sunday October 27, 2019 @10:27AM
(#21369885)
Direct link to the video has better quality and right aspect ratio.
Mp4 https://sec.ch9.ms/ch9/6f1b/49417183-9944-40c9-ab1c-5b2d51aa...
Even Higher quality wmv https://sec.ch9.ms/ch9/6f1b/49417183-9944-40c9-ab1c-5b2d51aa...
Re:PDC 1996 Keynote with Bob Muglia and Steve Jobs [video]
by cududa on Sunday October 27, 2019 @06:24PM
(#21372835)
Nothing against your comment, just ... everyone on HN found this nit pick the second most upvoted comment on all of this??
Re:PDC 1996 Keynote with Bob Muglia and Steve Jobs [video]
by hevi_jos on Sunday October 27, 2019 @09:01AM
(#21369439)
PHP was a C front end at first...
Re:PDC 1996 Keynote with Bob Muglia and Steve Jobs [video]
by javagram on Sunday October 27, 2019 @09:36AM
(#21369589)
Edited: you might be thinking of C++ ?
I don’t think php ever compiled to C, based on a quick scan of the Wikipedia page. I thought it compiled to perl at one point but that doesn’t seem to be true either.
Re:PDC 1996 Keynote with Bob Muglia and Steve Jobs [video]
by solarkraft on Sunday October 27, 2019 @10:01AM
(#21369723)
It never compiled to C, but it was first intended to only provide bindings to libraries that were written in C.
Re:PDC 1996 Keynote with Bob Muglia and Steve Jobs [video]
by wirrbel on Sunday October 27, 2019 @10:27AM
(#21369883)
Iirc it was kind of like a templating language first. Imagine writing a cgi-bin c application and becoming tired of writing out HTML with printf statements.
On YouTube, it has the correct aspect ratio:
https://www.youtube.com/watch?v=DmCu97u35Ek
How do we find the car of the uploader?
Relevant XKCD: https://xkcd.com/1187/
Some perspective on the presentation:
At 13:20 or so, Jobs says "Of course you need a compiler, because a scripting language would be too slow for the server if it is used by a lot of users". Little did he know ... PHP was out for about a year when this presentation was given. Still lives today and powers most of the web.