Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
AaronBallman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
AaronBallman
6y ago
Not necessarily a code base, but _Generic is what makes <tgmath.h> implementable for the type-generic math functions.
32.
▲
by
AaronBallman
6y ago
Great question! Joining the committee requires you to be a member of your country's national body group (in the US, that's INCITS) and attend at least some percentage of the official committee meetings, and that's about it. S
33.
▲
by
AaronBallman
6y ago
Funny you should mention that, as that feature has come up recently in mailing list discussions. We have not seen an actual proposal for adopting it yet, but features similar semantics are being discussed as a possible idea (no promises). F
34.
▲
by
AaronBallman
6y ago
It would be wonderful (IMO) if we could get to that point, but that would leave implementations with too great of a burden because many forms of UB can only be caught at runtime (without a considerable number of false positives). Generall
35.
▲
by
AaronBallman
6y ago
> Please, please, please pick short and descriptive format specifiers, like %[su]\d+, ie That's my personal preference as well. Using the PRI macros always makes me feel sad. > Say like VLAs but structures with members that are d
36.
▲
by
AaronBallman
6y ago
VLAs are still present in C17 and have not been removed. They are, however, an optional feature with a truly weird (IMHO) feature testing macro. If '__STDC_NO_VLA__' is defined to 1, then the implementation does not support VLAs.
37.
▲
by
AaronBallman
6y ago
I wouldn't read into "commercial" there, I think we meant "production-quality" instead. (We should fix that!) Basically, we prefer seeing features that real users have used as opposed to an experimental branch of a
38.
▲
by
AaronBallman
6y ago
> Will you ever add / have you considered adding sane formatting options for fixed length variables in printf? Say %u32 or %s64 ? I'm not certain about the historical answer to this, but I do know that we're currently cons
39.
▲
by
AaronBallman
6y ago
FWIW, Annex K is not currently deprecated.
40.
▲
by
AaronBallman
6y ago
Annex K had an existing implementation from Microsoft. It wasn't a fully conforming implementation when C11 shipped, however (the specification drifted apart from the initial implementation).
41.
▲
by
AaronBallman
6y ago
Yes, the C2x charter has this requirement: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2086.htm
42.
▲
by
AaronBallman
6y ago
C has some basic support for constant expressions already, but there has not yet been a proposal to bring 'constexpr' over from C++. Personally, I would love this feature to be in C!
43.
▲
by
AaronBallman
6y ago
We've been considering proposals to add common POSIX APIs into C, but I don't believe we've seen a proposal for strlcpy or strlcat yet. I recall we agreed to add strdup to C given its wide availability and usage.
44.
▲
by
AaronBallman
6y ago
We currently have not seen papers proposing to add new concurrency primitives for C2x, but we have been actively working on the concurrency object model and would welcome proposals for new primitives or concurrency-related fixes. One goal i