Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tpush
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
81 ms
·
901.
▲
by
tpush
12y ago
If you only care about OS X, bpf(4) provides a very similar but nicer API for intercepting and sending raw packets. You could even go zero-copy without the hell that is Linux's 3 differently broken AF_PACKET mechanisms. I made a sm
902.
▲
by
tpush
12y ago
Note that, according to SysV AMD64 calling convention, structs with integer/pointer members up to 128 bits(including padding) are passed in registers. ARM 64 bit is similar in this respect, I believe.
903.
▲
by
tpush
12y ago
I'd even argue that, with an LTO-optimizing compiler (e.g. clang -flto), writing functions inline is basically obsolete. In my case clang/llvm is very much able to inline code across object file boundaries, even capable of analyzi
904.
▲
The benefits of LTO.
(bratwurst-und-sauerkraut.blogspot.com)
9 points
by
tpush
12y ago
|
0 comments
905.
▲
by
tpush
13y ago
I have done the same, sort of, only eschewing BIOS for UEFI and thus getting straight to Long Mode :-). It's pretty basic, currently just boots up and prints the memory map. It's written in C++11 with the aim to be as clear as pos