Hi,

Many thanks for your interest in Spyc project and the YAML format.

There is indeed a wide-spread opinion in the YAML milieu that Syck is
way better the Spyc. Well, there's a case of what is 'better'? Syck is
a cross-platform tool for parsing YAML and is written in C. The C
programs are by design much faster than scripts written in pure PHP,
and this is the case with Syck. Syck is fast, it has more robust YAML
specification support, one can use Syck with different languages and
so on. In terms of productivity, I have to concede Syck is better ;-))

However, the design aim of Spyc is quite different. Spyc is a
_pure-PHP_ implementation of YAML parser. That's the main point. In
order to use Spyc, you need nothing but PHP 4+ (Syck requires PHP 5).
You don't have to have admin permissions on your server, you don't
need to have any specific knowledge of how to install extensions or
compile anything in UNIX environment. That's what 'S' in 'Spyc' stands
for: Spyc is meant to be simple to the end user.

As for the questions of speed, there've been progress on that. Since
the Spyc creator cannot dedicate much time to the project now, I've
come over to maintain it, and our new, refactored version of Spyc
algorithm is pretty robust in terms of speed (but there's no support
for references yet, that's why it's not of the website ;-)) - if you'd
like to, I can send you a sneak preview version of this one, so you
can test the speed for yourself ;-)) ). I believe that when the
version's out, I'll contact the Symfony guys and ask them to
reconsider their attitude to Spyc, 'cause my opinion is that the
differences of parsing speed of Syck and Spyc (0.7) can become
relevant only when parsing several thousand lines of code.

Hope that answers your question.

Feel free to write,
Vlad.

On 19/03/07, snowcrash+symfony-users
<[EMAIL PROTECTED]> wrote:
> hi,
>
> i'm relatively new to using the symfony framework.
>
> in its yaml-parse-space, there's lots of commentary that "syck is
> better than spyc", with little to back it up.
>
> given that i can build spyc just fine (on osx), but syck's unit tests
> fail, and there's *no* reponse from either the developer or any
> progress on their bugs/code, i thought i'd ask _you_ ...
>
> can you lend any comment as to the why (not) 'spyc' arguments?  in
> particular,  there are comments/claims here:
>
>    http://trac.symfony-project.com/trac/wiki/InstallingSyck
>
>
> any insight you could share would be appreciated!
>
> thanks!
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to