Finally releasing v0.1 of Flare.
My first OSS project. My first thing of this caliber, and it's not even close.
A TypeScript HTTP framework that runs on Node and Cloudflare Workers. This started as some idea to make my own @Cloudflare Workers framework, and it grew into this beautiful monstrosity.
Oh, and zero runtime dependencies is cool. Packages today are wild. Lots more coming. Roadmap going up on GitHub and the docs site soon.
Check it out: https://t.co/fEAQtHgBLY
@davidfowl Interesting stuff. New languages are always a hard thing to move on, but I still enjoy seeing dedicated folks working on them.
Would love to hear about some specific use cases G# might be good for.
Right now it's only views. Logic files are still Zig.
This was done last night, but todays lunch break vibe coding is going to see if the robot can create a a flare to Zig IR so TS can own the logic as well.
I got curious if I could write native-sdk view through Flare + JSX.
This was not well thought out, and not going to become a real thing. 100% vibe coded. But I thought it was fun.
@ctatedev native-sdk is sick
Okay then, spin off on the "surround yourself with good people" tip:
Surround yourself with challenging people. The most growth I've had in my career has come from peers challenging me, my ego, and my assumptions.
Cloned Fastify's benchmark repo and added flare into it.
Currently sitting only ~1% lower on request/s than Fastify. Well within machine noise. This is obviously not a comprehensive real-world bench. It's a super simple json hello world route running on GH actions.
I'm really proud of how far I've come with Flare. One day when Flare has some real usage I'll make a PR on Fastify's actual repo to try and get us added.
https://t.co/FGdYHk2OrX
Very minimal flare bench incoming soon, using a fork of the fastify bench repo.
My plan for now is to publish with the minimal "framework overhead" at first, but I want to add some more to it eventually showcasing the raw numbers vs runs using classes, using DI, etc. Maybe even some router benchmarks too vs hono.
@zeeg The grifters drive the community conversation too often.
Love to see someone call it out. You're quickly becoming my favorite follow on this app, so thanks lol
Hereโs a sort of relevant article I wrote about how AI has brought back some of the feelings of not knowing a damn thing that I had as a jr dev.
Itโs a fairly long winded personal story, but the point is that AI has brought back this same learning loop from over a decade ago, but itโs somehow condensed down from years to months. Itโs stressful and confusing at times, but can also be exciting.
Also of note, that stressful side has gotten a lot worse just in the few short months since I originally drafted this ๐
https://t.co/YtSgGoHl1O
Finally landed this pre-release @ flare-ts/[email protected]
There is a ton of awesome stuff coming in v0.3. Really excited to land this one. Hoping I can get some eyes on it, so if any of the things below pique your interest, please check it out!
- Cloudflare Durable Objects as first-class citizens: one DI graph emits the Worker + every DO
- White-box DO testing: drive your DO's routes and services in-process, no bindings
- WebSockets everywhere: same API on Node, Workers, and DOs (hibernation by default on DOs)
- Hand-rolled RFC 6455 Node transport, passes Autobahn strict 301/301
- Server-Sent Events + signed cookies (HMAC, rotation, build-time checks)
- Named dependency injection for inline route handlers: scope.users.list() instead of scope.inject(...)
Working on docs site updates, some deep-dive guides, and probably a blog post before promoting to main release.
@CodeWithTamara Dude it's the worst. I have been resisting the urge to do the same. I will probably fold at some point, ha.
I have replied to a few of those kinds of posts at this point, hoping I could get some interaction without posting it myself. Not much luck yet.
I find the whole "developers already wrote slop" argument so insufferable.
There are a lot of very valid uncomfortable discussions to be had about the future of software development. Don't die on a hill of slop because you have had bad experience with code in the past. You are limiting your own progress for the sake of a new shiny tool.
@ibocodes@outerbase The CF platform has really grown into something amazing. Dashboard is a great UX. The workers platform and everything else they offer have amazing DX.
Completely agree with you here.