Discussion
xnacly: > We write a lot of TypeScript at Cloudflare. It’s the lingua franca of software engineering.This scares me more than Im able to admit, typescript sucks and in my opinion its way worse than the more commonly used lingua franca of computing, which I would attribute to C. At least C can be used to create shared objects i guess?
dewey: “Typescript sucks” is not really a great reason.
rvz: Well it does suck, and it isn't really great for implementing performant developer tools, such as parsers, formatters and so on.The performance is that bad that the typescript developers are rewriting the language itself in Go. [0]Tells me everything I need to know about how bad typescript is from a performance stand point.[0] https://devblogs.microsoft.com/typescript/typescript-native-...
braebo: That’s the lsp not runtime. Bun runs Typescript very fast. It’s a fantastic language and ecosystem.
tombert: Personally I haven't felt like Typescript has bought me enough over JavaScript to use it in contexts that I don't have to. I have to use TypeScript for work, and it's "fine", but I guess I haven't found that it helps all that much.I'm not sure why; I guess it's because the web itself is already really flexible that I find that the types don't really buy me a lot since I have to encode that dynamism into it.To be clear, before I get a lecture on type safety and how wonderful you think types are and how they should be in everything: I know. I like types in most languages. I didn't finish but I was doing a PhD in formal methods, and specifically in techniques to apply type safety to temporal logic. I assure you that I have heard all your reasoning for types before.
risyachka: > Tell us your hopes and dreams for a Cloudflare-wide CLIPlease call it flare.
cordwainersmith: Finally. Jumping between wrangler, the dashboard, and raw API calls has been annoying for a while. I'm keen on the local explorer most, debugging Workers locally has always been clunky. Anyone know how this plays with Terraform-managed infra?
porphyra: Ironically, with the advent of AI agents and stuff, we're going back from "checkbox engineering" in GUI webpages to CLI tools. Every time I need to clear cache in cloudflare when I upload a new version of an asset, I have to click through a bunch of things. Would be nice to just message my openclaw agent to do it.
acedTrex: Its so depressing that it took widespread LLM psychosis to finally get company leadership to invest in actual CLI tooling.No, the customers never mattered but the mythical "LLM agent" is vitally important to cater too.