Not sure if dynamically configured C code from a zend extension at every
request is faster than generated PHP code (which the symfony router is).

On Wed, May 9, 2012 at 2:39 PM, kiang <[email protected]> wrote:

> Maybe the router part is also another good point to be written in c/c++ as
> it's simple but be used frequently. Like this one:
> https://github.com/c9s/Roller
>
> ---
> kiang
>
>
> On Wednesday, May 9, 2012 5:56:59 PM UTC+8, Lukas Smith wrote:
>>
>>
>> On May 9, 2012, at 11:54 , Benjamin Eberlei wrote:
>>
>> > The problem is that C code has a much higher maintenance cost. You
>> cannot change C code as fast as you can change PHP code. Plus the amount of
>> C/ZendEngine code necessary to port some PHP code is really big. And for
>> shared hosting/non performance critical applications you still always need
>> to ship the PHP code, and then make sure that changes to the PHP code get
>> synchronized to the C code.
>> >
>> > Very annoying problems start to pop up. And that is why scripting
>> languages like PHP, Ruby, Python exist in the first place.
>>
>> as such the approach taken by the twig extension is the way to go:
>> identify the minimum amount of code to port to C to solve a specific
>> bottleneck
>>
>  --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to