{"id":12311,"date":"2023-07-17T07:00:00","date_gmt":"2023-07-17T15:00:00","guid":{"rendered":"https:\/\/formtek.com\/blog\/?p=12311"},"modified":"2022-09-16T21:10:38","modified_gmt":"2022-09-17T05:10:38","slug":"webassembly-portable-cross-platform-deployment","status":"publish","type":"post","link":"https:\/\/formtek.com\/blog\/webassembly-portable-cross-platform-deployment\/","title":{"rendered":"WebAssembly &#8211; Portable Cross-Platform Deployment"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The evolution of infrastructure running in data centers has gone from &#8216;bare-metal&#8217; servers to virtual machines running on &#8216;bare-metal&#8217; servers to containers like Docker running on virtual machines.  The next step of the evolution is a new unit of deployment called <em>WebAssembly<\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/blog.container-solutions.com\/wtf-is-webassembly\" data-type=\"URL\" data-id=\"https:\/\/blog.container-solutions.com\/wtf-is-webassembly\">WebAssembly (Wasm) <\/a>is a portable binary format that encapsulates compiled C++, Javascript, and Rust code. The idea is similar to how containers can be portably deployed, but it further streamlines what&#8217;s needed to deploy an application. Wasm is similar to Java&#8217;s JVM and provides a secure operating environment that can work across hardware and operating systems.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The original target of Wasm was as an engine to be built into the major browsers like Chrome, Firefox and Edge, enabling browsers to run high-performance games, graphics, and other applications in the browser. It provides near-native execution speeds, so it would provide a performance improvement to browsers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/wasmbyexample.dev\/examples\/wasi-introduction\/wasi-introduction.all.en-us.html\" data-type=\"URL\" data-id=\"https:\/\/wasmbyexample.dev\/examples\/wasi-introduction\/wasi-introduction.all.en-us.html\">WebAssembly comes with WASI<\/a>, the WebAssembly System Interface.  WASI provides standard APIs for accessing system resources like the file system, networking, time, random numbers, and more. These capabilities also make it possible to use Wasm to build high-performance server-side and mobile applications, so it isn&#8217;t limited to just building browser-based apps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Kevin Hoffman, a technology author, <a href=\"https:\/\/blog.container-solutions.com\/wtf-is-webassembly\" data-type=\"URL\" data-id=\"https:\/\/blog.container-solutions.com\/wtf-is-webassembly\">wrote that<\/a> &#8220;the characteristics that we have long considered the holy grail of computing\u2014small size, portability, security, performance\u2014are all things that we get with WebAssembly and&#8230; it is very likely going to grow to be in or around everything we do in the future as software developers.&#8221;<\/p>\n<div class=\"lightsocial_container\"><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/digg.com\/submit?url=https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F&amp;title=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/digg.png\" alt=\"Digg This\" title=\"Digg This\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F&amp;title=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/reddit.png\" alt=\"Reddit This\" title=\"Reddit This\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.stumbleupon.com\/submit?url=https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F&amp;title=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/stumbleupon.png\" alt=\"Stumble Now!\" title=\"Stumble Now!\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/buzz.yahoo.com\/buzz?targetUrl=https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F&amp;headline=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/yahoo_buzz.png\" alt=\"Buzz This\" title=\"Buzz This\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.dzone.com\/links\/add.html?title=&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/dzone.png\" alt=\"Vote on DZone\" title=\"Vote on DZone\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.facebook.com\/sharer.php?t=&amp;u=https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/facebook.png\" alt=\"Share on Facebook\" title=\"Share on Facebook\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/delicious.com\/save?title=&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/delicious.png\" alt=\"Bookmark this on Delicious\" title=\"Bookmark this on Delicious\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.dotnetkicks.com\/kick\/?title=&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/dotnetkicks.png\" alt=\"Kick It on DotNetKicks.com\" title=\"Kick It on DotNetKicks.com\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/dotnetshoutout.com\/Submit?title=&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/dotnetshoutout.png\" alt=\"Shout it\" title=\"Shout it\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.linkedin.com\/shareArticle?mini=true&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F&amp;title=&amp;summary=&amp;source=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/linkedin.png\" alt=\"Share on LinkedIn\" title=\"Share on LinkedIn\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.technorati.com\/faves?add=https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/technorati.png\" alt=\"Bookmark this on Technorati\" title=\"Bookmark this on Technorati\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/twitter.com\/home?status=Reading+https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/twitter.png\" alt=\"Post on Twitter\" title=\"Post on Twitter\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.google.com\/buzz\/post?url=https%3A%2F%2Fformtek.com%2Fblog%2Fwebassembly-portable-cross-platform-deployment%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/google_buzz.png\" alt=\"Google Buzz (aka. Google Reader)\" title=\"Google Buzz (aka. Google Reader)\" \/><\/a><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>The evolution of infrastructure running in data centers has gone from &#8216;bare-metal&#8217; servers to virtual machines running on &#8216;bare-metal&#8217; servers to containers like Docker running on virtual machines. The next step of the evolution is a new unit of deployment<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/formtek.com\/blog\/webassembly-portable-cross-platform-deployment\/\">Read more &#8250;<\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"class_list":["post-12311","post","type-post","status-publish","format-standard","hentry","category-containers"],"_links":{"self":[{"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/posts\/12311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/comments?post=12311"}],"version-history":[{"count":3,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/posts\/12311\/revisions"}],"predecessor-version":[{"id":12315,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/posts\/12311\/revisions\/12315"}],"wp:attachment":[{"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/media?parent=12311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/categories?post=12311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/tags?post=12311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}