News for hackers. Stuff that matters.
Re:KolibriOS – operating system written entirely in assembly... by theamk on Wednesday April 15, 2020 @12:13AM (#22874422)
You just have to be careful, because in a lot of cases good algorithms have much higher effect that raw performance.

Case in point: I saw a web forum once, written entirely in assembly language. The author claimed high performance, but looking at the sources, I saw that it uses no buffering, and even a simple webpage results in thousands of write syscalls. Whatever they saved in more efficient function prologues, they lost back in wasted context switches.

Re:KolibriOS – operating system written entirely in assembly... by duskwuff on Wednesday April 15, 2020 @09:08PM (#22885081)
I'd also be really concerned about security in that application. Web applications tend to do a lot of string processing, and naïve assembly implementations of string processing routines are likely to be vulnerable to all the same errors as a naïve C implementation -- buffer overflows, off-by-one errors, null byte injection...