Hacker News new | ask | show | jobs
by Thaxll 1653 days ago
Any language based on JS can't be safer than Go. The end result of TS is JS which is a dynamic language.
3 comments

The usual end result of Go is machine code, machine code is not safe to the degree you would consider Go to be safe. Yet you consider Go to be safe but not TS.
That's absurd. If TS can't be secure because it compiles to an unsafe language (JS), Go can't be secure because it compiles to unsafe assembly.
Ok, so if Go compiled to JS it would be a dynamic language?

https://github.com/gopherjs/gopherjs

Ultimately everything ends up as machine code, which is untyped.