Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
throwaway912598
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
throwaway912598
6y ago
From a live table (there are about 10 of these in the database): sqlite> select count(*) from <redacted>; 49862386 Curious what row count you expect in non-SQLite databases on a regular basis.
2.
▲
by
throwaway912598
6y ago
Yes except when given a std::thread you don't know whether it will join in the destructor whereas with jthread you do. I personally don't know how it helps. But I'm sure the proposals had some reasoning.
3.
▲
by
throwaway912598
6y ago
It's useful because you may be able to make compile-time decisions on the basis of the type of thread you're dealing with. What those are, I don't know. As for instantiations, an astute library developer will be able to do th
4.
▲
by
throwaway912598
6y ago
The main reason is so that the type system knows which thread is which and can handle it differently. They may still inherit from the same implementation and do what you suggest though.