Walt is an alternative syntax for WebAssembly text format. It's an experiment for using JavaScript syntax to write to as 'close to the metal' as possible. It's JavaScript with rules. .walt files compile directly to WebAssembly binary format. Writing zero-overhead, optimized WebAssembly is pretty tough to do. The syntax for .wat files is terse and difficult to work with directly. If you do not wish to use a systems language like C or Rust, then you're kind of out of luck. Your best bet (currently) is to write very plain C code, compile that to .wast and then optimize that result. Then you're ready to compile that into the final WebAssembly binary. Provide a thin layer of syntax sugar on top of .wat text format. Preferably porting as much of JavaScript syntax to WebAssembly as possible. This improved syntax should give direct control over the WebAssembly output. Meaning there should be minimal to none post-optimization to be done to the waste code generated.

Features

  • Write "close to the metal" JavaScript
  • No C/C++ or Rust required, just typed JavaScript
  • NO LLVM/binary toolkits required, zero dependencies 100% written in JS
  • Fast compilation, integrates into webpack
  • Try it out in the Walt Explorer
  • Read the Quick Start Guide

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Walt

Walt Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Walt!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Text Editors, JavaScript Source Code Analysis Tool

Registered

2021-12-10