Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mjs01
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
mjs01
4mo ago
Some unmentioned incompatibilities I've encountered that makes a C header not directly usable in C++: - C `_Atomic(T)` and C++ `std::atomic<T>`. C++23 has C compatible header `stdatomic.h` that defines `_Atomic(T)`, but it's
2.
▲
by
mjs01
5mo ago
Integer promotion seems to be the source of many signed integer overflow UB. Why does C have it? Does integer promotion ever have a good part?
3.
▲
by
mjs01
6mo ago
// is useful if the server needs to serve both static files in the filesystem, and embedded files like a webpage. // can be used for embedded files' URL because they will never conflict with filesystem paths.