Learn to code by coding - try our free CS courses

Running Rust in the Browser with Web Assembly


I’ve recently been working on getting Rust support in the Qvault app. In order to write a more engaging course, I want students to be able to write and execute code right in the browser. As I’ve learned from my previous posts on this topic, the easiest way to sandbox code execution on a server …

Read more

Rust Backend vs Go Backend in Web Development

golang vs rustlang logos

Rust and Go are two of the industry’s biggest successes when it comes to developing modern programming languages. Both languages compete in terms of backend web development, and it’s a fierce competition. Golang and Rust are new languages, have growing communities, and are fast and efficient. When it comes to microservice architectures, frameworks, and apps, …

Read more

How to Break From Nested Loops in Rust

photo 1455826581186 3031bc66471d

Loops in Rust aren’t the same as standard C-style languages. The syntax is different and there are some powerful options that make looping easier. First, let’s go over some looping basics, then we will cover how to handle breaking and continuing in nested loops in Rust. Standard For-Loop Which prints: 0..10 is an iterator where …

Read more

Concurrency In Rust; Can It Stack Up Against Go’s Goroutines?

photo 1518181835702 6eef8b4b2113

One of the primary goals of the Go programming language is to make concurrency simpler, faster, and more efficient. With Rust growing in popularity let’s see how its concurrency mechanisms stack up against Go’s. A Refresher On Goroutines In Go, concurrency is accomplished by spawning new goroutines: In the example above, we use the go …

Read more

Rust vs Go – Which Is More Popular?

Rust vs Go; Which is More Popular

Go and Rust are two of the hottest compiled programming languages, but which is more popular, Go or Rust?. I develop in Go full-time and love it, and I’m learning more about Rust recently – it’s an exciting language. Let’s explore some differences between the two and look at which is growing faster in the …

Read more