That’s Deno-the-Company, to you
Is that you, Mama?
What’s $4.9 mil to a runtime like me, can you please remind me?
We know Ryan Dahl’s been singing that to himself all weekend, after raising fat stacks of cash and announcing that Deno is a company now.
There won’t be a freemium or “open core” model where users get some Deno features but have to pay for others. Instead, Ryan says that “this funding round will secure my family’s financial independence for generations to come.” OK that’s a joke but he did say the Deno business “will build on the open source project, not attempt to monetize it directly.”
At first glance the deployment platform looks pretty cool: it deeply integrates with
Why’s Deno going this route? 2 big reasons:
The Bottom Line
We’ve written before about the potential dangers of mixing OSS with venture capital. TL;DR — the “grow fast or die trying” ethos of VC doesn’t always provide a stable ecosystem for the developers who rely on these open source technologies.
However, this time feels different. Deno has a uniquely ambitious mission that no one else is working on, and it’s not unreasonable to think they need money for it… and who knows? Maybe it wouldn’t have taken the React team 3 years and counting to ship Suspense if they had a runway. Happy Anni, btw.
Cloudflare’s Durable Objects
The original “durable object”
Cloudflare has announced the open beta for Durable Objects, their new stateful serverless database, which puts one more nail in the coffin for long-running servers. Viva la Serverless!
How did we get here? Cloudflare’s primary product is a worldwide CDN and DDOS protection, with over 25 million websites using their product. In 2017, they released a serverless platform called Cloudflare Workers that 0ms cold starts (take that, AWS Lambda).
In September, Cloudflare announced the closed beta for Durable Objects, the very cleverly named storage solution that gives Workers stateful superpowers. See, old-school serverless can’t hold onto any data or context like an old-old-school server can. Once the function is complete, the “server” that runs the serverless code disappears. Durable Objects, on the other hand, are… well… durable.
Say you have a chat room Durable Object. It can keep track of the WebSockets connected to it and whenever a user sends a message, it broadcasts that message to all of the connected clients. Plus, with that private database, it can store the chat room history for when visitors first connect. Since it’s serverless, it can scale to an absurdly high number of unique rooms and users, all without the developer needing to configure anything.
Also, Durable Objects live on the Edge, close to where requests come from; users requesting data from their own Durable Objects will get wicked fast response times! It pays to live life on the Edge.
The Bottom Line
Have you ever used Array’s
As you start to make your code more functional, you naturally start to avoid using regular for loops in favor of
You’ll notice if you run that code it won’t work. When you do
This is where
Not super useful, but good to know it exists if you need it.
One Very Long Cool Bit
The Other Seven Cool Bits
Delivered to 114,267 developers every Monday
This is the first ever newsletter that I open a music playlist for and maximize my browser window just to read it in peace. Kudos to @uidotdev for great weekly content.
The Bytes newsletter is a work of art! It’s the only dev newsletter I’m subscribed too. They somehow take semi boring stuff and infuse it with just the right amount of comedy to make you chuckle.
Bytes has been my favorite newsletter since its inception. It’s my favorite thing I look forward to on Mondays. Goes great with a hot cup of coffee!
I subscribe to A LOT of dev (especially JS/TS/Node) newsletters and Bytes by @uidotdev is always such a welcomed, enjoyable change of pace to most (funny, lighthearted, etc) but still comprehensive/useful.
Literally the only newsletter I’m waiting for every week.
Bytes is the developer newsletter I most look forward to each week. Great balance of content and context! Thanks @uidotdev.
The sense of humor and structure of the Bytes Newsletter is first class and the information that comes with it is enough to make a mini course.
Very few newsletters manage to be useful and not very boring. @uidotdev manages to achieve these pretty effortlessly. You can almost see Tyler chuckle as he writes them.