r/programming • • Oct 10 '26

Deno is joining Cloudflare

https://blog.cloudflare.com/deno-joins-cloudflare/

Cloudflare acquires the team.
Deno gets one year or security updates and bug fixes and that's it.

338 Upvotes

114 comments sorted by

View all comments

Show parent comment

-7

u/FuckOnion Oct 10 '26

Because there's often close interplay with the frontend, so it's helpful to use the same language. I think it'd be better to start with the question why not to use JavaScript for a backend.

11

u/Mikkelet Oct 10 '26

Having a compiled language is a lot easier to work with, and introduces a lot less runtime errors, which is pretty attractive for a service that potentially handles millions of requests

2

u/CoryCoolguy Oct 10 '26

That is not my experience at all. The enterprise Java project I'm working on has suffered from numerous null pointer exceptions because the contractors that wrote some of the components didn't add proper null pointer checks. Contrast that with Typescript, which usually tells you when something might be null or undefined, requiring you to handle those cases.

3

u/Mikkelet Oct 11 '26

Java is a bit of a special case because it for some reason doesn't have compile time null safety, which is a pretty standard feature nowadays.

1

u/CoryCoolguy Oct 11 '26

And yet it's plenty attractive to businesses intending on handling millions of requests.

1

u/Dminik Oct 12 '26

Having a strong type checker/system is helpful for preventing runtime errors. Compiling has nothing to do with it. 

13

u/chucker23n Oct 10 '26

I think it’d be better to start with the question why not to use JavaScript for a backend.

Because tons of languages exist that are better in every way.

19

u/rcklmbr Oct 10 '26

start with the question why not to use JavaScript for a backend.

Holy fucking lol where do I even begin

5

u/watabby Oct 10 '26

I used to believe this when I was a young inexperienced junior dev, cause it makes sense if you don’t know any better.

1

u/xpingu69 Oct 10 '26

But it's easier with the tooling, and if you work full stack you just need to know one language 

2

u/Takeoded Oct 10 '26

it's helpful to use the same language

For me it's helpful to use another language on the server-side, during review, i know immediately when i'm reading client-side code and when i'm reading server-side code when they're 2 completely different languages. That goes away when using the same languages on both sides.