<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>@FPSD (Posts about rust gamedev programming)</title><link>https://francesco.pischedda.info/</link><description></description><atom:link href="https://francesco.pischedda.info/categories/rust-gamedev-programming.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Sun, 14 Jun 2020 15:58:45 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Evaluating Rust for game development</title><link>https://francesco.pischedda.info/posts/evaluating-rust-for-game-development/</link><dc:creator>Francesco "fpsd" Pischedda</dc:creator><description>&lt;div class="section" id="evaluating-rust-for-game-development"&gt;
&lt;h2&gt;Evaluating Rust for game development&lt;/h2&gt;
&lt;p&gt;There is no doubt that Rust is gaining popularity as a system development
language and most of the time games and game engines are built using languages
such as c or c++ which were born with the same target in mind, being able to
access all the capabilities that a machine has to offer with the minimum
runtime overhead.&lt;/p&gt;
&lt;p&gt;In the last years, powerful engines and tools have offered a pletora of bindings
for different languages like C#, Lua, Python, Javascript and so on with great
results; for example Unity have had and continue to have a great success
providing a powerful platform to build game on so why taking the risk and effort
to use such a low level language to build a game?&lt;/p&gt;
&lt;p&gt;As an "old school" developer I prefer to be in control of my software development
stack and often, instead of creating the game that I have in mind, I start
creating an engine to build my game on...but why?
That's because it is fun! Or because for some simple game it seems to be easier
to create a small library (or extend some old code) instead of using a powerfull
solution like Unreal Engine, or and or and or...&lt;/p&gt;
&lt;p&gt;I have started creating games again and again using high level languages like
Python, Javascript, Lua and even the good old c++; in general I really like to
create prototypes with python but it is not easy to distribute your games and
almost impossible (or reaay hard) to target mobile platforms.
Another option is to target the browser with the growing set of available engines
but again, targeting mobile platforms can be a problem and targeting consoles is
almost impossible.&lt;/p&gt;
&lt;p&gt;Rust on the other end is a very young player in the field but with its
ability to target many architectures I think that starting to think about
using it can be a safe bet; there is at least one success story for using rust
for game development and the final result is &lt;cite&gt;encouraging&amp;lt;https://www.rust-lang.org/pdfs/Rust-Chucklefish-Whitepaper.pdf&amp;gt;&lt;/cite&gt;.&lt;/p&gt;
&lt;div class="section" id="list-of-available-resources"&gt;
&lt;h3&gt;List of available resources&lt;/h3&gt;
&lt;p&gt;Right now the best collection of rust game development related project can be
found in the "Are we game yet" &lt;cite&gt;page&amp;lt;http://arewegameyet.com/&amp;gt;&lt;/cite&gt;.
this web site maintain a list of frameworks and engines fro the lowest level
flavour to the most complete game engine.&lt;/p&gt;
&lt;p&gt;Of all the available solutions &lt;cite&gt;ggez&amp;lt;https://github.com/ggez/ggez/&amp;gt;&lt;/cite&gt; (Good Game Easy)
is the one which attracts me the most because I like to create small prototypes
and not having the knowledge overhead required by other full featured engines or
frameworks like &lt;cite&gt;piston&amp;lt;https://github.com/PistonDevelopers/piston&amp;gt;&lt;/cite&gt; or
&lt;cite&gt;amethyst&amp;lt;https://github.com/amethyst/amethyst&amp;gt;&lt;/cite&gt; it is helpful when experimenting;
it also feels like a microframework to which you can add the components you need
without having to comply with other people choices and taste.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;</description><category>rust gamedev programming</category><guid>https://francesco.pischedda.info/posts/evaluating-rust-for-game-development/</guid><pubDate>Sun, 06 May 2018 16:19:55 GMT</pubDate></item></channel></rss>