Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
7197ghr918hf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
7197ghr918hf
9y ago
> We guarantee type and memory safety by introducing a new exception (DanglingReferenceException) with the following semantics: a dereference to a deleted object will either succeed as if that very object was not yet deleted , or result
2.
▲
by
7197ghr918hf
9y ago
To my eyes, this code is much less clear than code that uses absl mutexes. Also, to my understanding, reentrant mutexes are much slower than ordinary mutexes, and are never necessary. But, I have been using absl mutexes for more than ten ye
3.
▲
by
7197ghr918hf
9y ago
A couple of my favorite types and functions in absl: - Span For when you want to take an array or a vector. - string_view Avoids string copies. Makes your program faster. Its creation was a reaction to situations like https://new
4.
▲
by
7197ghr918hf
9y ago
Googler-on-googler trolling. The internal version of the build rule they're discussing has some busted dependencies. Because of historical cruft, it brings in a lot of unrelated crap. For example, building a C++ binary might build brin