TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

HippyVM

192 pointsby josephscottabout 11 years ago

21 comments

gopalvabout 11 years ago
This keep coming up again and again.<p>As a PHP perf guy for serveral years, I have some weird questions to ask.<p>Is this an HTTP serving language VM or just a PHP as a language VM?<p>Because I spent years fixing the first part without ever really doing anything about the second part of that question.<p>If it can&#x27;t listen on port 80, my interest drops a lot in the new VM - I&#x27;m not going to write scipy&#x2F;numba.py problems in PHP, even if I could.
评论 #7860694 未加载
评论 #7860860 未加载
评论 #7860887 未加载
评论 #7862029 未加载
评论 #7861662 未加载
评论 #7862132 未加载
vhost-about 11 years ago
I hope that website isn&#x27;t on HippyVM because it&#x27;s taking forever to load.
评论 #7860629 未加载
MBlumeabout 11 years ago
Very cool that this uses the PyPy toolchain, I hope this becomes a trend because it means we have one make-dynamic-languages-fast effort that will pay dividends across multiple languages.
评论 #7861027 未加载
aruggirelloabout 11 years ago
I would like to mention my (just released) PHP preprocessor here, since it has a feature that suggests a number of micro-optimizations. People seem to care so much about performance, so why not spend a few minutes to improve source code in the first place?<p>I wrote about the PHPippo PHP preprocessor a few hours ago, though it went through HN unnoticed (so far): <a href="https://news.ycombinator.com/item?id=7861616" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7861616</a>
loevborgabout 11 years ago
As someone with a bit of experience scaling PHP, it seems to me that the main problem with the language is not its raw performance (which seems on a par with its more cousins Python and Ruby) but rather its <i></i>single-request model<i></i>. For every request, mod_php creates a new interpreter, which has to do all the work to set up the framework, auto-loading the required classes, reading additional data every time. What&#x27;s more, the request has to create a new database connection for every request; the single-request model doesn&#x27;t allow the use of a database pool. (This doesn&#x27;t change fundamentally with handlers other than mod_php, such as php-fpm.)<p>With languages like Python and Ruby, not to mention Java, a single interpreter process or thread can handle many requests and can re-use the database connection. In PHP, you&#x27;re forced to do all the set-up all over again for every request. This is particularly wasteful with frameworks like Laravel, which do a non-trivial amount of work for setting up the application object, IoC controller.<p>Am I missing something here? I can&#x27;t believe companies using PHP on a larger scale, like Facebook, discard and re-create the application environment and all DB connections (!) for every single request.
评论 #7861782 未加载
评论 #7862017 未加载
dingdingdangabout 11 years ago
PHP is set to be super fast real quick-soon if this HHVM inspired trend continues. A bit like what has been happening to Javascript really..
评论 #7860958 未加载
评论 #7861726 未加载
TazeTSchnitzelabout 11 years ago
I wonder what the claimed and &quot;aimed for&quot; compatibility with Zend is actually like. How much of the standard library is implemented? How about common extensions? Is the casting behaviour the same?<p>Performance is meaningless if your VM can&#x27;t run people&#x27;s code.
评论 #7860911 未加载
评论 #7861683 未加载
评论 #7860818 未加载
dyadicabout 11 years ago
Does the word &quot;hip&quot; mean something in the context of PHP?<p>edit: I mean, is there a reason HHVM and HippyVM both use the word &quot;Hip&quot;?
评论 #7861157 未加载
评论 #7860969 未加载
seerabout 11 years ago
I&#x27;m not really familiar with the PyPy tooling and capabilities, but if this takes of, will there be a possibility of interop between RPython language implementations? It would be mind blowing to be able to write libs in different languages and have them working together. We could always use the best one available regardless of the language.<p>They mention interop with Python code, but I was just wondering if this could go a bit further...
评论 #7861691 未加载
scraggabout 11 years ago
I got HHVM running wordpress on a relatively high traffic site. The difference is night and day and setup was simple. To have something faster is crazy :)
b0b_d0eabout 11 years ago
For those that can&#x27;t find the repository, it can be found here on github <a href="https://github.com/hippyvm/hippyvm" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hippyvm&#x2F;hippyvm</a> I can never seem to find the link to github from the hippyvm page. It doesn&#x27;t seem to be very active as far as emerging technology goes, but in my opinion it has good potential since it can build off existing language development tools that are continuously improving.
评论 #7861710 未加载
评论 #7860741 未加载
mamcxabout 11 years ago
The code look clear, even to me.<p>Also: Look like it have a debugger! That is something I was looking how do. Plus, bytecode (look clean) too.<p>RPython could output to ARM?
评论 #7861854 未加载
maxpertabout 11 years ago
I wonder when they will do a GA instead of pre-release. That would be the right time to test and do benchmarks.
gosukiwiabout 11 years ago
So many PHP improvements, PHPNG, HHVM and Hippy, I&#x27;m anxious to see the future of PHP :)
pearjuiceabout 11 years ago
&gt;It started off as a research project [...] for Facebook<p>Huh? Isn&#x27;t that what HipHop is? Can someone elaborate on the matter? Is this a fork? Why aren&#x27;t they just migrating their work back to HipHop, I mean all this leads to is fragmentation.
评论 #7861869 未加载
ahomescu1about 11 years ago
Older HN thread: <a href="https://news.ycombinator.com/item?id=7459080" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7459080</a>
rebelidealistabout 11 years ago
Can you or someone make one for Ruby please?
评论 #7860898 未加载
评论 #7861337 未加载
hellbreaksloseabout 11 years ago
haha jokes... well I see why fb wanted to create their own framework since the whole site is in php and it would take em a lot of time to translate it something else (i think most nowadays is JS anyways) but srsly, why people are trying to make faster frameworks for php ... no idea. It doesn&#x27;t get any faster due its design. At least join one of the open source projects and help that.<p>Combine all those working on those open source frameworks for years and all together create something fast...
mantrax5about 11 years ago
I&#x27;m a developer and PHP is in my toolbox when suitable. But the thing I can&#x27;t understand is... why waste all this effort to make a slow, broken language fast, instead of using a faster language?<p>I mean, sure, it&#x27;s impressive that this VM is 7 times faster than stock PHP, but Java is over 100 times faster than stock PHP.<p>What is the gain here? Not having to go out of you little shell and learn a new language?
评论 #7861618 未加载
评论 #7861816 未加载
nlyabout 11 years ago
Waiting for that Perl 6 implementation in RPython any day now.
评论 #7861354 未加载
iwafflesabout 11 years ago
Seems like an odd way to show off a technology boasting speed when it&#x27;s cracking under the load. Can anyone confirm if it&#x27;s running on hippyvm?
评论 #7860775 未加载
评论 #7860980 未加载