Skip to content

Direct binary format, memory alignment hints

Latest
Compare
Choose a tag to compare
@kign kign released this 29 Jan 00:39
· 3 commits to master since this release

New features

  • c4wa now by default writes binary WASM files, bypassing text format. You can still save WAT file either with option -k (--keep) or with explicit output file name -o file.wat
  • There is -a (--alignment) option to customize alignment hints
  • There is a built-in WASM interpteter (invoked with -e/--execute)
  • Added command line option -v to print preprocessor command
  • Optimized order of local variables (grouped by type)
  • Added bulk memory compiler option wasm.bulk-memory, emulation available
  • min, max are now a system library
  • Ignore unused global variables
  • Added Python runtime wrapper run-wasm.py
  • Added command line option -xh for extended help

Bug fixes

  • Made it possible to have exported functions declared as extern