15 karma · joined January 24, 2012
And just to mention: NEVER create a website for your school :D
I am extremely proud of my recent decision to rewrite it in JavaScript and use Node.js. In the C implementation, I used standard FS functions (e.g. unlink, fwrite, fread) and of course, they are synchronous. In order to optimize the I/O, the entire daemon needed to be rewritten to use threads for the basic worker units, which were at least 5-6, each doing a very simple job. The alternative was to use async FS library in C, but I had to name every single callback.
So I scratched the C code and rewrote the daemon in Node.js. It is much faster because it manages to utilize the system resource much more efficiently, and the code is 3-4 times smaller.
The point is. If you have to do a lot of computation, DO NOT switch to Node or DO switch to Haskell. If you simply have to manage I/O operations, writing in Node might actually decrease complexity.
Not to mention, in today's world, it is impossible to live without depending on corporations. The only way to live without someone knowing a lot about you is to live in a cave, miles away from civilization.
The way he is using computers: he is just putting restrictions on himself, thinking he actually removes them.
The only thing I agree with here is his opinion about Lisp.