Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dalvrosa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
91.
▲
by
dalvrosa
7mo ago
Feel free to share your findings
92.
▲
by
dalvrosa
7mo ago
Thanks!
93.
▲
by
dalvrosa
7mo ago
Yeah, this is quite specific to C++ (at a syntax level)
94.
▲
by
dalvrosa
7mo ago
From 12M ops/s to 305 M ops/s on a lock-free ring buffer. In this post, I walk you step by step through implementing a single-producer single-consumer queue from scratch. This pattern is widely used to share data between threads i
95.
▲
by
dalvrosa
7mo ago
What are the best replacements?
96.
▲
by
dalvrosa
7mo ago
Thanks a lot for the reference!
97.
▲
by
dalvrosa
7mo ago
Thanks!
98.
▲
NesusFix – Zero-alloc, compile-time hardened FIX engine for sub-100ns
(github.com)
2 points
by
dalvrosa
7mo ago
|
0 comments
99.
▲
by
dalvrosa
7mo ago
:)
100.
▲
Optimizing a lock-free ring buffer
(david.alvarezrosa.com)
104 points
by
dalvrosa
7mo ago
|
95 comments
101.
▲
by
dalvrosa
7mo ago
What?
102.
▲
by
dalvrosa
7mo ago
yw!
103.
▲
by
dalvrosa
7mo ago
Thank you, glad that you liked it :)
104.
▲
by
dalvrosa
7mo ago
Nice to learn about hyperfine Compilation speed is a huge part of productivity and enjoying writing C++
105.
▲
Deriving Type Erasure
(david.alvarezrosa.com)
31 points
by
dalvrosa
7mo ago
|
8 comments
106.
▲
by
dalvrosa
7mo ago
Ever looked at `std::any` and wondered what's going on behind the scenes? Beneath the intimidating interface is a classic technique called type erasure: concrete types hidden behind a small, uniform wrapper. Starting from familiar tool
107.
▲
by
dalvrosa
8mo ago
Yeah for C++17 or above, it's a nicer and more performant alternative in most cases
108.
▲
by
dalvrosa
8mo ago
+1
109.
▲
by
dalvrosa
8mo ago
:)
110.
▲
by
dalvrosa
8mo ago
Thanks for the feedback, I'll consider expanding in a separate post
111.
▲
by
dalvrosa
8mo ago
Good point, thanks for sharing!
112.
▲
by
dalvrosa
8mo ago
Thank you :)
113.
▲
by
dalvrosa
8mo ago
Nice one, TIL One caveat with "hash vtables" is that you only really see a performance win when the interface has a lot of specializations.
114.
▲
by
dalvrosa
8mo ago
Fair. New C++ standards are providing great tools for compile-time everything But still CRTP is widely used in low-latency environments :)
115.
▲
Devirtualization and Static Polymorphism
(david.alvarezrosa.com)
53 points
by
dalvrosa
8mo ago
|
42 comments