You Learn Something New Everyday 💭

Ryan Levick

dev.to 2019 ✍️

In 2019 I tried out posting to dev.to. While I really enjoyed using the site and the community there is great, I ultimately decided to come back to posting on my own blog. Here are links to those articles: The Promise of WebAssembly The Most Minimal Serverless Function Giving TodoMVC the API It Deserves 64 Cores on Fire: Supercharging My Development Experience ...

Building and augmenting libraries by calling Rust from JavaScript 🦀🕸

This was posted originally on opensource.com. In Why should you use Rust in WebAssembly?, I looked at why you might want to write WebAssembly (Wasm), and why you might choose Rust as the language to do it in. Now I’ll share what that looks like by exploring ways to embed Rust inside JavaScript. This is something that separates Rust from Go, C#, and other languages with large runtimes that can compile to Wasm....

Why should you use Rust in WebAssembly? 🦀🕸

This was posted originally on opensource.com. WebAssembly (Wasm) is a technology that has the chance to reshape how we build apps for the browser. Not only will it allow us to build whole new classes of web applications, but it will also allow us to make existing apps written in JavaScript even more performant. In this article about the state of the Rust and Wasm ecosystem, I’ll try to explain why Rust is the language that can unlock the true potential of WebAssembly....

Learning to Computer: How to Gain a New Skill 👩‍💻

Most people assume that I studied computer science in university and that I’ve been coding since I was young. They’re usually surprised when I tell them that in fact I studied Marketing and Spanish and that although my brother taught me how to build a very basic web page in the early 2000s, I didn’t really start to learn to program until I was an adult with a job....

I'm an Azure Cloud Developer Advocate! 🎉

Today I start a new role on the Azure Developer Advocate team! If you’re not already familiar with developer advocacy check out this awesome post by Ashley McNamara. She does a really great job of describing what a developer advocate and advocacy in general are and aren’t. In short advocacy isn’t about selling or marketing but rather giving a voice to developers everywhere whether or not they use a company’s particular products....

Rust WebAssembly 2019

I’ve already written my views on Rust 2019, but as I’ve been an occasional contributor to and a full-time follower of Rust’s WebAssembly story, I thought I’d offer my views there too. My hope is that 2019 will see a significant increase in the amount of time I spend with Rust, and I hope a good chunk of that time is in relation to wasm. A Full Stack Story Nick Fitzgerald has already highlighted in his Rust wasm post the need for the working group to contribute to libraries and tooling that are higher up in the stack....

Rust 2019: Stabilization

The Rust core team has asked for the community to give their ideas on what they’d like to see from Rust in 2019 and give hints to what the next edition of Rust (tentatively Rust 2021) could be like. Here’s my take. Stabilizing Rust If you’re familiar with the history of Rust you might be confused with a call to stabilization. After all, Rust 2015 (a.k.a 1.0) was all about stabilization and the team has actually done a pretty good job with achieving this goal....

Things I Knew Little About: Fonts and Font Rasterization

When it comes to computers and computer science, there are still lots of things I know very little about, and I suspect this will always be the case. Instead of learning something new and keeping it to myself, I thought I’d share the learnings in case they’re useful or interesting to others. For this post, I’ll be focusing on the wild world of font rasterization with tangents into Unicode and the OpenType file format....

A Sudoku Solver & Generator 🔢

For a small side project I’m working on, I’m using a Sudoku puzzle solver and puzzle generator that I’ve written in Rust. The experience was fun, so I thought I’d write up a little bit about the algorithm I’ve used and some interesting stats about how it performs. The Solver Algorithm The first thing I built was an algorithm for solving Sudoku puzzles. After reading a bunch of Stack Overflow articles and a research paper or two, I came to the conclusion that the best way (and maybe only way) to write a solver is using a recursive solver that picks a value for a cell from the possible values left, and if it gets stuck it backtracks and starts over again with a different random value....

Rust: Pass-By-Value or Pass-By-Reference? 👐

The other day, a friend of mine who is learning Rust asked if Rust is a pass-by-value or a pass-by-reference language. For the unfamiliar, pass-by-value means that when passing an argument to a function it gets copied into the new function so that the value in the calling function and the value in the called function are two separate values. Changes to one will not in turn result in the same change to the other....