Re: Thoughts on C version supported for PHP-Next
| From: | Andrea Faulds | Date: | Mon, 28 Jul 2014 11:44:28 +0000 |
| Subject: | Re: Thoughts on C version supported for PHP-Next | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76230@lists.php.net to get a copy of this message | ||
On 28 Jul 2014, at 12:41, Huqiu Liao <liaohuqiu@gmail.com> wrote:
> IMP, C89 is simple enough and reliable. Though it is old. it is wildly supported.
It is simple, reliable and widely-supported, sure, but it lacks certain features that could be
useful. In 2014, while not all compilers support all of C99, most support it at least partially, and
we don’t need the whole thing.
For an example of something C99 has that C89 lacks, it is a pain to have to redefine isnan() and
isfinite() (the latter being particularly difficult) when doing floating-point math.
--
Andrea Faulds
http://ajf.me/