tilde/blog/webassembly.html

73 lines
4.1 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="manifest" href="/manifest.json">
<meta name="theme-color" content="#00cc00">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-310x310.png">
<link rel="icon" type="image/png" sizes="192x192" href="/apple-touch-icon-precomposed.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="stylesheet" href="/css/hacker.css">
<link rel="stylesheet" href="extra.css">
<link rel="alternate" type="application/rss+xml" title="Subscribe to this page..." href="feed.rss" />
<title>webassembly</title>
<meta name='twitter:card' content='summary' />
<meta name='twitter:site' content='@nebsirrah' />
<meta name='twitter:title' content='webassembly' />
<meta name='twitter:description' content=" according to this post on the mozilla blog, we will be able to compile wasm as it streams into the browser in much the same way that images are decoded. this is a huge game changer from the current paradigm of loading javascript completely before b" />
</head><body>
<div class="container">
<div id="divbodyholder">
<div class="headerholder"><div class="header">
<div id="title">
<h1 class="nomargin"><a class="ablack" href="https://tilde.team/~ben/blog/index.html">blog // ~ben</a></h1>
<div id="description">a blog about tildes and other things</div>
</div></div></div>
<div id="divbody"><div class="content">
<!-- entry begin -->
<h3><a class="ablack" href="webassembly.html">
webassembly
</a></h3>
<!-- bashblog_timestamp: #201801171309.13# -->
<div class="subtitle">January 17, 2018 &mdash;
~ben
</div>
<!-- text begin -->
<p>according to <a href="https://hacks.mozilla.org/2018/01/making-webassembly-even-faster-firefoxs-new-streaming-and-tiering-compiler/">this post</a> on the mozilla blog,
we will be able to compile wasm as it streams into the browser in much the same way that images are decoded. this is a huge game changer from the current paradigm
of loading javascript completely before being able to parse and compile it. </p>
<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">JavaScript code is much more expensive, byte for byte, than an image, because of the time spent parsing and compiling it.<br><br>It&#39;s possible to parse and compile wasm as fast as it comes over the network, which makes it much more like an image than JavaScript code.<br><br>Game changer!</p>&mdash; Yehuda Katz (@wycats) <a href="https://twitter.com/wycats/status/942908325775077376?ref_src=twsrc%5Etfw">December 19, 2017</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<p>this will make <a href="https://github.com/WebAssembly/design/blob/master/UseCases.md">so many things</a> possible in the browser that never were before!</p>
<p>i decided to follow this <a href="http://webassembly.org/getting-started/developers-guide/">tutorial</a> and ended up with <a href="https://tilde.team/~ben/wasm/hello.html">this</a>.</p>
<p>i don't know what to do next. any ideas?</p>
<p>Tags: <a href='tag_wasm.html'>wasm</a>, <a href='tag_dev.html'>dev</a>, <a href='tag_internet.html'>internet</a></p>
<!-- text end -->
<p id='twitter'><a href='http://twitter.com/intent/tweet?url=https://tilde.team/~ben/blog/webassembly.html&text=&lt;Type your comment here but please leave the URL so that other people can follow the comments&gt;&via=nebsirrah'>Comments? Tweet</a>
<a href='https://twitter.com/search?q=https://tilde.team/~ben/blog/webassembly.html'><span id='count-24925'></span></a>&nbsp;</p>
<!-- entry end -->
</div>
<div id="footer">CC by-nc-nd <a href="https://tilde.team/~ben/">~ben</a> &mdash; <a href="mailto:ben&#64;tilde&#46;team">ben&#64;tilde&#46;team</a><br/>
Generated with <a href="https://github.com/cfenollosa/bashblog">bashblog</a>, a single bash script to easily create blogs like this one</div>
</div></div>
</div>
<br>
</body></html>