3 ms·
>No, transpiled code is bad Not my experience. While GopherJS ( a Go-JS Transpiler ) has it's warts ( blocking activity in callbacks, filesize ) none of them i
by zaarn 9y ago
>No, transpiled code is bad
Not my experience. While GopherJS ( a Go-JS Transpiler ) has it's warts ( blocking activity in callbacks, filesize ) none of them is "the transpiled code is more buggy than it should be".
The code that GopherJS produces is in my experience very reliable and errs on the side of being slow rather than incorrect.
Transpiling isn't complicated or magic, you can get any C compiler to "transpile" your code into assembly and then compile that without any issues (same for C-LLVM "transpiling").
It also means we get that "sweet" "run same code in client and server" feature that Node.js always rave about.