Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
avdicius
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
avdicius
11y ago
To put it simply, in my tetsing, if using 4 threads (the default) memcached and my clone run about the same. However if using 8 threads (with -t 8 option), memcached becomes a little slower (!) while my clone becomes a little faster. There
32.
▲
by
avdicius
11y ago
1. Right now it tries to solve the problem of better multi-core scalability. 2. Additionally it tries to have a cleaner source base which should allow add in the future new features, such as persistence and replication.
33.
▲
Show HN: MainMemory, a memcached clone and generic server framework
(github.com)
7 points
by
avdicius
11y ago
|
4 comments
34.
▲
by
avdicius
11y ago
The semantics would be nothing but executing the finally block. As a rule C programs do only what is explicitly coded. No high-level programming language behind the scenes stuff.
35.
▲
by
avdicius
11y ago
If the next C standard were to introduce something like try/finally/throw to replace prehistoric libc-based setjmp/longjmp, it would shrink the gap between it and other languages, well, I'd say roughly by half.
36.
▲
by
avdicius
11y ago
Both are relatively small projects and really there is no much stuff to compare. I'm slowly working on my own memcached clone and plan to add persistence there eventually. Not so sure about replication, it might be too hard. In princip
37.
▲
Ask HN: Huge pages on Mac OS X
1 points
by
avdicius
11y ago
|
0 comments
38.
▲
by
avdicius
11y ago
My version: template <class T> INLINE size_t fast_upper_bound5(const vector<T>& vec, T value) { size_t index = 0; size_t size = vec.size(); while (size > 0) { size /= 2; si
39.
▲
by
avdicius
11y ago
I've just added the LICENSE file. It is MIT license.
40.
▲
by
avdicius
11y ago
Oops, I wanted to do something similar but in C: https://github.com/ademakov/MainMemory
41.
▲
by
avdicius
11y ago
Thank you very much for your review. - I have a TATAS lock implementation elsewhere: https://github.com/ademakov/MainMemory/blob/master/src/base/... Could add it to Evenk as well. - Exchanged v
42.
▲
by
avdicius
11y ago
Thanks for the advise. The library is currently at a very early stage, so no examples, no docs are available. It is now very tiny, as it grows it will perhaps be a lean alternative to Intel TBB. It uses C++11 standard library atomics and th
43.
▲
by
avdicius
11y ago
Not yet, unfortunately.
44.
▲
Show HN: Evenk C++ concurrency library
(github.com)
35 points
by
avdicius
11y ago
|
10 comments
45.
▲
by
avdicius
12y ago
This might be surprising but planned programs of the pesky corrupted nomenklatura sometimes used some science and computing as well. Look at this guy: https://en.wikipedia.org/wiki/Leonid_Kantorovich He received Nobel
46.
▲
by
avdicius
12y ago
I'm puzzled this article has "history" in the title. It would be more appropriately called "a few funny fiction stories and some cheap spin-doctoring on soviet computer science." Somehow it does not mention this guy
47.
▲
by
avdicius
13y ago
And this is mine: https://github.com/ademakov/MainMemory Though it's not a library, but it can be converted into one if needed. And it's not so lightweight already and I'm still working on more features.