I've been waiting for a book on C from No Starch Press, so I'm really excited for this one. This might not be too deep a question on the C language in regards to this book, but I've been wondering, why did you decide to have an eldritch horror as the book's cover?
Tell HN: C Experts Panel – Ask us anything about C
31–40 of 978 posts
Re: Tell HN: C Experts Panel – Ask us anything about C
#32Another thing very cumbersome is to do in C is object creation; creating instantiable objects is possible very cumbersome. Is there some feature in the thoughy process to deal with it. To make it clear, in C we can create a data structure like a Stack or a queue easily. But if the program needs 10 stacks then presently no simple way of achieving it.
Re: Tell HN: C Experts Panel – Ask us anything about C
#33On a slightly more personal note: What are some undefined behaviors that you would like to turn into defined behavior, but can't change for whatever reasons that be?
Re: Tell HN: C Experts Panel – Ask us anything about C
#34Re: Tell HN: C Experts Panel – Ask us anything about C
#35This helps bringing these languages to embedded targets with closed toolchains (with an existing C compiler).
Will there be developments to use a subset of C as a “portable assembly” in a standard way? Like there is WebAssembly for JavaScript.
Re: Tell HN: C Experts Panel – Ask us anything about C
#36Have you ever considered or will you consider deprecating char, int, long, (s)size_t, float, double and etc in favour of specific length types?
Will you ever add / have you considered adding [su]\d+ and f\d+ as synonyms for those mentioned stdint.h?
Since char is signed on most platforms, arm eabi being an exception and even there it's really just a matter of compile time flags, will you ever just drop char from being able to be either and just say it's signed, as int is also signed?
Will you ever define / have you considered defining signed overflow behaviour?
Re: Tell HN: C Experts Panel – Ask us anything about C
#37What's up with `strlcpy` and `strlcat`? Are they getting standardized?
Re: Tell HN: C Experts Panel – Ask us anything about C
#38Re: Tell HN: C Experts Panel – Ask us anything about C
#39Re: Tell HN: C Experts Panel – Ask us anything about C
#40Can memory safety be ensured in the C programming language? By static analysis at compile time for example?