Top
Best
New

Posted by hnisjafx40 9 hours ago

Tsrs: A Port of TypeScript to Rust(blog.cloudflare.com)
298 points | 140 commentspage 2
mohsen1 2 hours ago|
I ran out of patience before models got good enough to get this done.

https://tsz.dev

Congrats to the team on getting this out

sashank_1509 3 hours ago||
I guess it will be soon that typescript won’t matter anymore since agents will be writing code is Rust compiled to WASM or similar for everything. typescript added human readability or JavaScript, if no human is coding, I don’t see the point of wasting tokens on this.
hollowturtle 3 hours ago|
> typescript added human readability

Ehm no, added type safety, and dealing with a type checker it's exactly what agents need.

> if no human is coding

Nope outside the bubble there are many still hand coding(me too)

> I guess it will be soon that typescript won’t matter anymore since agents will be writing code is Rust

Oh hold on a second isn't Rust the same as Typescript "adding human readability"?! Why not trashing Rust and just have LLMs output WASM directly? XD Wasm which is basically useless outside the browser or some microvms on the edge, and in the browser you don't even have an interface for directly rendering anything and still have to deal with the dom

You either are highly non technical, very junior or I just don't know

hollowturtle 3 hours ago||
All of this just for enabling the WASM use case? Why not keep supporting Deno then that is written in Rust? To me it just sounds like a technical ai journey and a blow to the go port
brazukadev 3 hours ago|
I think it is a response to tsc-ts and scriptc from Vercel. CloudFlare and vercel CEOs have a personal competition going on.
norman784 7 hours ago||
I'm tired of all the new tools that comes out every day, but I would say, this is basically the Vite team and if they implement it with Vite+, then I'm all for it, less decisions about tooling to be made, one config file, etc.
wannabe44 7 hours ago||
Y'all building the same thing.
ComputerGuru 2 hours ago||
Apparently only supported under darwin and linux for arm64 and x64? At least via npm.
jscheel 6 hours ago||
I benchmarked tsrs a few weeks ago. I was testing out tsgo, ts-rust, tsrs, and bun for typechecking on our monorepo. tsrs is definitely awesome, it is very memory efficient when bumping up the number of threads. Not as efficient as bun, but it has incremental checks, which bun does not have.
esafak 1 hour ago||
It's a nit, but do you guys need to embed the TS version in semver? https://www.npmjs.com/package/tsrs?activeTab=versions
More comments...