Author: Aman Verma

Raw Pointers in Unsafe Rust are quite powerful

Reading Time: 4 minutes Unsafe Rust. Sounds contradicting to what we know about Rust as Rust is one of the safest and memory-efficient languages. It does not have a garbage collector because it does not need one. Rust has wonderful borrowing and ownership rules that take care of all the memory safety issues. It is one of the leading languages.  More than 9 companies including Dropbox, Coursera, Figma, npm, Microsoft, Cloudflare, Continue Reading

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

Iterator producing iterator in Rust is really helpful.

Reading Time: 4 minutes If you are a little bit familiar with programming, you might have heard about an iterator. It is quite useful as it allows to access each item of an iterable and perform various operations as well. Let us explore it more and learn about some cool methods of iterators in Rust that produce other iterators.