Hacker News new | ask | show | jobs
by moltonel3x 1608 days ago
SWC (by the same author as this tentative tsc port) is a part of more and more people's typescript toolchain, and is written in Rust. Having all your ecosystem in a single language feels nice, but pragmatically different tools might be better in different languages.
1 comments

The point of having it all embeddable in Go is that we could write a single executable that handles the entire process, with the toolchain embedded and the configuration written as code.
You can embed Rust code in Go, unless there's something about Go that prevents static linking across FFI boundaries.
It's not easy and not very common.