Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
akrasuski1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
akrasuski1
9y ago
Actually, the syscall numbers are wrong! This reference seems better: http://blog.rchapman.org/posts/Linux_System_Call_Table_for_x... Consider simple C program: #define _GNU_SOURCE #include <unistd.h>
32.
▲
by
akrasuski1
9y ago
That's all cool and everything, but the registers are wrong... Not only are they 32-bit (eax vs. rax), but their order is wrong too - the first argument in x86-64 ABI is rdi, for example.
33.
▲
by
akrasuski1
9y ago
The author suggests he wants to "expand this little DSL later so does something a little more complicated using some non-C++ syntax", so Nim's ordinary code evaluation at compile time wouldn't help either. On the other h
34.
▲
by
akrasuski1
9y ago
That is exactly what I thought - it seems to follow the exponential decay. A quick and dirty graph with logarithmic scale on price: https://imgur.com/a/90a4p Pretty much a straight line, except for the Thailand hiccup.