chris-koch-penn / polylang.io

polylang.io provides free, open-source code playgrounds in 10 programming languages. No account is required, and all playgrounds are shareable.
GNU General Public License v3.0
26 stars 3 forks source link

How to upgrade Golang runtimes #12

Open byteshiva opened 2 years ago

byteshiva commented 2 years ago

How to upgrade Golang runtime to latest version?

chris-koch-penn commented 2 years ago

You'll want to fork this repo then upgrade the version of Golang used and recompile using the instructions in the readme. This will produce multiple compilation artifacts.

Replace the artifacts in these paths with the newly produced artifacts from the previous step:

If you encounter any errors after having done both of those things, some minor edits might be needed to the Javascript files in this folder.

Because Golang releases on versions 1.x are backwards compatible, all user code snippets will still work. https://go.dev/doc/go1compat

ganeshkbhat commented 1 year ago

How about upgrading the other wasm runtime files.

cpp_npm_pkg
julia_npm_pkg
micropython_npm_pkg
ocaml_npm_pkg
perl_npm_pkg
php_npm_pkg
ruby_compile_scripts
ruby_npm_pkg