<?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 Ryan Hunt's Blog</title><link>https://eqrion.net/tags/rust/</link><description>Recent content in Rust on Ryan Hunt's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 05 Oct 2018 08:08:20 -0500</lastBuildDate><atom:link href="https://eqrion.net/tags/rust/index.xml" rel="self" type="application/rss+xml"/><item><title>Future directions for cbindgen (rust-ffi)</title><link>https://eqrion.net/future-directions-for-cbindgen/</link><pubDate>Fri, 05 Oct 2018 08:08:20 -0500</pubDate><guid>https://eqrion.net/future-directions-for-cbindgen/</guid><description>&lt;link href="https://eqrion.net/css/prism.css" rel="stylesheet" /&gt;
&lt;script src="https://eqrion.net/js/prism.js"&gt;&lt;/script&gt;
&lt;p&gt;It&amp;rsquo;s been over a year since I first wrote about &lt;a href="https://github.com/eqrion/cbindgen"&gt;&lt;code&gt;cbindgen&lt;/code&gt;&lt;/a&gt;. A lot has happened since then.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;ve had a few new features added (&lt;a href="https://twitter.com/Gankro/status/958071737492627457"&gt;tagged enums!&lt;/a&gt;), it&amp;rsquo;s seen some good use (&lt;a href="https://crates.io/crates/cbindgen"&gt;25k all time downloads!&lt;/a&gt;), and there was a talk given at a &lt;a href="https://youtu.be/-IQ62T0bllw?t=5631"&gt;rust berlin meetup&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;This project started out as a quick fix for a problem we were facing at Mozilla. I thought others might find it useful so I open sourced it. It&amp;rsquo;s the first time I&amp;rsquo;ve ever ran an open source project, and I&amp;rsquo;ve learned a lot.&lt;/p&gt;
&lt;p&gt;To this day, I&amp;rsquo;m continually surprised to see people using this tool and going through the effort to improve it. To everyone who&amp;rsquo;s helped out, thank you!&lt;/p&gt;
&lt;p&gt;There is one issue I&amp;rsquo;d like to write about though.&lt;/p&gt;</description></item><item><title>Generating C bindings for Rust crates with cbindgen</title><link>https://eqrion.net/announcing-cbindgen/</link><pubDate>Wed, 30 Aug 2017 21:51:26 -0500</pubDate><guid>https://eqrion.net/announcing-cbindgen/</guid><description>&lt;p&gt;Rust is a great language for doing tasks normally done in C/C++. While it has a minimal runtime and zero-cost abstractions, it also has guaranteed memory safety and high level language features that make programming easier.&lt;/p&gt;
&lt;p&gt;Another neat thing about Rust is its ability to have a C FFI. Rust can be used to rewrite parts of an existing C/C++ application without having to rewrite the whole thing.&lt;/p&gt;
&lt;p&gt;This means that you can get some of the benefits of Rust, without having to rewrite the whole world (which is often infeasible and tends to introduce new bugs).&lt;/p&gt;</description></item><item><title>Solving Wordament Boards in Rust</title><link>https://eqrion.net/solving-wordament/</link><pubDate>Wed, 06 Apr 2016 21:51:26 -0500</pubDate><guid>https://eqrion.net/solving-wordament/</guid><description>&lt;p&gt;After a short break from coding for school, I finally got enough free time to finish a project. One of my favorite puzzle games is game called &lt;a href="http://www.wordament.com/"&gt;Wordament&lt;/a&gt;. It&amp;rsquo;s a bit old now, but it still has an active community. The game is like Boggle, you get points for building a word across tiles.&lt;/p&gt;
&lt;p&gt;To be honest, I&amp;rsquo;m not very good at it. So I thought, why not write a program to give me some answers? So I did. I know that there are other solvers out there, but I just thought it&amp;rsquo;d be fun to hack together.&lt;/p&gt;</description></item></channel></rss>