Phalcon made a tool for writing c extension for php. zephir http://zephir-lang.com/
Phalcon may run faster in request per sec,but it is not handy like Laravel in routing, migration, controllers,
(no offense to Phalcon) they did not even catch 404 exception in new create project..
So Laravel C?
No. I don't even. This is what happens when someone reads something on the internet and suddenly think it's the new best thing ever. Heard of nodejs? Just for you.
@robclancy We should definitely not move to C, porting Laravel to Mongo would be a much better choice, its web scale.
We should compile all Laravel code to phpmin.
On Sunday, January 19, 2014, William Cahill-Manley [email protected]
wrote:
@robclancy https://github.com/robclancy We should definitely not move
to C, porting Laravel to Mongo would be a much better choice, its web scale.—
Reply to this email directly or view it on GitHubhttps://github.com/laravel/framework/issues/3295#issuecomment-32702677
.
I hear phpmin makes PHP run almost as fast as C. Combine that with mongodb and you have one webscale monster that can not be stopped. Rename it to dragon. Profit.
@crynobone when we move to phpmin, be sure to issue a pull request for each file separately.
Oh please. I'll be committing each line change, will definitely get huge
contribution stat on my name. But dont think I can't beat @taylorotwell records :(
On Sunday, January 19, 2014, William Cahill-Manley [email protected]
wrote:
@crynobone https://github.com/crynobone when we move to phpmin, be sure
to issue a pull request for each file separatelyhttp://i.imgur.com/gSmKHbH.png
.—
Reply to this email directly or view it on GitHubhttps://github.com/laravel/framework/issues/3295#issuecomment-32702711
.
i think we should write laravel in assembly which will make it a lot faster oh and i think we should build a laravel os as well possibly 2 versions 1 for servers and 1 for developing and it will be so fast it will fly back to the future
Ok, enough with the trolling.
@hye Maybe you should look at HHVM, Laravel has 100% coverage.

No, I don't think it will be done. I think speed improvements in the PHP language itself, which now includes Zend Optimizer, as well as new tools like HHVM will make this kind of thing irrelevant.
I definitely think that a framework like Phalcon is crippling the PHP
community. We're not C developers, we're PHP developers and the language is
growing every day. Laravel lets us make beautiful code in a hacked language
and we can still contribute to make it better. HHVM with its JIT
compilation lets us work with this web oriented language and still make it
scale. PHP is coming to age and this is just further proof we can grow with
it.
Sent from my iPhone
On 20 jan 2014, at 23:13, Patrik Storm [email protected] wrote:
@hye https://github.com/hye The bottleneck is rarely PHP, if your app
really has to do some heavy duty calculations, or other intensive tasks,
like calculating primes use something else, or write your extension with
zephyr. I would bet that HHVM is going to be a big player in the future,
and really boosting PHP in both speed and popularity, and thus rendering
things like zephyr unneccessary.
—
Reply to this email directly or view it on
GitHubhttps://github.com/laravel/framework/issues/3295#issuecomment-32802130
.
What is phpmin?
@nicholasruunu You don't seem to understand how Phalcon works. The heavy-duty core C code already written, and Zephir is _extremely_ PHP-like in its syntax and usage.
That said, I am considering using HHVM + Laravel instead of Phalcon for my next personal project.
@hye If you like Laravel, just use Laravel... Laravel is not Phalcon, and vice verza. Both have pros and cons.
My suggestion: If you need the ease & beauty of coding (or if you moved on from CodeIgniter), Laravel is the right choice. But, If speed is your main consideration without the need to custom install of PHP, Phalcon is worth a try.
@nicholasruunu Phalcon crippling the PHP community? Oh man... read the doc again..... Phalcon is a PHP framework delivered as c-extension, this mean Phalcon is PHP extension itself.
Due to the widespread use of Phalcon nowadays, and with the aim to facilitate the Phalcon Community in contributing to the development of Phalcon framework, then Phalcon Core Developer Team builds Zephir. Zephir is a transcompiler which will compile Zephir syntax (Ofcourse similar to PHP, because Zephir utilize Zend Engine API) to the lower level C language aimed for building PHP c-extension easily. Moreover, Zephir also useful for PHP developer (who doesn't familiar with C) to build their own compiled PHP extension.
So, Is PHP c-extension like Phalcon really crippling the PHP community ?
In my pov, HHVM with his Hack Language (that forked from PHP) is the true mother crippling of the PHP community, because its broke the PHP ecosystem.
+1. What is phpmin?
@hye actually even if we were to convert laravel into C, we'll still not get that much benefit which you get from phalcon. I'm also like you, I like phalcon's speed, and laravel's awesomeness. I was also thinking the same.
Laravel isn't the problem, laravel barely does stuff, I think you're much better off asking symfony guys to create a symfony C extension, since laravel uses a lot of symfony. Also probably Carbon?
I'd suggest to start laravel with xdebug and run a profiler, and see where it's using most of CPU cycles. And list them in order, make a C extension, you won't even have to do anything, just build it for yourself, and it'll NOT use the php version since we're using composer and __autoload thingy.
I'd ask for symfony guys instead. When symfony's components are faster, laravel will automatically become a little faster. And during your conversion, MAYBE you can see a pattern on how to convert the php files to zephir (should be easy), then automatically do that :smile:
Most helpful comment
@hye If you like Laravel, just use Laravel... Laravel is not Phalcon, and vice verza. Both have pros and cons.
My suggestion: If you need the ease & beauty of coding (or if you moved on from CodeIgniter), Laravel is the right choice. But, If speed is your main consideration without the need to custom install of PHP, Phalcon is worth a try.
@nicholasruunu Phalcon crippling the PHP community? Oh man... read the doc again..... Phalcon is a PHP framework delivered as c-extension, this mean Phalcon is PHP extension itself.
Due to the widespread use of Phalcon nowadays, and with the aim to facilitate the Phalcon Community in contributing to the development of Phalcon framework, then Phalcon Core Developer Team builds Zephir. Zephir is a transcompiler which will compile Zephir syntax (Ofcourse similar to PHP, because Zephir utilize Zend Engine API) to the lower level C language aimed for building PHP c-extension easily. Moreover, Zephir also useful for PHP developer (who doesn't familiar with C) to build their own compiled PHP extension.
So, Is PHP c-extension like Phalcon really crippling the PHP community ?
In my pov, HHVM with his Hack Language (that forked from PHP) is the true mother crippling of the PHP community, because its broke the PHP ecosystem.