On Wed, Jul 24, 2013 at 1:25 PM, Baruch Burstein <bmburst...@gmail.com>wrote:

> Why not use more modern features? I mean, I would probably not shift my
> whole codebase to C++11 just yet, but writing new code using C99?
>

i tried that several times over the past years and (A) C99 doesn't provide
anything new which C89 is truly lacking except for portable fixed-sized
integers. It was vararrays and variadic macros, but i can't say i've ever
needed them. (B) MSVC has only minimal support for C99. It's sometimes
annoying to have to group all var decls in one place, but it's not a
feature which we need so badly that we should risk portability limitations
for it.

Don't all modern compilers support it already?
>

Most support the basic 2-3 features which so many rely on, e.g. //-style
comments and the ability to mix var decls and "code." MSVC's support is
reportedly spotty, but i recently read that their new round of compilers
(v2013?) has/will have full C99 support. tcc supports some parts of C99 but
not vararrays. 'long long' is available in most or all modern C89 compilers
("modern C89..." :-!), though it wasn't standardized until C99.

If I was into really bad puns, I would say that "Fossil" is just a name,
> not a goal.
>

LOL! Maybe that would be a good slogan for the project (it just occurred to
me that we don't have one).


> I really am asking this out of interest why anyone would be against C99.
> Having recently graduated and on my first job, I am very interested in what
> seems to me to be completely irrational. In the past year I have found that
> most "irrational" things are really just my lack of experience showing :-)
>

i'd be interested in hearing any arguments for C99 which can't also be done
(with comparable effort) in C89? i've _tried_ to find reasons to rely on
C99 in some code, but simply cannot find anything truly compelling, and
don't want to lose portability just in order to be able to mix var decls
and code.


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to