Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
poppadom1982
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
poppadom1982
3mo ago
It's a nice idea but the C portion expects an array of unknown size, no bounds checking possible at all and it's also not returned how large the PNM image is. I also don't understand why glib is needed here to get the array t
2.
▲
by
poppadom1982
3mo ago
Which ones?
3.
▲
by
poppadom1982
4mo ago
You're missing the point. Volatile forces two loads of a value that may have changed in the middle. So the value of "x" may depend on the time/order of load.
4.
▲
by
poppadom1982
4mo ago
Wow, this is awful
5.
▲
by
poppadom1982
6mo ago
Open source and free software isn't the same thing. Nobody made a claim on Java either, until someone did. I just distinctly remember explicitly not exploring D for that reason. Also this way way before LLVM and I also don't thi
6.
▲
by
poppadom1982
6mo ago
Yeah dude but you've really marketed D poorly. I remember looking at D what must be 15 years back or so? And I loved the language and was blown away by its beauty and cool features. But having no FOSS compiler and the looming threat of
7.
▲
by
poppadom1982
6mo ago
My point is, in your exact example both reinterpret_cast and C-style casts have the exact same behavior, making the example bad. If you want to showcase a deficiency of C++, it would make sense to pick something where the difference betwe
8.
▲
by
poppadom1982
6mo ago
I'm not sure what you're getting at but const bool z = (const bool)((int8_t)2); Is perfectly valid C++.
9.
▲
by
poppadom1982
6mo ago
> The Core Idea > Enter X > How It Works (Without the PhD) > Why Y Should Care ...and an incredibly handwavy shallow explanation of why this actually works ("Through a clever sequence of oblivious transfers and what’s calle