[Sugar-devel] Rationale behind the JSON -> CJSON switch in Sugar codebase?
tomeu at sugarlabs.org
Thu Nov 19 10:01:55 EST 2009
On Thu, Nov 19, 2009 at 15:53, Jonas Smedegaard <dr at jones.dk> wrote:
> On Thu, Nov 19, 2009 at 03:11:05PM +0100, Tomeu Vizoso wrote:
>> 2009/11/13 Sascha Silbe <sascha-ml-ui-sugar-devel at silbe.org>:
>>> On Fri, Nov 13, 2009 at 10:12:11AM +0000, Daniel Drake wrote:
>>>>> As Tomeu mentions, Python 2.6 reduces the cjson/json performance
>>>> OK, didn't see this. Yes, using python standard library seems like the
>>>> way to go.
>>> Unfortunately not all distros ship Python 2.6 yet, most notably Debian.
>>> So we need to at least fall back to simplejson for those.
>> Sounds good to me, so maybe we can ask for a minimum of 2.6 for 0.88? How
>> well that plays with Debian and its derivatives?
> I recommend you to not tune into specific needs of Debian or other
> particular distros, but aim generally at the FLOSS world.
> Generally, the faster you tighten the requirements, the more do you
> discourage the use of long-term supported systems. Which is bad for
> deployers, especially those with few resources!
> So please include fallbacks when using features available only in newer
> backend libraries. Not to play nice with Debian, but to play nice with
> "slow movers".
I see the value in playing nice with "slow movers" but there's also a
cost to be paid by both upstream and other distros, so if we can get a
better idea of what we actually gain, we can better find the sweetest
spot between old and recent dependencies.
> - Jonas
> * Jonas Smedegaard - idealist & Internet-arkitekt
> * Tlf.: +45 40843136 Website: http://dr.jones.dk/
> [x] quote me freely [ ] ask before reusing [ ] keep private
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> -----END PGP SIGNATURE-----
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
More information about the Sugar-devel