Why is there a "V" in SIGSEGV Segmentation Fault?
https://idea.popcount.org/2020-06-18-why-is-there-a-v-in-sigsegv-segmentation-fault/ [idea.popcount.org]
2020-06-18 19:11
tags:
programming
unix
My program received a SIGSEGV signal and crashed with “Segmentation Fault” message. Where does the “V” come from?
source: L
Addressing of AF_INET, AF_INET6 and AF_UNIX sockets
https://idea.popcount.org/2019-12-06-addressing/ [idea.popcount.org]
2019-12-02 06:05
tags:
c
intro-programming
networking
A freshly created socket isn’t very useful. We have to tell it to either listen for incoming data, or connect to a remote peer. To achieve anything useful we need to perform a syscall dance, which involves either bind() or connect() or both.
And some notes about the DNS resolver rabbit hole.
source: L
How to sleep a million years
https://idea.popcount.org/2013-07-19-how-to-sleep-a-million-years/ [idea.popcount.org]
2018-01-13 08:48
tags:
development
library
programming
swtools
Fluxcapacitor runs any program in an special environment which has different view on passing time than the rest of the operating system. From a point of view of a program everything is normal, but if you observe it from outside you’ll see it run “faster”. You can say fluxcapacitor speeds up the flow of time for the program.
source: L
Epoll is fundamentally broken 2/2
https://idea.popcount.org/2017-03-20-epoll-is-fundamentally-broken-22/ [idea.popcount.org]
2017-03-20 16:44
tags:
concurrency
library
linux
programming
systems
To make matters worse, you need a valid file descriptor handle to manage subscriptions on “epfd”. After we called close(rfd), there is no way to unregister it from epfd!
source: L
Epoll is fundamentally broken
https://idea.popcount.org/2017-02-20-epoll-is-fundamentally-broken-12/ [idea.popcount.org]
2017-02-21 23:39
tags:
concurrency
linux
perf
programming
systems
Using epoll() correctly is hard.
source: solar
Select is fundamentally broken
https://idea.popcount.org/2017-01-06-select-is-fundamentally-broken/ [idea.popcount.org]
2017-01-06 01:00
tags:
linux
networking
perf
programming
systems
unix
A bold claim, but select does have its problems. The linked history is also interesting.
source: L