[Sugar-devel] Rationale behind the JSON -> CJSON switch in Sugar codebase?

Jonas Smedegaard dr at jones.dk
Thu Nov 19 09:53:11 EST 2009


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 
>>>> advantage.
>>>
>>> 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".


  - Jonas

-- 
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20091119/50292162/attachment.pgp 


More information about the Sugar-devel mailing list