A New Network Stack For Zcash
In the Foundation’s engineering roadmap for 2020, we overviewed our plans for Zebra, our Rust implementation of Zcash. Announced last summer at Zcon1, Zebra aims to support the core strength of Zcash –...
View ArticleCommentable.rs - Building a Serverless Comment System in Rust
In this article I'm going to write about my journey of building Commentable.rs - a privacy oriented Disqus-like comment hosting solution written in Rust and running on AWS Lambda.
View ArticleRust Web Development Tutorial: Pagination
In this tutorial, we are going to build pagination for our API results. To solve this problem we need to hook into Diesel’s query builder, so I will also cover how we can do that. This tutorial builds...
View ArticleBastion floating on Tide - Part 1
This post is Part one of a series on how to build a highly fault tolerant system using bastion-rs, and expose an async web api with Tide. Part one is about setting up a simple Tide server, and covers...
View ArticleActually Using Wasm
One of the interesting prospects of WebAssembly is that it can be used for safe and portable sandboxing on systems that aren’t web browsers. This is somewhat undersold by at least some parts of the...
View ArticleStork Impossibly fast web search, made for static sites
Stork is two things that work in tandem to put a beautiful, fast, and accurate search interface on your static site. First, it’s a program that indexes your content and writes that index to disk....
View ArticleProgramming Servo: implementing BroadcastChannel
The story of the implementation of the BroadcastChannel Web API in Servo, a large multi-process and multi-threaded Rust codebase.
View ArticleAnnouncing Rust IPFS, and a call for contributors
Calling all Rustaceans, Rustafarians, Ferrosities, and rustlers - we’ve got an exciting update! Active full time work on a Rust-IPFS implementation has commenced, building on the great work by Parity...
View ArticleJIRA OAuth 1.0a using Rust
I recently was in the situation that I had to implement a connection to the JIRA API, which means the privilege of having to deal with their OAuth 1.0a implementation.Unfortunately, JIRA at this point...
View ArticleBuilding Site Search With Tantivy
I've long wanted to be able to index and search my own content -- to set up ad hoc "search engines" for different purposes as they come up, with sophisticated search strategies and customized,...
View ArticleUsing no standard library crates with Webassembly
When working with Rust + Webassembly, you might want to use some crates in your project. Not all crates work out of the box with Webassembly yet, especially those that rely on System Libraries, File...
View ArticleUsing TLS and SNI with Rustls in Actix
In this tutorial I assume that you have already obtained a certificate from LetsEncrypt. If not, please start with that process first. Once you have obtained the certificate, we will need two files...
View ArticleIntroducing R2, a Router in Rust
R2 began from a desire to learn the internals of the HFSC scheduler by writing it from scratch. It started with our decision to use HFSC at a startup I was working at. We were having troubles with a...
View ArticleWiremock: async HTTP mocking to test Rust applications
I released wiremock, a new crate that provides HTTP mocking to test Rust applications. You can spin up as many mock HTTP servers as you need to mock all the 3rd party APIs that your application...
View ArticleFrom Rust to WebAssembly: building an interactive note-taking webapp with...
In this blog post, I want to introduce the personal note taking app that I wrote for myself. I want to highlight the use-case that I'm looking to solve, as well as the challenges that I ran into with...
View ArticleTeleforking a process onto a different computer!
One day a coworker mentioned that he was thinking about APIs for distributed compute clusters and I jokingly responded “clearly the ideal API would be simply calling telefork() and your process wakes...
View Articlewgpu-rs on the web
gfx-rs is a Rust project aiming to make low-level GPU programming portable with low overhead. It’s a single Vulkan-like Rust API with multiple backends that implement it: Direct3D 12/11, Metal, Vulkan,...
View ArticleThe Phemex Exchange Part 1
They say imitation is the sincerest form of flattery. In that light, I was inspired by an ex-Morgan Stanley colleague - Kyle Downey - to start my own blog. This is my first post on that endeavor and I...
View ArticleThe Safety Boat: Kubernetes and Rust
Our team, DeisLabs, recently released a new piece of software called Krustlet, which is a tool for running WebAssembly modules on the popular, open-source container management tool called Kubernetes....
View ArticleDynamic Stylesheets and Yew
I recently discovered a really cool front-end framework written in Rust called Yew. I feel like it’s a spiritual cross between the functional language Elm and React.Currently, there is no agreed upon...
View Article