WebAssembly

Will WebAssembly replace JavaScript?

Reading Time: 4 minutes One of the most powerful innovations in recent past decades for the internet, WebAssembly is an open standard that defines a portable binary-code format for executable programs. It is fast and portable in the real sense. What makes it really useful is the fact that most of the programming languages including Rust and C++ have wasm as the compile target. Rust is a very powerful Continue Reading

Host a Wasm module easily on Raspberry Pi Part 2

Reading Time: 6 minutes This blog is a continuation of one of my previous blogs, if you have not checked that out, then here is the link. You can read that and then continue on this blog. This blog is a part of a series on WebAssembly. I have written several other blogs on wasm, wabt , wasm-bindgen and wasmi, etc. Feel free to check them out also. WebAssembly Continue Reading

Host a wasm module on Raspberry Pi easily Part 1

Reading Time: 5 minutes In this series of WebAssembly, I tell you about wasm and some useful CLI to have fun with wasm. WebAssembly is an open standard that defines a portable binary code format for executable programs, and a corresponding textual representation for interactions between such programs and their hosts. More than 20 companies reportedly use WebAssembly in their tech stacks, including Backend, Foretag, and Cubbit. C++, C, Rust, Blazor, and Yew Framework are some of the popular tools that can Continue Reading

Hosting wasm modules in Rust easily using ‘wasmi’

Reading Time: 4 minutes In this series of WebAssembly, We are learning about WebAssembly and some of the cool CLI to play with wasm. In this blog, We are going to learn the hosting of our wasm modules in Rust. If you have not been following this series, you can check out the previous blogs related to WebAssembly, WABT and wasm-bindgen to give you an idea about wasm. Now Continue Reading

wasm-bindgen making Rust and JavaScript interoperability easy

Reading Time: 4 minutes If you are familiar with WebAssembly and know how to run the wasm modules, then you would know how hard it was to make a Rust wasm module run using JavaScript. So to solve that, there is a tool called wasm-bindgen. It is a wonderful tool that allows greater interoperability between Rust WebAssembly modules and JavaScript. So, let us begin and see how to use Continue Reading

Let us Build Checkers, the Board Game in WebAssembly

Reading Time: 4 minutes Checkers is a fairly simple game played on an 8×8 game board. The board’s squares are typically alternating colours. Each player then places 12 pieces on the board in fixed squares spaced evenly one square apart from each other. So one Player controls black pieces another player controls white pieces. Lets us see what are some basic rules of the game :- The opponent with Continue Reading

Rust with WebAssembly: Simple explanation with a nice example

Reading Time: 2 minutes Now a days everyone is talking about WebAssembly. In this blog, I will explain how you can get started with Rust and WebAssembly fast with a simple template. But before we start, lets discuss what is webassembly, why Rust should be preferred for it. What is WebAssembly: We can think of webassembly as a type of bytecode that can be generated from any language. That Continue Reading

Some key Underlying concept of WebAssembly

Reading Time: 4 minutes WebAssembly is the future of Web Development. It is a low-level assembly-like language with a compact binary format that runs with near-native performance and provides languages such as C/C++ and Rust with a compilation target so that they can run on the web. Hello, folks! your wait is over, we have come up with a new blog WebAssembly with Rust. In this blog, we will take a look at some key underlying concepts/terms which we can use Continue Reading