Top
Best
New

Posted by hnisjafx40 9 hours ago

Tsrs: A Port of TypeScript to Rust(blog.cloudflare.com)
310 points | 143 commentspage 3
egeozcan 3 hours ago|
I think we'll see TypeScript ported to minecraft ported to rust ported to typescript before GTA6.
esafak 2 hours 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
frangonf 8 hours ago||
I use oxc tooling and it's great to see the rust rewrite singularity in action and get to ride the fastest horses, but I would like that they made a branch for 7.2 as experiment to see how it compares. Maybe this ends in a win for Microsoft, they could cut operating expenses by keeping just Anders Hejlsberg in a hammock reciting invariants to claudpilot.
nsm 8 hours ago||
Obligatory reminder that their needs from a TS compiler are extremely different from a regular web developers iteration cycle. They are trying to run millions of these while saving on costs.

You almost definitely don't need to immediately plan to switch.

ameliaquining 2 hours ago||
I expect I'll switch once Vite starts shipping it by default.
cryptonym 7 hours ago||
> This enables new possibilities when combined with agents: You are now able to run a development toolchain end-to-end in a fully sandboxed environment on Cloudflare.

True. Looks like main use-case is AI Agent Sandboxing

sinameraji 4 hours ago||
this is insane! saw a quote tweet of this by an infra engineer at chat gpt who said “ I'm looking at migrating over for the ChatGPT codebase and saw ~70% improvements on both wall time perf + peak cpu/memory usage.

this is great for getting work done faster but also much better if you want to run concurrent agents/worktrees at scale”. https://x.com/feedthejim/status/2112584843368570921?s=46

then i went and tried this on my own open source harness. type checking went from 10 seconds to under half a second and uses a quarter of the memory. madness

tonyhart7 8 hours ago||
I thought its TS port of theo
AntonyGarand 8 hours ago||
Theo's port is tsc-rs[0] as reference, and is significantly slower and uses more memory than this new version.

[0] https://github.com/pingdotgg/ts-rust

francislavoie 8 hours ago||
A new one but they're merging it with Theo's.
jdw64 8 hours ago||
These days the trend seems to be rewriting everything in Rust.
zeroq 7 hours ago|
I'm staying stainless
satvikpendem 6 hours ago|||
You should say you're staying fungal infection free as it's named after the Rust fungus not the chemical reaction even if that's what people think these days.
jdw64 7 hours ago|||
Did you know? Even stainless steel RUSTs in sea wind.
btucker 4 hours ago||
[dead]
tonetheman 3 hours ago||
[dead]
souvlakee 7 hours ago|
[dead]
More comments...