in reply to Re^3: Shouldn't JSON be faster?
in thread Shouldn't JSON be faster?
The point here is not old (and obsolete) OS's, but the compliance to ANSI C89 versus ANSI C99.
All of perl requires a ANSI C compliant compiler. Though it is not obvious everywhere, the requirement is a C89 compatible C compiler. That means that there is no guarantee whatsoever that you can build modules written for C99 minimum can be used with any version of perl.
There is a big difference. And I'm not pointing at differences between GNU gcc and expensive ANSI C compilers from the big players, but the simple fact the e.g. c++ style comments // is supported in C99, but is not in C89 is something basic that is VERY EASY to fix and doesn't have to change any other parts of the program.
It's not that the code is wrong. It is more courtesy to all perl users to comply to the minimal requirements of perl itself. I did send a patch to make that source C89 compliant, but it was rejected as "the code is already compliant to the standard" (and then deleted). It is indeed following the ANSI standard. Just a shame it follows the wrong one.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Shouldn't JSON be faster?
by JavaFan (Canon) on May 31, 2010 at 12:53 UTC | |
Re^5: Shouldn't JSON be faster?
by BrowserUk (Patriarch) on May 31, 2010 at 11:17 UTC | |
by chromatic (Archbishop) on May 31, 2010 at 18:39 UTC | |
by BrowserUk (Patriarch) on May 31, 2010 at 19:19 UTC |