Skip to content

Conversation

arnested
Copy link

Javy v1.2.0 is a couple of years old. The current version is v7.0.1.

Besides being newer it also builds smaller WASM files (1/10 in size).

Version 7.0.1 also has feature for omitting the JS source from the
WASM file. When used it produces even smaller WASM files.

$ ./javy-x86_64-linux-v1.2.0 compile out.js -o plugin-1.2.0.wasm
$ ./javy-x86_64-linux-v7.0.1 build out.js -o plugin-7.0.1.wasm
$ ./javy-x86_64-linux-v7.0.1 build out.js --codegen source=omitted -o plugin-7.0.1-omit-source.wasm
$ ls -lh *.wasm
-rw-rw-r-- 1 arne arne  70M okt 21 07:28 plugin-1.2.0.wasm
-rw-rw-r-- 1 arne arne 7,3M okt 21 07:28 plugin-7.0.1.wasm
-rw-rw-r-- 1 arne arne 6,4M okt 21 07:28 plugin-7.0.1-omit-source.wasm

Javy v1.2.0 is a couple of years old. The current version is v7.0.1.

Besides being newer it also builds smaller WASM files (1/10 in size).

Version 7.0.1 also has feature for omitting the JS source from the
WASM file. When used it produces even smaller WASM files.

```console
$ ./javy-x86_64-linux-v1.2.0 compile out.js -o plugin-1.2.0.wasm
$ ./javy-x86_64-linux-v7.0.1 build out.js -o plugin-7.0.1.wasm
$ ./javy-x86_64-linux-v7.0.1 build out.js --codegen source=omitted -o plugin-7.0.1-omit-source.wasm
$ ls -lh *.wasm
-rw-rw-r-- 1 arne arne  70M okt 21 07:28 plugin-1.2.0.wasm
-rw-rw-r-- 1 arne arne 7,3M okt 21 07:28 plugin-7.0.1.wasm
-rw-rw-r-- 1 arne arne 6,4M okt 21 07:28 plugin-7.0.1-omit-source.wasm
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant