News for hackers. Stuff that matters.
Re:Deno 1.33: Deno 2 is coming by wokwokwok on Saturday April 29, 2023 @03:23AM (#35750831)
I dunno.

Is having a database that happens to be a product you sell as part of your runtime good, or are you creating some mixed incentives here?

Are you a database vendor now?

If not, don’t build a database.

If this is a mature product that someone else is looking after, and it’s good and free and we’ll maintained like redis or SQLite, sure.

…but it seems like building cloud databases is not the core competency of a group building a javascript runtime.

Once money is involved, it’ll either be a distraction from their core mission, or become their core mission.

A KV db you can use for quick hacks? Sure. Awesome!

A scalable production database you’re selling to people? O_o why are you doing that?

Re:Deno 1.33: Deno 2 is coming by csiegert on Saturday April 29, 2023 @03:35AM (#35750892)
Deno Inc. has two core products: The free Deno runtime and the for-profit Deno Deploy, a Deno hosting service with 35 locations around the world. The question that often popped up was where to store data. Deno Inc. provided several guides to connect to different cloud services. But they want the friction reduced to a simple `await Deno.openKv()`.

Deno Inc. has enough expertise in running a global service that two other companies rely on their work to offer edge functions to their customers (Netlify and Supabase). Adding a database to the service makes sense. And to be clear, they don’t develop a brand new database. They build atop of SQLite and FoundationDB.

Re:Deno 1.33: Deno 2 is coming by wokwokwok on Saturday April 29, 2023 @04:15AM (#35751084)
> The question that often popped up was where to store data. Deno Inc. provided several guides to connect to different cloud services.

Sure.

> But they want the friction reduced to a simple `await Deno.openKv()`.

Do “they”?

If so, who’s using it to solve that problem? …because it seems the big uses of deno deploy are not using it, fine with that and it’s pretty unclear who the “they” is in this circumstance.

Still, if it’s a thin layer over foundation db or some other established database product and this is just part of the lock-in for their cloud offering, fair enough.

It’s not like others (eg firebase) don’t do the same thing.

The messaging “we’re building a database” and “we’re offering a hosted database service based on existing mature reliable technology” are different things though.

The latter all cloud vendors do.

The former is ridiculous, and it really really wasn’t clear that wasn’t what was happening.

Re:Deno 1.33: Deno 2 is coming by electroly on Saturday April 29, 2023 @02:21PM (#35755596)
"They" in OP's post is referring to Deno Land Inc.
Re:Deno 1.33: Deno 2 is coming by frou_dh on Saturday April 29, 2023 @03:35AM (#35750891)
They need this because Deno Deploy (their Edge network) is not a normal/traditional deployment target. If Deno were nothing but "Deno CLI" (the equivalent of the node executable) that runs on typical Unix boxes then you would be right. But there are two separate Deno runtimes (CLI and Deploy).
Re:Deno 1.33: Deno 2 is coming by jpalomaki on Saturday April 29, 2023 @08:38AM (#35752324)
I think this kind of "batteries included" approach is interesting. My feeling is that in many cases we spend way too much time when building our platforms from various bits and pieces. Some apps and businesses would get huge productivity boost by using more opinionated platform.

Not saying this is for everything and everyone, but there's so much competition on this space that I can understand why somebody would like to try something different.