Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
occasionalreedr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
1.
▲
by
occasionalreedr
10y ago
> I hope the WebKit guy can release it as a standalone library that will benefit many C++ developers. +1. Even just the WTF::Lock, WTF::Condition and supporting code would be useful.
2.
▲
by
occasionalreedr
10y ago
Code here: https://github.com/WebKit/webkit/blob/master/Source/WTF/wtf/... https://github.com/WebKit/webkit/blob/master/Source/WTF/wtf/..
3.
▲
by
occasionalreedr
10y ago
Please replace the very slow Mac OS X pthread_mutex locks with the WTF::Lock implementation to benefit all applications. I can live with it still being 64 bytes and the scheduling being not completely fair. The OS X pthread mutexes are seve
4.
▲
by
occasionalreedr
10y ago
C Python uses ref counting, whereas Node/V8 uses GC. Ref counting schemes generally use much less memory and GC scans can be expensive when there's a lot of new data, as is the case for a web server.
5.
▲
by
occasionalreedr
10y ago
The code is pretty easy to grok. Well commented and supported by thousands of tests.
6.
▲
by
occasionalreedr
10y ago
How does svaarala do it? He's a one person coding machine. Fantastic work.