Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
HeliumHydride
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
Protecting Windows users from Janet Jackson's "Rhythm Nation"
(devblogs.microsoft.com)
2 points
by
HeliumHydride
1y ago
|
0 comments
62.
▲
by
HeliumHydride
1y ago
With GNU extensions, you can make a simpler coroutine macro without switch/case abuse: #define CO_BEGIN static void* cr_state_ = &&cr_st_0; goto *cr_state_; cr_st_0: #define CO_RETURN(x) ({ __label__ resume; cr_state_
63.
▲
by
HeliumHydride
2y ago
It's as safe as LLVM IR is safe, assuming you trust the LLVM IR -> C translation step.
64.
▲
by
HeliumHydride
2y ago
The appendix to this is also good, and goes over things like getting linker scripts to create binaries using objdump and writing C wrappers for syscalls: https://www.muppetlabs.com/~breadbox/txt/mopb-app.html
65.
▲
Boost 1.88.0
(boost.org)
6 points
by
HeliumHydride
2y ago
|
0 comments
66.
▲
Square Root of Minus Garfield
(mezzacotta.net)
2 points
by
HeliumHydride
2y ago
|
0 comments
67.
▲
by
HeliumHydride
2y ago
Also check out the square root of minus Garfield: https://www.mezzacotta.net/garfield/
68.
▲
by
HeliumHydride
2y ago
They're not const because of backwards compatibility. Const correctness in C is a lot weaker than the way C++ enforces it, letting you implicitly cast it away in a lot of cases.
69.
▲
It rather involved being on the other side of this airtight hatchway (2006)
(devblogs.microsoft.com)
1 points
by
HeliumHydride
2y ago
|
0 comments
70.
▲
by
HeliumHydride
2y ago
https://codegolf.stackexchange.com/a/263884/
71.
▲
Using Token Sequences to Iterate Ranges
(brevzin.github.io)
29 points
by
HeliumHydride
2y ago
|
0 comments
72.
▲
by
HeliumHydride
2y ago
https://tvtropes.org/
73.
▲
by
HeliumHydride
2y ago
https://en.wikipedia.org/wiki/Gamma_function
74.
▲
Philosophy of Coroutines (2023)
(chiark.greenend.org.uk)
96 points
by
HeliumHydride
2y ago
|
16 comments
75.
▲
Fallthrough Sort (2013)
(rmarcus.info)
1 points
by
HeliumHydride
2y ago
|
0 comments
76.
▲
Generalizing std::midpoint
(biowpn.github.io)
1 points
by
HeliumHydride
2y ago
|
0 comments
77.
▲
How different Windows ABIs choose how to pass 32-bit values in 64-bit registers
(devblogs.microsoft.com)
2 points
by
HeliumHydride
2y ago
|
0 comments
78.
▲
What is PLUS times PLUS? [video]
(youtube.com)
4 points
by
HeliumHydride
2y ago
|
0 comments
79.
▲
What is PLUS times PLUS? [video]
(youtube.com)
2 points
by
HeliumHydride
2y ago
|
0 comments
80.
▲
by
HeliumHydride
2y ago
C++26 is getting a trait called "trivial relocatability", which allows you to communicate that a type can be memcpy'd around without fear.
81.
▲
C++26 Expansion Tricks
(pydong.org)
24 points
by
HeliumHydride
2y ago
|
38 comments
82.
▲
C++26 Expansion Tricks
(pydong.org)
4 points
by
HeliumHydride
2y ago
|
0 comments
83.
▲
XKCD 3065: Square Units
(xkcd.com)
2 points
by
HeliumHydride
2y ago
|
1 comments
84.
▲
by
HeliumHydride
2y ago
https://reddit.com/r/keming
85.
▲
For better or for worse, the overload (2024)
(consteval.ca)
5 points
by
HeliumHydride
2y ago
|
0 comments
86.
▲
by
HeliumHydride
2y ago
The obvious solution is to create a robot capable of feeling pain and dread.
87.
▲
For Better or for Worse, the Overload
(consteval.ca)
2 points
by
HeliumHydride
2y ago
|
0 comments
88.
▲
How std::any Works
(fluentcpp.com)
3 points
by
HeliumHydride
2y ago
|
0 comments
89.
▲
How std::any Works
(fluentcpp.com)
6 points
by
HeliumHydride
2y ago
|
0 comments
90.
▲
Fun with C++26 reflection: Keyword Arguments
(pydong.org)
136 points
by
HeliumHydride
2y ago
|
143 comments
More ›