Malcolm: Usability improvements in GCC 9
Malcolm: Usability improvements in GCC 9
Posted Mar 11, 2019 8:15 UTC (Mon) by tdz (subscriber, #58733)In reply to: Malcolm: Usability improvements in GCC 9 by dvdeug
Parent article: Malcolm: Usability improvements in GCC 9
OTOH, I'd wish the ISO C committee would simply standardize the stuff in <sys/queue.h>. This should do the job in nearly all cases. POSIX provides insque() and remque(), which are so laughable that one wonders why they bothered standardizing it at all.
Posted Mar 11, 2019 8:19 UTC (Mon)
by Cyberax (✭ supporter ✭, #52523)
[Link] (4 responses)
Posted Mar 11, 2019 8:30 UTC (Mon)
by tdz (subscriber, #58733)
[Link] (3 responses)
Posted Mar 11, 2019 9:11 UTC (Mon)
by Cyberax (✭ supporter ✭, #52523)
[Link] (2 responses)
Also, SJLJ exceptions are actually quite reasonable even for small environments (something a bit larger than 16 bit Arduino).
And then there's this nice proposal: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p... - it won't make into the coming revision of the standard, but it's on the table for the next one.
Posted Mar 11, 2019 11:42 UTC (Mon)
by tdz (subscriber, #58733)
[Link] (1 responses)
There are, but C++ without exceptions is not what I call "sane use of."
Posted Mar 12, 2019 17:10 UTC (Tue)
by k8to (guest, #15413)
[Link]
Posted Mar 11, 2019 18:08 UTC (Mon)
by rweikusat2 (subscriber, #117920)
[Link] (1 responses)
There are no "data structures" in C standards, there's just a convention for representing strings.
Posted Mar 12, 2019 9:21 UTC (Tue)
by tdz (subscriber, #58733)
[Link]
Malcolm: Usability improvements in GCC 9
This might have been true in C++03 (although even there NRVO and RVO optimized away a lot of copies) but C++11 and more recent versions have much more robust move semantics.
Malcolm: Usability improvements in GCC 9
Malcolm: Usability improvements in GCC 9
Malcolm: Usability improvements in GCC 9
Malcolm: Usability improvements in GCC 9
Malcolm: Usability improvements in GCC 9
Malcolm: Usability improvements in GCC 9
