{"id":1325,"date":"2020-08-12T17:46:56","date_gmt":"2020-08-12T17:46:56","guid":{"rendered":"https:\/\/jan.schnasse.org\/blog\/?p=1325"},"modified":"2026-09-28T11:38:45","modified_gmt":"2026-09-28T09:38:45","slug":"single-site-app-in-rust","status":"publish","type":"post","link":"https:\/\/jan.schnasse.org\/blog\/2020\/08\/12\/single-site-app-in-rust\/","title":{"rendered":"Single Page App in Rust"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>&#8222;WebAssembly (wasm) allows code written in languages other than JavaScript to run on browsers. If you haven\u2019t been paying attention, all the major browsers support wasm and <a href=\"https:\/\/caniuse.com\/#feat=wasm\" target=\"_blank\" rel=\"noopener\">globally more than 90% of users<\/a> have browsers that can run wasm.<\/p>\n<p>Since Rust compiles to wasm, is it possible to build SPAs (Single Page Applications) purely in Rust and without writing a single line of JavaScript? The short answer is YES!&#8220; &#8230;<\/p>\n<p><a href=\"http:\/\/www.sheshbabu.com\/posts\/rust-wasm-yew-single-page-application\/\">http:\/\/www.sheshbabu.com\/posts\/rust-wasm-yew-single-page-application\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &#8222;WebAssembly (wasm) allows code written in languages other than JavaScript to run on browsers. If you haven\u2019t been paying attention, all the major browsers support wasm and globally more than 90% of users have browsers that can run wasm. Since Rust compiles to wasm, is it possible to build SPAs (Single Page Applications) purely [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1325","post","type-post","status-publish","format-standard","hentry","category-bookmarks"],"_links":{"self":[{"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/posts\/1325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/comments?post=1325"}],"version-history":[{"count":1,"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/posts\/1325\/revisions"}],"predecessor-version":[{"id":4130,"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/posts\/1325\/revisions\/4130"}],"wp:attachment":[{"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/media?parent=1325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/categories?post=1325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/tags?post=1325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}