Jaws – a JavaScript to WASM ahead-of-time compiler
SMRTR summary
Jaws is an experimental JavaScript to WebAssembly compiler written in Rust. It aims to create standalone WASM binaries without an interpreter, supporting 100% of JavaScript features. Currently, Jaws can handle closures, try/catch, and limited async functionality. The project focuses on implementing complex language features like generators and await keywords. Jaws requires specific WASM proposals and currently runs best on V8 engines. Future plans include expanding grammar support and implementing more built-in types and APIs.
SMRTR provides this summary for quick context. The original article belongs to Hacker News.
Read the original article