avdicius

Joined 13 years ago

Karma
81
Submissions
49
Member since
Oct 18
Aleksey Demakov

https://github.com/ademakov

View on Hacker News

Recent submissions

Comment · 7 years ago
Yes, that's true. However in my app this has never caused any problems. Apparently even if the compiler auto-vectorizes anything it does this only with scratch regs or in leaf procedures. I don't have any fp or simd code of myself.
Comment · 7 years ago
Comment · 8 years ago
Comment · 8 years ago
Thanks, Gopal. I didn't do much, just maintained it on life support. Recently some good contributors arrived: Jakob and Tom. Let's hope this really revives the project.
Comment · 8 years ago
Comment · 9 years ago
It's a hardware interrupt from a hardware clock that is handled by the OS kernel. Regular user processes are usually totally forbidden from touching that hardware stuff.
Comment · 9 years ago
Oops, sorry. Have no idea why I overlooked it.
Comment · 9 years ago
I have something like this here:

https://github.com/ademakov/MainMemory/blob/master/src/base/... https://github.com/ademakov/MainMemory/blob/master/src/base/...

It seems your variant does not support the common convention to use lone two dashes ('--') to separate options from non-options that for some reason start with dashes too (e.g. strangely named files).

My version supports typed values at a different level integrated with config file parsing. So the command line argument values are just strings for me.

Comment · 9 years ago
The usual varint is called varint-SU in the Stepanov's paper. The varint-PU is just like what you call FLIT64, at least I don't see any difference.
Comment · 9 years ago
Comment · 9 years ago
At first I wanted to make an in-memory database. But I disliked libevent, libev and everything else I saw when I started it. Perhaps I would be more or less happy with libuv, but I was not aware of it back then. By the way redis also provides its own event handling machinery. I guess Salvatore did not like libevent too. But redis is single-threaded while my idea was to heavily rely on multi-threading and fibers (M:N threading model). Quite unexpectedly inventing a multi-threaded event handling framework with an added complexity of fibers took enormous time from me. Anyway now I have a cool framework for multi-threaded servers.

As for in-memory database functionality it only provides memcached compatible interface. As I'm done with the server framework stuff so I am going to add more features. Like persistance, basic redis protocol support, etc.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton