Conf42: JavaScript 2022

...

Implementing a performant URL parser from scratch

Yagiz Nizipli
Node.js Core Member, Senior Software Engineer

Yagiz Nizipli's LinkedIn account Yagiz Nizipli's twitter account


Performance plays and important role in engineering. After looking for contributing to Node.js, implementing a very fast specification compliant URL state machine and a parser for Node.js became the project which pushes the boundaries of both javascript user-land and node.js.

I’ve been working on implementing the URL parser, currently written in C++, in Rust and WebAssembly. I want to share my experience working on it, and benchmarking with the native implementation. The first talk will cover implementing it in Rust and WebAssembly, which I wrote it on https://www.yagiz.co/implementing-node-js-url-parser-in-webassembly-with-rust/, and then I’ll focus on implementing it using JavaScript and releasing it under github.com/anonrig/url-js.

Awesome conferences for

Priority access to all content

Community Discord

Exclusive promotions and giveaways