~/devreads

#rust

17 posts

3 May

16 Dec 2024

Luciano Mammino 10 min read

Announcing Crafting Lambda Functions in Rust, a new book that guides you through building efficient, reliable, and cost-effective AWS Lambda functions using Rust, written by Luciano Mammino and James Eastham. Learn why Rust and serverless are a perfect match. Early access is now available at rust-lambda.com!

rustserverlesslambda

23 Apr 2024

Alex Franchuk 20 min read

In this blog post, we delve into the motivations for choosing Rust for our crash reporter, outline the unique challenges of designing an application that operates when the main browser has failed, and discuss the new architecture we've implemented. We also share insights into the technical nuances of the implementation, demonstrating how Rust's features are leveraged to handle crashes more…

crash reportingdeveloper toolsfeatured articlefirefoxrust

10 Nov 2023

Luciano Mammino 7 min read

The software industry sees an interesting tension between generative AI capturing the software lifecycle and low-level languages aiming for better performance. As developers we must understand these trends and find a strategy. Learn one or both?

opinionjavascriptrustgoai

16 Aug 2023

8 Aug 2023

Ben Dean-Kawamura 5 min read

This blog post will walk through how we developed UniFFI: a Rust library for auto-generating foreign language bindings. We will walk through some of the issues that arose along the way and how we handled them. The post Autogenerating Rust-JS bindings with UniFFI appeared first on Mozilla Hacks - the Web developer blog.

featured articlefirefoxjavascriptrustuniffi

5 May 2023

23 Jun 2022

Aria Beingessner 16 min read

For the last year, we've been working on the development of rust-minidump, a pure-Rust replacement for the minidump-processing half of google-breakpad. The final part in this series takes you through fuzzing rust-minidump. The post Fuzzing rust-minidump for Embarrassment and Crashes – Part 2 appeared first on Mozilla Hacks - the Web developer blog.

featured articlefirefoxmozillarustfuzzing

26 May 2021

Luciano Mammino 12 min read

This article explores how to convert values to strings in Rust using traits like Debug, Display and ToString. It explains the difference between user-facing and debug representations.

rust

13 Apr 2021

Luciano Mammino 13 min read

This article explores return type polymorphism in Rust through examples like Default::default() and a custom dice rolling library. The technique allows writing generic functions that can return different types based on usage. Useful for extensible APIs.

rust

28 Mar 2021

Luciano Mammino 17 min read

This article provides a list of free and paid resources to learn Rust in 2021 including books, blogs, videos, newsletters, podcasts, communities, exercises, workshops, and open source projects.

rust

20 Jan 2021

Gian-Carlo Pascutto 12 min read

The release of Apple Silicon-based Macs at the end of last year generated a flurry of news coverage and some surprises at the machine’s performance. This post details some background information on the experience of porting Firefox to run natively on these CPUs. The post Porting Firefox to Apple Silicon appeared first on Mozilla Hacks - the Web developer blog.

featured articlefirefoxrustappleapple silicon

11 Oct 2020

Luciano Mammino 18 min read

This article summarizes the experience of two developers learning Rust by building an open source project and having it reviewed live by a Rust expert. It covers the improvements suggested during the review, including simplifying project structure, adding documentation, handling strings, removing code duplication, improving input validation and testing.

rust

9 Oct 2020

Chris Fallin 15 min read

This post will describe my recent work on Cranelift as part of my day job at Mozilla. In this post, I will set some context and describe the instruction selection problem. In particular, I’ll talk about a revamp to the instruction selector and backend framework in general that we’ve been working on. The post A New Backend for Cranelift, Part…

developer toolsfeatured articlefirefoxrustbytecode

25 Feb 2020

Nathan Froyd 7 min read

Protecting the security and privacy of individuals is a central tenet of Mozilla’s mission. While we continue to make extensive use of both sandboxing and Rust in Firefox to address security challenges in the browser, each has its limitations. Today we’re adding a third approach to our arsenal. RLBox, a new sandboxing technology developed by researchers at the University of…

featured articlefirefoxrustsecuritycranelift

21 Nov 2019

Nick Fitzgerald 31 min read

Multi-value is a proposed extension to core WebAssembly that enables functions to return many values, among other things. It is also a prerequisite for Wasm interface types. Nick Fitzgerald has been adding multi-value support all over the place recently, started with the Rust and WebAssembly toolchain. Next he added support to the Wasmtime runtime, and the Cranelift code generator it’s…

craneliftrustwasmwasm-bindgenwasmtime

2 Jul 2015

Dave Cheney 3 min read

This is a short blog post explaining why I believe that Go and Rust are not competitors. Why people think Rust and Go are competitors To explain why I think Rust and Go are not competitors, I want to to lay out the reasons why I think the question is being asked in the first place. Rust […]

goprogrammingrust