Learn WebAssembly now :  key to high performance front-end in Web3

Learn WebAssembly now : key to high performance front-end in Web3

Two and half years ago, I started RUST development because its philosophy, code structure and concepts challenged me though I had been writing code for many years.

I talked about it to a few friends who are C/C++(Carbon is still on its way) maximalists but they did not see its potential.

Currently, almost all the high-performance systems are being written in RUST thanks to its safety and its modern architecture: heap memory and stack memory management, cargo working great, … 

For many developers, RUST is the programming language of the 2020 – 2030 decade as people will withdraw progressively from centralized systems to more decentralization thanks to the blockchain(on its different layers).

Talking about blockchain and web3, the web stack architecture is becoming : 

  • Front-end: in Javascript
  • Back-end: Smart-contract or Blockchain API 

In this fashion, we see that more and more processing need to be performed in the browser and this is where I see the application of WebAssembly: I am already working on a few project using WebAssembly as in pre-encryption before submitting data to IPFS.

So, the new stack becomes : 

  • Front-end : WebAssembly and Javascript
  • Back-end : Smart-contract or Blockchain API

WebAssembly, RUST, … are just tools: they are not the problem fixer of any computation problem in the browser but they can be very good if used where they need to be.  

 I think it is very important for every web developer to learn how to use WebAssembly so that they know where to use it.

Learn WebAssembly now :  key to high performance front-end in Web3

#WebAssembly #RUST #Javascript #Blockchain

Posted by elielmathe