Re:Edge Scripting: Build and run applications at the edge
by csomar on Friday November 08, 2024 @04:21AM
(#42085509)
Cloudflare DX is garbage. It has improved a bit in the last year but it's very far from being usable by your average developer. I am building a product on workers and I am questioning that decision every other day.
[ Parent
| on HN ]
Re:Edge Scripting: Build and run applications at the edge
by sgammon on Friday November 08, 2024 @06:24AM
(#42085995)
Are you doing it on Rust? TypeScript with Workers is a dream. Consider that, while it is not yet fully mature, you can build and launch your app once and it is global-first. It costs like $100 or less to run at significant scale. It's a dream.
Re:Edge Scripting: Build and run applications at the edge
by pier25 on Friday November 08, 2024 @09:26AM
(#42087066)
Once you have the app running in the cloud, Workers are a great runtime. Super solid with great perf and uptime. But CF still needs to improve local DX, a lot.
Re:Edge Scripting: Build and run applications at the edge
by csomar on Friday November 08, 2024 @09:52PM
(#42092223)
Yes. There is a steep discovery curve for the wasm target. However, it makes it easier for development because once your code compile, it’ll probably run fine. There are some gotchas related to the platforms but once you learn them, you’ll be fine. Still, none of this is documented and the worker crate is practically unmaintained.
Re:Edge Scripting: Build and run applications at the edge
by freetonik on Friday November 08, 2024 @04:27AM
(#42085539)
DX == developer experience?
I think it's pretty good, but yeah, not ideal. I'm also building a product on workers, and using D1, KV, R2, queues, and am pretty happy with the DX. Running remote previews is pretty neat.