Skip to content

Releases: swiftwasm/WasmKit

0.1.2

21 Oct 13:38
Compare
Choose a tag to compare

This release includes a small code size reduction and basic backtrace support.

0.1.1 0.1.2
Code size 1.8M 1.6M (-123kB)

What's Changed

Full Changelog: 0.1.1...0.1.2

0.1.1

13 Oct 08:29
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.1.0...0.1.1

0.1.0

08 Oct 14:05
Compare
Choose a tag to compare

Significant performance improvement

We have re-designed the VM architecture and it resulted in significant performance improvement. See the design note for more details

CoreMark score (higher is better)

Engine API (a.k.a multi Store support)

In this release, we deprecate Runtime-based APIs and introduced Engine API. The new API matches Wasm C API terminology, and allows per-instantiation imports configuration.

let engine = Engine()
let store = Store(engine: engine)

let instance = try module.instantiate(
    store: store,
    imports: [
        "printer": [
            "print_i32": Function(store: store, parameters: [.i32]) { _, args in
                print(args[0])
                return []
            }
        ]
    ]
)
let printAdd = instance.exports[function: "print_add"]!
try printAdd([.i32(42), .i32(3)])

Fuzz-tested code base

We setup fuzz testing infrastructure by LLVM libFuzzer and differential testing technique, and revealed several mis-compilation issues.

New Contributors

Full Changelog: 0.0.8...0.1.0

0.0.8

28 Jul 08:34
Compare
Choose a tag to compare
0.0.8 Pre-release
Pre-release

What's Changed

Full Changelog: 0.0.7...0.0.8

0.0.7

28 Jul 08:10
Compare
Choose a tag to compare
0.0.7 Pre-release
Pre-release

What's Changed

Full Changelog: 0.0.6...0.0.7

0.0.6

15 Jul 04:01
Compare
Choose a tag to compare
0.0.6 Pre-release
Pre-release

What's Changed

Full Changelog: 0.0.5...0.0.6

0.0.5

30 Jun 22:50
3ece12e
Compare
Choose a tag to compare
0.0.5 Pre-release
Pre-release

What's Changed

Full Changelog: 0.0.4...0.0.5

0.0.4

26 Apr 04:39
Compare
Choose a tag to compare
0.0.4 Pre-release
Pre-release

What's Changed

  • Performance improvements
    • Now WasmKit translates Wasm instructions into internal instruction sequence
  • Support CMake build

Pull Requests

New Contributors

Full Changelog: 0.0.3...0.0.4

0.0.3

02 Feb 05:49
Compare
Choose a tag to compare
0.0.3 Pre-release
Pre-release
Use local dependencies in Swift CI

0.0.2

01 Feb 13:20
4049a4e
Compare
Choose a tag to compare
0.0.2 Pre-release
Pre-release
Merge pull request #70 from swiftwasm/yt/stack-opt

Optimize VM Engine (Part 1)