Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Lesser Known C Features
(
cuni.cz
)
21 points
by
tragiclos
on Dec 30, 2021
|
hide
|
past
|
favorite
|
4 comments
pjmlp
on Dec 30, 2021
|
next
[–]
VLAs were made optional in C11 and no longer required for ISO C compliance.
Google also sponsored the work to clean up the Linux kernel of their use.
GrumpySloth
on Dec 30, 2021
|
prev
|
next
[–]
I wish they removed trigraphs. They are removed from C++ since C++17. I hope they do that in a future C standard as well. Currently I switch to
std=gnuXX
in GCC solely for this reason (and sometimes to get access to some POSIX headers).
retrac
on Dec 30, 2021
|
parent
|
next
[–]
Is there any code that still uses them? I've never seen trigraphs in the wild.
KSPAtlas
on Dec 30, 2021
|
prev
[–]
I knew about defined size ints (use them a lot in osdev) and _Bool (you don't have stdbool everywhere)
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Google also sponsored the work to clean up the Linux kernel of their use.