Live data from Hacker News

Deno raises $21M

deno.com

341–350 of 397 posts

Re: Deno raises $21M

#343
post #33

Interesting how this will play out. It's an ambitious goal to consolidate client side and server side javascript ecosystems which is quite fragmented today. On the other hand, this may only increase fragmentation further by introducing another target to develop for (wait for transpilers that can automagically convert between deno and node code). I will always look at javascript as this problem kid that cannot get its…

I do think Deno is a step in the right direction, by reducing the need for transpiler steps (e.g. TS to JS) and embracing JS standards instead of building their own (which is what NodeJS did, but this was in a time when JS had no standard for dependencies or per-file isolation).

Re: Deno raises $21M

#345

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…

It's less of a problem, I think, than you think it is. In the enterprise world, Java is / was a similar de-facto standard because they paid good money for Java enterprise servers, Oracle databases, trainings, frameworks, the works.

I'd rather work for a monoculture than a cowboy pick-whatever-you-want one; it's not a dichotomy, sure, but I'm aware of the latter for business continuity. You run into scaling and talent acquisition issues. Bus factor. Etc. If you as a company can say "We need a Deno developer" instead of "We need a full-stack Javascript/NodeJS/Scala/Java/Go/Rust/Erlang developer" (just to name a random array of languages) you can hire and train a lot better.

Re: Deno raises $21M

#346

> Cold start (time to first response, ms) O(100) O(1000) O(10000) Ugh, that's not how big O notation works.

On the other hand, it is how it is often used informally in speech. I would probably have written eg ~100 instead, but I easily understood what they meant.

Re: Deno raises $21M

#347

Earlier quoted context omitted.

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

You can't restart all of your web services atomically. What happens if two web services are running two different versions for a couple seconds?

If you want to get super fancy, always compatible database migrations. Have both versions live, migrate to the new schema in 3 steps:

1. Old version

2. Old version/new version both live.

3. New version live after step 2 is confirmed as fully done.

Re: Deno raises $21M

#348

Earlier quoted context omitted.

Been writing web stuff since before the dot-com bust. Preact + TypeScript is probably my favorite front-end programming combo yet. I liked VB6 and C# WinForms, though, so maybe I’m an invalid sample.

C# WinForms was super comfy for when you just wanted to throw together some simple GUI tool for internal use. As powerful as WPF and similar frameworks are they definitely lose to WinForms in ease of use.

WebForms was WinForms for the web and for all the criticism it got, it was amazingly productive. The new Blazor framework is finally approaching that speed of development again.

Re: Deno raises $21M

#349

> Cold start (time to first response, ms) O(100) O(1000) O(10000) Ugh, that's not how big O notation works.

Yes it is.

Big-O means given an arbitrary function of some complexity, it is definitely bounded by this other function from the top, i.e. that other function is always larger than our arbitrary function.

f(n) \in O(n^2) means n^2 (ignoring constant factors) is always larger than f(n). If you have no polynomial elements in your O(g), then you only state the constant factor. Like in O(1).

So saying Cold_start(service) \in O(100 ms) is exactly the same as saying the cold start will always be below 100 ms. It makes sense to not say they are all O(1), although strictly they are, as the interesting bit is the difference in magnitude of the constant.

Re: Deno raises $21M

#350

Earlier quoted context omitted.

Has been possible (and surprinsingly easy) for a while through CDNs like skypack or esm.sh

So deno runs JS? I thought it ran exclusively typescript.

Javascript is Typescript - TS is a superset of JS, so valid JS is valid TS, although you'd almost certainly get lint errors in dev complaining about lack of types.
Post reply on HN