Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
avdicius
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
Nginx's Igor Sysoev Allegedly Arrested in Russia
(habr.com)
38 points
by
avdicius
7y ago
|
2 comments
2.
▲
by
avdicius
7y 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
3.
▲
Show HN: Fiber switch in inline assembly for amd64 with just 3 words of state
(github.com)
4 points
by
avdicius
7y ago
|
1 comments
4.
▲
by
avdicius
7y ago
Wow. I used my own stack switch routine for several years now and didn't realize it could be improved until I read this thread. Thank you very much. This is my old naive version: https://github.com/ademakov/MainMem
5.
▲
by
avdicius
8y ago
Yes, initial benchmark results: https://github.com/M4GNV5/GSoC2018
6.
▲
by
avdicius
8y 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.
7.
▲
by
avdicius
8y ago
The development of libjit almost halted a while back. But thanks to the last GSoC it is set to receive a major update soon: https://github.com/ademakov/libjit/pull/14
8.
▲
by
avdicius
9y 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.
9.
▲
Show HN: DIY bzero
(github.com)
3 points
by
avdicius
9y ago
|
1 comments
10.
▲
by
avdicius
9y ago
Oops, sorry. Have no idea why I overlooked it.
11.
▲
by
avdicius
9y ago
I have something like this here: https://github.com/ademakov/MainMemory/blob/master/src/base/... https://github.com/ademakov/MainMemory/blob/master/src/
12.
▲
by
avdicius
9y 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.
13.
▲
by
avdicius
9y ago
It seems the algorithm is not very new as it looks pretty much like the one named varint-PU in the following paper: http://stepanovpapers.com/CIKM_2011.pdf
14.
▲
by
avdicius
9y 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 provid
15.
▲
Show HN: MainMemory – Wannabe Main Memory Database and More
(github.com)
21 points
by
avdicius
9y ago
|
3 comments
16.
▲
by
avdicius
9y ago
Sorry, I cannot see this as expressing any sort of disagreement. I perhaps can learn how to play piano. If we are talking about some pieces for 6 y.o. kids. Can I learn how to play any Rachmaninov prelude or concerto? No, for me personally,
17.
▲
by
avdicius
9y ago
A personal account of perhaps an old timer already. Entirely based on personal experience so probably less than representative. People are either able to code or not. Teaching does not work. Those who are able to code almost entirely pick a
18.
▲
by
avdicius
9y ago
> but some of these cultural factors I think were pre existing and also help facilitate the pattern.. I would agree with this. Here is a Soviet cartoon based on a Russian folk fairy tale about smart and mighty wife rescuing her husband f
19.
▲
by
avdicius
9y ago
I think Russia never was a classic patriarchal society. At the family level matriarchs always played as important and prominent role as patriarchs. Yes, in the past the official power institutions were almost completely male dominated. Howe
20.
▲
by
avdicius
9y ago
The article totally misses the point. It just picks a single area and wonders why in this particular area women and men are more equal in Russia than in the West. By asking such a narrow question you will never get the right answer. The rig
21.
▲
Show HN: A state-of-the-art C++ random number generator
(github.com)
2 points
by
avdicius
9y ago
|
0 comments
22.
▲
by
avdicius
10y ago
I did something similar in plain C: https://github.com/ademakov/MainMemory
23.
▲
by
avdicius
10y ago
It was not the first. It was after Allan Chumak made it to the TV. And after lots of other absurdity like teachings of Helena Roerich was thrown in to blow Soviet people's minds. Actually Kuryokhin was making fun of all of this, it
24.
▲
by
avdicius
10y ago
I don't think many people believed it. Actually it was more of a satire than a hoax. A mockery of the BS wave that befell on gullible and unprepared audience upon Perestroika.
25.
▲
by
avdicius
10y ago
There was no valid arguments. Just bogus claims interspersed with irrelevant quotes and a pretence of authority.
26.
▲
Show HN: Oroch – a C++ library for integer array compression
(github.com)
2 points
by
avdicius
11y ago
|
0 comments
27.
▲
by
avdicius
11y ago
Upon return from a non-blocking I/O call the request is either failed or succeeded. Upon return from an async I/O call the request might additionally be in progress thus the fiber is required to wait for its completion. This case
28.
▲
by
avdicius
11y ago
Yes, fibers/coroutines are good for socket I/O because sockets could be made non-blocking, therefore a fiber could yield on EWOULDBLOCK error from a socket. For file I/O there is no non-blocking I/O option, so the whole
29.
▲
by
avdicius
11y ago
Coroutines seem to be a very popular topic. And again my shameless plug, I did exactly the thing described in this article in my project: https://github.com/ademakov/MainMemory
30.
▲
by
avdicius
11y ago
I use pthreads and coroutines (actually fibers) inside pthreads and lock-free bounded queues to communicate between pthreads. All pthreads execute coroutines until all of them get blocked, then pthreads go to epoll. If a pthread gets a sock
More ›