Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How about tinygo? #1841

Closed
yisar opened this issue Dec 9, 2021 · 1 comment
Closed

How about tinygo? #1841

yisar opened this issue Dec 9, 2021 · 1 comment

Comments

@yisar
Copy link

yisar commented Dec 9, 2021

https://github.com/tinygo-org/tinygo

Now build esbuild into wasm, and the final size is 8m, which is still too large in many scenarios.
I don't know whether tinygo is effective for esbuild, but it has played a role in other wasm projects in the past.

@evanw
Copy link
Owner

evanw commented Dec 9, 2021

Closing as a duplicate of #1111. TinyGo isn't a real Go compiler. It only works for a subset of Go, and esbuild is not written in that subset, so there's no way this will work. The built-in recover function isn't implemented, for example.

@evanw evanw closed this as completed Dec 9, 2021
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

No branches or pull requests

2 participants