Zero To Production #3: How To Bootstrap A Rust Web API From Scratch
We spent the whole Chapter 2 defining what we will be building (an email newsletter!), narrowing down a precise set of requirements. It is now time to roll up our sleeves and get started with it.This...
View ArticleGetting started with WebAssembly and Rust
I initially picked up Rust because of the fantastic work the team has done to support and push WebAssembly. The official documentation is a great resource for building an example project.This guide...
View ArticleBuilding a faster CouchDB View Server in Rust
A project I’ve been working on over the last few months is implementing the new CouchDB javascript view server in Rust and then benchmarking how it compared to the official Cloudant View Server.This is...
View ArticleIPv6 and Rust
At NLnet Labs, we chose Rust when starting two related projects for the routing security framework, RPKI: the certification authority Krill, and the relying party software, Routinator. Initially...
View ArticleMeili raises 1.5M€ for open source search in Rust
We recently raised 1,5M euros from LocalGlobe, Seedcamp, Kima & Tiny.vc. This funding will allow us to focus on building a community of early adopters & contributors around our open search...
View ArticleSingle Page Applications using Rust
WebAssembly (wasm) allows code written in languages other than JavaScript to run on browsers. If you haven’t been paying attention, all the major browsers support wasm and globally more than 90% of...
View ArticleAsync Unicorns love Rust
Before going on to write a backend for our weather station we first need to familiarize ourselves with a few concepts from the Rust world. If you are unfamiliar with the language take a few minutes to...
View ArticleWriting an asynchronous MQTT Broker in Rust - Part 3
When I began this project, many months ago, there were no good resources on Tokio. I procrastinated on writing this blog series, but my intention was for it to be a guide on using Tokio and...
View ArticleZero To Production #3.5: HTML forms, Databases, Integration tests
In the first part of Chapter 3 we covered a fair amount of ground - we set out to implement a /health_check endpoint and that gave us the opportunity to learn more about the fundamentals of our web...
View ArticleRust HTTP Testing with httpmock
HTTP mocking libraries allow you to simulate HTTP responses so you can easier test code that depends on third-party APIs. This article shows how you can use httpmock to do this in Rust.
View ArticleWhat I Learnt from Benchmarking Http4k, Ktor (Kotlin) and Actix v2, v3 (Rust)...
Back in spring 2020 at GoOut, we were looking to replace our Spring-Tomcat duo by a more lightweight framework to power our future Kotlin microservices. We did some detailed (at times philosophical)...
View ArticleAnnouncing Actix Web v3.0
We are pleased to announce the next major release for actix-web, v3.0! This is the safest, most stable version yet. We highly recommend everyone upgrade to v3 ASAP to benefit from these improvements....
View ArticleRust in curl with Hyper
tldr: work has started to make Hyper work as a backend in curl for HTTP.
View ArticleRewriting the Modern Web in Rust
> Building a modern web app with Rust, Bazel, Yew and Axum.Earlier this year I rewrote my website with Next.js, React, tsx, and mdx. Having tried full-stack rust in the past, I didn’t think its...
View Articlezerocal - A Serverless Calendar App in Rust Running on shuttle.rs
Like any reasonable person, I wanted a way to create calendar entries from my terminal.That's how I pitched the idea to my buddies last time. The answer was: "I don’t know, sounds like a solution in...
View ArticleA Memory Safe Implementation of the Network Time Protocol
For the last few months we at Tweede golf have been working on implementing a Network Time Protocol (NTP) client and server in rust.The project is a Prossimo initiative and is supported by their...
View ArticleSupporting the Use of Rust in the Chromium Project
We are pleased to announce that moving forward, the Chromium project is going to support the use of third-party Rust libraries from C++ in Chromium. To do so, we are now actively pursuing adding a...
View ArticleRunning Zola on WebAssembly
Even though Zola is written in Rust, it still relies on glibc, the GNU C Library. The update to v15 changed how the Zola binary for Linux was built, causing it to rely on newer versions of glibc. After...
View ArticleParsing TFTP in Rust
Several years ago I did a take-home interview which asked me to write a TFTP server in Go. The job wasn't the right fit for me, but I enjoyed the assignment. Lately, in my spare time, I've been...
View ArticleRust to WebAssembly the hard way
What follows is a brain dump of everything I know about compiling Rust to WebAssembly. Enjoy.Some time ago, I wrote a blog post on how to compile C to WebAssembly without Emscripten, i.e. without the...
View Article