go-wasm-bake

Experimenting with eager evaluation of Go WASM code (by cretz)

Go-wasm-bake Alternatives

Similar projects and alternatives to go-wasm-bake

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better go-wasm-bake alternative or higher similarity.

go-wasm-bake reviews and mentions

Posts with mentions or reviews of go-wasm-bake. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-02.
  • Bytecode Alliance
    8 projects | news.ycombinator.com | 2 Jun 2021
    > So how does this work? Before the code is deployed, as part of a build step, we run the JS code using the JS engine to the end of initialization.

    I also did basically this exact same thing for Go [0] when I realized their initialization in WASM was very heavy[1]. Basically I ran up until the real Go main started which includes a ton of runtime package/data initialization, and took a snapshot of the data and baked it back into the WASM and removed all the pre-main code. Granted this was years ago so I don't know if it still works on generated code today, but the idea is the same.

    I think languages compiling to WASM, if they can, should run their initialization code and snapshot the data. A lot of people don't realize the number of init instructions to bootstrap a runtime these days. Go alone has thousands of instructions just to initialize the unicode tables.

    0 - https://github.com/cretz/go-wasm-bake

Stats

Basic go-wasm-bake repo stats
1
12
0.0
over 5 years ago

cretz/go-wasm-bake is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of go-wasm-bake is Kotlin.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com