English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. C/C++

 
 
Thread Tools
Old 12 March 2016, 02:07   #1
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,200
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?
Samurai_Crow is offline  
Old 12 March 2016, 07:36   #2
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by Samurai_Crow View Post
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?
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.
matthey is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:27.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08642 seconds with 13 queries