News for hackers. Stuff that matters.
Re:Cloudflare on the edge by the_duke on Tuesday May 11, 2021 @04:20PM (#27122980)
I recently tried out Workers.

The tooling, documentation and language integration is rather awkward and cumbersome at the moment.

Sparse documentation, language tooling that seems very half baked, workflows don't feel intuitive.

But there is definitely potential.

Re:Cloudflare on the edge by csomar on Tuesday May 11, 2021 @05:18PM (#27123653)
There is lots of potential. I'm working on a startup idea around Cloudflare at the moment.

Here is something that can help with Cloudflare horrible tooling: Use wasm/Rust. You'll be able to compile and run most of your code locally, and then when you deploy you have more odds of your code not bugging on the cloud.

Re:Cloudflare on the edge by stefan_ on Tuesday May 11, 2021 @08:52PM (#27125435)
Feels a lot like uploading PHP via FTP. The world moved on, I expect to test this stuff locally and if it breaks because of screwed up vendor tools, there better be source code.
Re:Cloudflare on the edge by csomar on Wednesday May 12, 2021 @06:39AM (#27128740)
It is PHP via FTP with a key-value database. The difference is that you have no server to manage and your code is deployed to hundreds of locations.
Re:Cloudflare on the edge by kylegill on Tuesday May 11, 2021 @04:58PM (#27123441)
I had a similar experience. I tried installing some of their CLI tools and was met with some undocumented errors I didn't want to bother digging through code to figure out.

> But there is definitely potential.

I agree! It's something I'm watching with eager eyes, but don't feel like is the first option I'd turn to when making a technology choice.

Another technology that gives me this feeling is FaunaDB [0].

[0]: https://fauna.com/

Re:Cloudflare on the edge by ryan29 on Tuesday May 11, 2021 @08:54PM (#27125450)
I have something fairly simple I’m going to build to try out workers. The getting started docs seemed ok to me.

I would love to have a local runtime so I could iterate faster.

Re:Cloudflare on the edge by pier25 on Wednesday May 12, 2021 @12:53AM (#27126725)
The DX is really subpar. They really need to improve wrangler.