Rendered at 05:35:57 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
nasretdinov 14 hours ago [-]
This sounds really great. As a Go developer I'm also really looking forward to their Go port of the filesystem watcher package — I agree that the existing packages don't fully allow to do a reliable recursive directory watch and it would be great to have something where you don't rely on C dependencies just for this thing.
__natty__ 12 hours ago [-]
> As a Go developer I'm also really looking forward to their Go port of the filesystem watcher package
You plan to contribute to the TypeScript project?
nasretdinov 10 hours ago [-]
No, in fact I do not use TS at all :).
However they did mention this in the article, and hopefully that also means they'll make the package accessible to others too:
> The watcher is a self-contained package that has allowed us to keep a clean separation of concerns between what we care to watch and why.
chatmasta 9 hours ago [-]
Building @parcel/watcher was always a huge PITA. I also hope they release this package separately because it’d be nice to have an easy to install, on any OS, file watcher that doesn’t require C++ toolchain.
simonbw 9 hours ago [-]
They've had a preview version of this available as ts-go for a while now, and I've been really happy using it on my projects. I just installed it and changed "tsc" to "tsgo" in a couple places and it just worked. I don't remember exact numbers, but I think an approximately 10x speed up is a reasonable estimate for my build times. They went from noticable-but-not-bad to imperceptibly-fast.
nhatcher 6 hours ago [-]
I'm looking forward to this. But it does amaze me how Microsoft with all it's power takes years to complete the port to a different language and bun does it in 7 days. Crazy times
atonse 5 hours ago [-]
That made me wonder, since bun natively supports typescript, is it already using some kind of rust implementation of typescript?
0x6c6f6c 3 hours ago [-]
Bun does zero work in relation to TypeScript's type system. Since it's a strict superset, it is "simply" stripping types to execute the resulting JavaScript. That is effectively what it boils down to.
TypeScript is the most complex type system in existence. I am unsurprised it is difficult to port, but I am still a bit surprised by the length of the project thus far.
_august 11 hours ago [-]
> TypeScript 7.0 is often about 10 times faster than TypeScript 6.0
amazing
orra 10 hours ago [-]
I need to know whether the speedup holds for truly gigantic projects such as Doom in Typescript types.
giancarlostoro 8 hours ago [-]
This is using their new Go based compiler, so I imagine so.
You plan to contribute to the TypeScript project?
However they did mention this in the article, and hopefully that also means they'll make the package accessible to others too:
> The watcher is a self-contained package that has allowed us to keep a clean separation of concerns between what we care to watch and why.
TypeScript is the most complex type system in existence. I am unsurprised it is difficult to port, but I am still a bit surprised by the length of the project thus far.
amazing