Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
uecker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
85 ms
·
1891.
▲
by
uecker
4y ago
Why do you cite "net power generation capacity" when you care about use? Actual generation: https://ag-energiebilanzen.de/wp-content/uploads/2022/03/STR... gas use / CO2 emissions may actu
1892.
▲
by
uecker
4y ago
Assumptions are all wrong. Total output decreased from 632 TWh in 2010 to 588 TWh in 2021. Coal and lignite decreased substantially 117 TWh + 146 TWh in 2010 to 55 TWh + 110 TWh in 2021 (with a substantial reduction in CO2 emissions). gas
1893.
▲
by
uecker
4y ago
At the moment half of France's nuclear plants are down for months and France is relying on imports. But this no the argument against nuclear. The argument against nuclear is that it simply is far too expensive.
1894.
▲
by
uecker
5y ago
It is not enough to check your unsafe code for UB, you also need to make sure it does not violate the invariants Rust relies on to prove the safe code safe.
1895.
▲
by
uecker
5y ago
What do you want to use it for? C++ uses it for the compile-time programming together with templates. Essentially C++ evolves into a language where you write a program that gets interpreted at compile-time to produce some code that then ge
1896.
▲
by
uecker
5y ago
Although many compilers allow const int X = 33; enum { Y = X };
1897.
▲
by
uecker
5y ago
Yes, almost. But it misses optional features and common extensions.
1898.
▲
by
uecker
5y ago
Compilers can already do this: https://godbolt.org/z/jMMa8n48r Yes, putting them into structs is a missing feature. It is not in the draft because no compiler can do it and their is no implementation experience. I am w
1899.
▲
by
uecker
5y ago
There a couple of open source C compilers TCC, SDCC, tendra, chibicc, ACK, LCC, PCC, etc. and also many commercial ones. It is true that GCC is not written in C anymore, but it is easy to see that the code is still relatively close. I am al
1900.
▲
by
uecker
5y ago
C23 will get support for checked integer operations that report overflow.
1901.
▲
by
uecker
5y ago
There are plenty of C compilers written in C. Large compiler suites for C/C++ are usually written in C++. But as a contributor to GCC, I can say that large parts of the code still look very much like C.
1902.
▲
by
uecker
5y ago
(first, I am not a D user but I really like what I have seen. I wish WG14 would take more inspiration from D than from C++) C23 will require 2s-complement. Signed overflow is still UB in C. I think this is a better choice than wrap around,
1903.
▲
by
uecker
5y ago
I fully agree with all you said. Some comments: - we have proposal for provenance rules (N2676), which would clarify the rules and make sure that pointer-integer roundtrips work (now broken on some compilers due to an "interesting"
1904.
▲
by
uecker
7y ago
(disclaimer: also a WG14 member) 1. I want this too. 2. Here is my proposal: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2366.pdf 3. Yes, variadic functions should be improved.