Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
facturi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
Garbage Collection and Metastability [Marc's Blog]
(brooker.co.za)
2 points
by
facturi
2y ago
|
0 comments
2.
▲
by
facturi
2y ago
It works in MariaDB.
3.
▲
by
facturi
2y ago
Tearing issue is mentioned in this issue https://github.com/dotnet/csharplang/issues/7016 but not in proposal
4.
▲
by
facturi
2y ago
That proposal doesn't mention how the union struct handles tearing under concurrent modification. Tearing can cause memory safety issue. Variant A can have an integer field and variant B can have a reference field in the same offset. T
5.
▲
Ask HN: What AI-generated bugs do you encounter, and how you debugged them
1 points
by
facturi
2y ago
|
0 comments
6.
▲
by
facturi
2y ago
In GC languages, RCU is just atomic pointer update with immutable data structure. In a language without GC, it requires delayed destruction to avoid memory safety issues. Linux kernel's RCU waits for all CPU cores to context switch and
7.
▲
by
facturi
2y ago
This is related: Why relations are better than objects https://www.cell-lang.net/relations.html
8.
▲
by
facturi
2y ago
Does the range query aggregate the elements in range? If the aggregation operation forms a group (follows associativity law, has inverse) you can use prefix sum data structures like Fenwick tree. If it doesn't have inverse so that you