Ebiten: Try TinyGo

Created on 16 Dec 2018  路  9Comments  路  Source: hajimehoshi/ebiten

external help-wanted wasm

Most helpful comment

There is now an llvm formula for use by tinygo under macOS here: https://github.com/tinygo-org/homebrew-tools (The mainline llvm formula does not support the wasm target as of yet)

Will report back if I get it compiled and working with tinygo.

The installation instructions should probably be something like this though:

brew tap tinygo-org/tools
brew install tinygo-org/tools/llvm

All 9 comments

Would this specifically be for the WebAssembly target?

Yes, that's right :-)

There is now an llvm formula for use by tinygo under macOS here: https://github.com/tinygo-org/homebrew-tools (The mainline llvm formula does not support the wasm target as of yet)

Will report back if I get it compiled and working with tinygo.

The installation instructions should probably be something like this though:

brew tap tinygo-org/tools
brew install tinygo-org/tools/llvm

Note that thetinygo-import-report was updated 6 months ago, and a lot has happened in TinyGo since.

I was wondering how I can know the latest situation.

It looks like https://github.com/trashhalo/tinygo-import-report/blob/master/report.go is used to generate a new report in the README.

The easiest way to try TinyGo is using Docker:

docker pull tinygo/tinygo:latest
docker run --rm -v $(pwd):/src -w /src tinygo/tinygo:latest tinygo build -o wasm.wasm -target=wasm -tags=example ./examples/rotate

EDIT: LOL, this finishes silently but without dumping anything.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

silbinarywolf picture silbinarywolf  路  4Comments

hajimehoshi picture hajimehoshi  路  5Comments

hajimehoshi picture hajimehoshi  路  5Comments

hajimehoshi picture hajimehoshi  路  5Comments

cretz picture cretz  路  4Comments