Hello,
last weekend I asked how nodejs event loop worked and I became a great link
about it: http://nikhilm.github.com/uvbook/basics.html#event-loops
Unfortunately I still got a major understanding problem about nodejs:
When we use some node modules which itself look like plain javascript then
The language itself has no I/O at all. Even setTimeout and setInterval are
implemented by the libuv bindings using uv_timer_t instances. In the
browser the language VM is bound to the browser natives and APIs. In node,
the language is bound to libuv and other natives that node exposes.
As far a
Hello,
thank you for your answer!
This sounds really amazing. I hope I find the resources to understand this some
days.
Could you recommend a good tutorial for learning c(++) so I can understand and
play around with libuv (and later on understand the bindings you linked to)?
Regards,
Bodo
Am
I'm a C++ newb myself, so I can't recommend any good resources. I learned
most my libuv through porting node to lua (luvit.io), but that was all
plain C code (which I consider much easier than C++).
On Mon, Feb 11, 2013 at 10:05 AM, Bodo Kaiser wrote:
> Hello,
>
> thank you for your answer!
>
>
I would also be happy with some C Tutorial :)
PS: To luvit: Interesting that it is possible to use the Node basement with
different languages and also that this is faster than JavaScript (because of
the native c bindings?). I will follow the project and look how it will
develope.
Regards,
Bodo
I learned my C from various C man pages on google searches and asking
around on irc channels.
Regarding performance between luvit and node.js, it's not objectivly one is
faster than the other. It is true that luajit and v8 are both very fast
JIT VMs with their own unique strengths.
The biggest d
On Mon, Feb 11, 2013 at 9:28 AM, Bodo Kaiser wrote:
> I would also be happy with some C Tutorial :)
>
Kernighan and Ritchie's C book is your best bet :) It's very short and
succinct and well written.
Nikhil
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyen
I will keep the man pages and the channels on mind thank you!
I took the performance these from luvit.io where it says two to four times
faster than node on hello world server.
However I think performance is a very small issue on both platforms. I am
interesting how both will develop.
There is E
Thank you for the hint. Will keep a look at it.
Regards,
Bodo
Am 11.02.2013 um 18:42 schrieb Nikhil Marathe :
> On Mon, Feb 11, 2013 at 9:28 AM, Bodo Kaiser wrote:
>> I would also be happy with some C Tutorial :)
>>
>
> Kernighan and Ritchie's C book is your best bet :) It's very short and
>