Thoughts on C version supported for PHP-Next
| From: | Julien Pauli | Date: | Fri, 25 Jul 2014 16:37:43 +0000 |
| Subject: | Thoughts on C version supported for PHP-Next | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-76126@lists.php.net to get a copy of this message | ||
Hey !
Just a quick word to launch the debate.
Disclamer : This is not a C vs C++ talk, thank you :-)
We nowadays support C89 officially . It is very stable and well implemented
in almost every compiler nowadays, but it is old and lack some features we
could benefit from.
Why not take PHP-Next step to support a more recent version ?
Even C99 would be allright and C11 would be super cool (though pretty
recent).
I know we support lots of compilers (even if that's not really documented),
and some of them could fail at supporting some C versions.
However, as PHP-Next is a big step in modernizing PHP, why not have a
discussion about the C versions our souce code base should support ?
Just to say, perhaps it's a dead and debate because of a big blocker point.
Julien.Pauli