<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Josie Bigler</title>
    <description>The latest articles on DEV Community by Josie Bigler (@josiebigler).</description>
    <link>https://dev.to/josiebigler</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F264884%2Fdbc2d025-15c7-4ee7-9b6b-6aa68e3622e0.jpeg</url>
      <title>DEV Community: Josie Bigler</title>
      <link>https://dev.to/josiebigler</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/josiebigler"/>
    <language>en</language>
    <item>
      <title>JavaScript vs WebAssembly, see the difference</title>
      <dc:creator>Josie Bigler</dc:creator>
      <pubDate>Mon, 24 Feb 2020 19:17:39 +0000</pubDate>
      <link>https://dev.to/josiebigler/javascript-vs-webassembly-see-the-difference-5b3i</link>
      <guid>https://dev.to/josiebigler/javascript-vs-webassembly-see-the-difference-5b3i</guid>
      <description>&lt;p&gt;As a younger lad, exploring the world of Programming, a very dear friend and mentor of mine showed me the wonderful Conway's Game of Life.  It's more a simulation than a game.  My mentor had implemented theirs in C, printing the results to the console. &lt;/p&gt;

&lt;p&gt;I saw it as a fun way to try and think about performance. While the logic is straight forward the calculation is heavy, especially compared to anything else you're doing as a Web Developer.  &lt;/p&gt;

&lt;p&gt;I'm not a low-level developer. Which means my implementation was in JavaScript.  My first attempt was bad, like REALLY bad.  I kept working on improving performance, until I came to what I have now.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://game-of-life-js.s3-website.us-east-2.amazonaws.com/"&gt;My JavaScript implementation of Conway's Game of Life&lt;/a&gt;.  I'm sure there's ways to improve the performance, but I haven't found any online.  Most of the beautiful versions online only display on a smaller screen (and thereby reducing the number of calculations). &lt;/p&gt;

&lt;p&gt;Now let’s talk about Web Assembly.  Depending on who you ask Web Assembly is somewhere between the next version of Silverlight (bad) to a JavaScript killer (good?).  &lt;/p&gt;

&lt;p&gt;In order to see for myself, I set out to find a Web Assembly implementation of Conway’s Game of Life.  I found an example in the creators of &lt;a href="https://github.com/AssemblyScript/assemblyscript"&gt;AssemblyScript&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://game-of-life-wasm.s3-website-us-east-1.amazonaws.com/"&gt;Here it is!&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;LOOK HOW BUTTERY SMOOTH THAT IS!&lt;/p&gt;

&lt;p&gt;MY God, Web Assembly blows my implementation out of the water.&lt;/p&gt;

&lt;p&gt;WebAssembly offers a real, tangible benefit with its near native performance.  Any technologies built ontop of WebAssembly, to me, just got more exciting.  This includes the afformentioned AssemblyScript and Blazor.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
