Introduction to libuv – Thorsten Lorenz





The interactive transcript could not be loaded.


Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Mar 4, 2015

libuv is a multi-platform support library with a focus on asynchronous I/O. It was primarily developed for use by Node.js, but it's also used by Mozilla's Rust language, Luvit, Julia, pyuv, and others.

libuv is the interface to the underlying system, providing an API to perform asynchronous file system operations, access TCP or UDP sockets, IPC, listen to file system events and more. Additionally it provides an event-loop implementation backed by kernel eventing mechanisms like epoll and kqueue.

It is no overstatement to call libuv the powerhouse of Node.js and thus it is important to understand it in order to understand how Node.js works. The best way to get a better understanding is to use libuv as a library in C programs.

This libuv workshop will have you do exactly that. You'll be reading files, download webpages and other fun stuff and all that via simple C programs.

After completing the workshop you should have a much better understanding of libuv and thus the inner workings of Node.js and be equipped to troubleshoot any problems you may run into in the future in a more educated manner.

Thorsten is a Jazz musician turned developer and is excited about Node.js and its community The fast turnaround from idea to working module has proven addictive for him and led to lots of modules which ended up on github and/or npm. He also contributes to other awesome open source efforts like browserify to which he added source map support.

Lately he has been focusing on understanding the Node.js stack in more depth, focusing on libuv and v8.

Thorsten works for NodeSource.


to add this to Watch Later

Add to

Loading playlists...