12 March 2016, 02:07 | #1 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,207
|
Is C11 interesting?
After discussion in another thread about how VBCC has a different approach than GCC for programming, does anyone else think that having generics in the preprocessor and unpopular features of C99 made optional would make a difference for C programming?
|
12 March 2016, 07:36 | #2 |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
I don't expect C11 to make much of a difference other than for multi-threading and security related programming (both common and important though). The preprocessor generic stuff is not the easiest to use, read or understand so I don't expect it to be commonly used (useful but niche). There were some other little niceties added but they are mostly not common. I would like to see vbcc support C11 partially (the best and easiest to implement parts) with a -c11 switch like alignment features, anonymous structures and unions, new more secure string functions, _Noreturn/quick_exit(), set optional features to detect as not available, etc. but it is low priority. Making the C11 features optional now doesn't save much because most compilers support C99 with the same executable/libraries/includes which already bloats everything if fully supported. It helps to make as much modular as possible for a non-bloated compiler aimed at embedded systems like vbcc. However, vbcc needs to be fairly compatible to GCC/Clang or it will not be popular.
Last edited by matthey; 12 March 2016 at 15:50. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interesting..? | Charlie | support.Hardware | 0 | 13 January 2006 15:08 |
I have to ask something interesting | MethodGit | project.Amiga Demo DVD | 4 | 05 October 2005 20:06 |
Now THIS looks interesting.... | MethodGit | MarketPlace | 23 | 19 March 2005 16:19 |
Now THIS looks interesting also! | MethodGit | MarketPlace | 2 | 19 March 2005 10:26 |
This one looks very interesting... | MethodGit | Retrogaming General Discussion | 11 | 18 November 2002 10:22 |
|
|