Live data from Hacker News

Deno raises $21M

deno.com

351–360 of 397 posts

Re: Deno raises $21M

#351
post #75
post #69

This question is going to make me sound like a jerk, but why do you want to write your back-end in JS? Deno looks like a great improvement over node.js, but I don't feel compelled to use it. It seems like people jumped to node based on some performance promises that didn't really pay off (IMO). And since then, we have newer options like Rust, Go, and Elixir as performant back-end options, and even older choices like…

I like TypeScript and would like to write backends in TypeScript. I'm coming around on Elixir. I never want to write Go that interacts with a database again. Rust seems complicated. I don't think I'm smart or committed enough to get anywhere with rust.

>I never want to write Go that interacts with a database again.

I LOVE Go ! I think it's the bee's knees until you have to write DB code ! I'm hoping "go generics" will take care of some of the table-mapping/orms/multiple-types etc madness.

But yea, I still love go :)

Re: Deno raises $21M

#352
post #82

Earlier quoted context omitted.

> I never want to write Go that interacts with a database again. Why? I’ve been using sqlx and it seems fine.

sqlc.dev make it way easier to deal with db

I hope so, last time i checked about 6 months ago, I spend a day trying to make the most basic of queries work with mysql8, was a complete disaster.

Re: Deno raises $21M

#353
Wow I had a play, within 30 seconds I had deployed their hello world. Checked devtools and it took between 30-100ms (I am not on a great internet connection, but this proves it is somewhere near me globally!).

Also loving .deno.dev as a fairly nice top level domain for a blog. E.g. johnsmith.deno.dev.

Re: Deno raises $21M

#354

Earlier quoted context omitted.

> if there was a compiler/interpreter for another language that was close to being as good as V8 Like LuaJIT that has been around longer than V8?

LuaJIT is fast however it misses Node.js's (or Python's) standard library and package ecosystem.

So then you pull in LuaFileSystem or LuaSocket or whatever you need. I never understood this as a huge limitation. There are plenty of very mature cross platform libraries for anything I'd grab out of node's standard libs. There's even libUV bindings (luv) which would pretty much feature match nodejs completely. Add to that LuaJITs FFI you get all of C's ecosystem as well. Batteries are helpful, but it's not like Lua is completely devoid of helpful libraries.

Re: Deno raises $21M

#355

Earlier quoted context omitted.

It's worse this time, in that the old shared hosting environments (e.g. Apache with FastCGI and suexec, or nginx with fpm) were open source, and there were countless shared hosts. The new generation of multi-tenant isolate-based JS runtimes are proprietary, and AFAIK one can count the number of hosts on one hand.

> The new generation of multi-tenant isolate-based JS runtimes are proprietary That's being addressed by the new Web-interoperable Runtimes Community Group https://wintercg.org/ , driven by Deno and others.

This strives to standardize the runtimes and standard library surface but not the runtime orchestration, networking or other aspects.

Re: Deno raises $21M

#356
post #217

From the post: > For example, it is integrated with GitHub in such a way that on every push it will provision a new server running specifically that code, deployed to the edge, worldwide, and persisted permanently. Want to access the code your app was running a month ago at commit f7c5e19? It will be served up instantly at a moment's notice. It costs you nothing to have that bit of JavaScript responding to requests i…

There are ways to version your database schema. Then you just need to make sure your code version is tied to your database version.

[deleted]

Re: Deno raises $21M

#357

The rise of JavaScript-only clouds intended as "defacto" solutions for web development scares the hell out of me. Monocultures are dangerous. At least in the early Node era, it sat alongside all the other flavors of server infra out there with a near-infinite variety of languages, platforms, OSes. Now we're being told that the future of web development is…Deno? That's it? One tool? One language? One platform? Not the…

Deno is only possible because V8 is so hyper-optimized. If you think about it, V8 has to compile/interpret and then run javascript code on the fly after downloading it in the browser. That's how good V8 is. That puts javascript in a unique position to enable something like Deno So if there was a compiler/interpreter for another language that was close to being as good as V8, then something like this could exist for o…

You can pretty easily argue Graal is better than V8 in many different ways. V8 is good at what it does but its ambitions are very limited. They only care about Chrome so anything Chrome doesn't need gets ignored. And JS is inherently difficult to compile to highly optimized code.

Re: Deno raises $21M

#358
post #248

> JavaScript is unlike other programming languages in that it is the universal scripting language. Its universality combined with security from the browser and its raw performance lends itself to a solution for these problems, at least for a certain common class of applications. You want to sell Javascript based solutions, go for it. But don’t push this nonsense like “No language like Javascript”. The only reason Jav…

Did you mean to say Coffeescript? Thats just a thin transpiler to JS.

Re: Deno raises $21M

#359

Earlier quoted context omitted.

>Python, Ruby I like js too, but both python and ruby are much better languages. It's just that js won distribution, which means it won adoption, which means you have 10MM devs smoothing it's rough edges. Just to take one language feature, consider pythons list and map comprehensions. js has nothing like that - but it also has 10 high quality libraries that do that and more, like lodash. Consider also the ridiculousn…

> the misfeature of prototypal inheretance Prototypal inheritance isn't a misfeature, it's an interesting and powerful language design choice used by several different languages [1] It may not be your cup of tea, but having written code in most mainstream languages since the 80's, I can tell you I definitely prefer it to alternatives like class based inheritance. Runtime mixins are one of the most powerful composable…

Something is wrong in this thread. People have misquoted me, twice. In this case you cut out "(arguably)" implying my position is stronger than it is. Elsewhere, they cut out the conditional in my endorsement of the jvm, implying my statement was absolute, and proceeded to lecture me on trade-offs.

Not sure what it is, but I don't like it and won't participate.

Re: Deno raises $21M

#360

> Early in cloud computing, virtual machines were the compute abstraction […] This is funny to me because serverless sounds to me like the return of PHP (etc) shared hosting. What's old is new again?

I changed my view on this―I hated how things were going full circle. But in reality, human civilization loves overdoing a particular direction and then reverts to the mean. You see this with the economy, moral fashions, everything. I am an optimist in that I (have started to) believe that this slowly allows us to converge on better solutions for everything. PHP was easy to set up, easy to host, easy to understand and…

> things were going full circle

Ya. Like a spiral. Or a spring, if you want to get fancy (add z-axis for time).

Each revolution seems redundant, but can be exploring a slightly different problem space, or trying a solution with a new angle.

Post reply on HN