chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] CHICKEN in production


From: John Cowan
Subject: Re: [Chicken-hackers] CHICKEN in production
Date: Mon, 13 Oct 2014 11:26:44 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Florian Zumbiehl scripsit:

> Take JSON as an example: JSON character strings can encode NULs, so if
> CHICKEN were to reject NULs in character strings, you could not write a
> JSON parser in CHICKEN.

That's technically true, but where will you find a JSON document in the
wild that contains "\u0000"?  JSON parsers written in C won't be able to
handle it either, since AFAIK they all return C strings.  You probably
won't be able to store it in a database either, since they use C APIs
somewhere in the process.

I am frankly sick of tools bending over backwards to support NUL.

-- 
John Cowan          http://www.ccil.org/~cowan        address@hidden
Uneasy lies the head that wears the Editor's hat! --Eddie Foirbeis Climo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]