They have such awesome stuff in the standard library. I hope they have something competitive with Nextjs soon.
pull down to refresh
166 sats \ 3 replies \ @jp305 22 Aug
NextJS? Aren't they very different tools?
It looks like a more robust foundation for web services, but nextjs is a different beast right?
I created some supabase functions with deno and while environment setup was kind of messy, the libraries are really easy to use!
reply
0 sats \ 2 replies \ @k00b OP 22 Aug
Deno is a JavaScript runtime just like nodejs (started by a cofounder of nodejs). Nextjs is react web framework for nodejs which could run on deno someday.
Deno has its own web frameworks but they aren’t nearly as mature/complete. We use nextjs but deno is so much more security minded and supports all browser runtime apis on the server so I’d love to use it for sn.
reply
21 sats \ 1 reply \ @jp305 22 Aug
Yeah, next on deno makes sense, are you considering Typescript then?
reply
40 sats \ 0 replies \ @k00b OP 22 Aug
In some places, specifically around wallet code, it'd make sense for us to use so we've considered it there, but we haven't considered it otherwise. If someone joins the team that wants to write more typescript, we'd welcome that of course.
reply
155 sats \ 2 replies \ @kepford 22 Aug
I haven't followed Deno. Do you remember io.js? It was a fork of NodeJS. Any chance Deno gets merged into NodeJS or is that even possible?
reply
100 sats \ 1 reply \ @k00b OP 22 Aug
Nodejs is written in C/C++ last I checked, and Deno is written in Rust, so they can share ideas and anything written in JS that doesn't make assumptions about the runtime/stdlib at most.
I don't remember https://github.com/nodejs/iojs.org but Bun has become pretty popular recently as a nodejs-alternative Javascript engine. It's still too nodejs-like for my liking though. Deno feels like golang without having to write golang.
reply
100 sats \ 0 replies \ @kepford 22 Aug
I knew I would feel dumb/lazy asking this. Thanks for humoring me.
reply
44 sats \ 0 replies \ @Coinsreporter 22 Aug
Ahh! This is pleb thing! I went there hoping for something else. My bad!
reply
10 sats \ 0 replies \ @grayruby 22 Aug
I went to Twitter to review their thread and that just confused me even more.
reply