<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Rust on Manuel Bernhardt</title><link>https://manuel.bernhardt.io/tags/rust/</link><description>Recent content in Rust on Manuel Bernhardt</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 29 Feb 2024 12:31:39 +0100</lastBuildDate><atom:link href="https://manuel.bernhardt.io/tags/rust/index.xml" rel="self" type="application/rss+xml"/><item><title>Fearless concurrency with Rust, cats, and a few Raspberry PIs</title><link>https://manuel.bernhardt.io/posts/2024-01-26-rust-fearless-concurrency-cats-raspberry-pi/</link><pubDate>Fri, 26 Jan 2024 10:58:12 +0100</pubDate><guid>https://manuel.bernhardt.io/posts/2024-01-26-rust-fearless-concurrency-cats-raspberry-pi/</guid><description>&lt;p>Somehow I&amp;rsquo;m never satisfied when a program only runs on one computer. The reassuring feeling of connectedness, the thrill of discovering who else is there on the network, the fear of network instability and the insanity of trying to establish a coherent view of the world on multiple machines are both a source of joy and despair that keep me hooked. But I digress&amp;hellip;&lt;/p>
&lt;p>In the previous article, we looked at &lt;a href="https://manuel.bernhardt.io/posts/2024-01-12-rust-cat-litter-box/">building a blinking Raspberry PI with Rust&lt;/a> to help cat owners think about cleaning the cat litter box (and avoid death stares from their feline companions). In this article, we&amp;rsquo;ll take things a step further and expand the Reminder PIs to a network, allowing to spread them all over the house so that forgetting about this daily cat owner duty will become an almost impossible thing to do. In order to achieve this, we will embrace the principles of &lt;a href="https://doc.rust-lang.org/book/ch16-00-concurrency.html">Fearless Concurrency&lt;/a> made possible by Rust&amp;rsquo;s memory management paradigm. More specifically, we will:&lt;/p></description></item><item><title>Building a cat litter box reminder with Rust</title><link>https://manuel.bernhardt.io/posts/2024-01-12-rust-cat-litter-box/</link><pubDate>Fri, 12 Jan 2024 15:34:48 +0100</pubDate><guid>https://manuel.bernhardt.io/posts/2024-01-12-rust-cat-litter-box/</guid><description>&lt;p>I continued working on a side-project I built a year ago with &lt;a href="https://www.rust-lang.org/">Rust&lt;/a>, and it is now at a point at which I can write something about it.&lt;/p>
&lt;p>When you own cats, you also own a litter box for said cats which needs to be emptied regularly (at least once a day for two adult cats). Failing this, the cats will give you a look which, in human language, means as much as &amp;ldquo;I will murder you in your sleep&amp;rdquo; which is not a very pleasant feeling.&lt;/p></description></item><item><title>Rust Development for the Raspberry Pi on Apple Silicon</title><link>https://manuel.bernhardt.io/posts/2022-11-04-rust-development-for-the-raspberry-pi-on-apple-silicon/</link><pubDate>Fri, 04 Nov 2022 17:36:39 +0100</pubDate><guid>https://manuel.bernhardt.io/posts/2022-11-04-rust-development-for-the-raspberry-pi-on-apple-silicon/</guid><description>&lt;p>&lt;em>Update (18.02.2023): Updated the article to reflect the usage of VSCode remote development instead of JetBrains Gateway&lt;/em>&lt;/p>
&lt;p>A few weeks ago I started building a Rust project for the Raspberry PI using my brand new MacBook Pro with an M1 chip (the old MacBook Pro from late 2013 still works but it simply is too slow for the work I&amp;rsquo;m doing these days).&lt;/p>
&lt;p>
 &lt;figure style="text-align: center">
 &lt;img src="https://manuel.bernhardt.io/wp-content/new-mac.jpg" class="pure-img" alt="">
 &lt;figcaption>Shiny new MacBook Pro complete with scuba-diving sticker from my wife&lt;/figcaption>
 &lt;/figure>

&lt;/p></description></item></channel></rss>