Recent submissions

Comment · 4 years ago
That new bench reporter is really something to look at
Comment · 4 years ago
Tracking where open resources like timers were invoked is something that is quite literally a game changer

People sleep on how good the Deno test runner is, but I can't for the life of me stress enough how many times the resource leak feature has saved my ass (developer of x/postgres)

Comment · 4 years ago
"Immutable" in the sense that packages can't be taken down or modified by authors

If you wanna take it a step further, you can always opt in to that lock file with various degrees of strictness as you yourself mentioned

Comment · 4 years ago
Hence why developers always recommend to use immutable sources when importing modules
Comment · 4 years ago
They don't though. They transpile it behind the scenes
Comment · 5 years ago
They are different, currently no Deno registries have dynamic version resolution (no greater than operator). Once you have locked in on a version you are in it for good unless you change it manually

However if the argument is: updating libraries break stuff, that is gonna happen every time in every language. There is no guarantee the next version will just work as the last one did

Comment · 5 years ago
Reimplement in the way that they change certain rules to accommodate a more "modern JS" feel

And they absolutely use TS for the std library, just not in the runtime itself

Comment · 5 years ago
Not that simple of a comparison since "data centers" mean a different thing in both cases
Comment · 5 years ago
You don't need to test a feature that they don't have
Comment · 5 years ago
Wrong, 1.0 released exactly one year ago, before there was mostly destabilization of the runtime and not really development features
Comment · 5 years ago
We may have WebGPU powered desktop applications in the near future though. Let's see how things play out, as you daid
Comment · 5 years ago
There have been multiple test runners built on top of Deno's vanilla testing (through the JSON output feature), those may fit your use case better

The current multi threaded and module isolated model however I think it's good for the great majority of projects, so I'm glad it's built in

Comment · 5 years ago
IMO this is a terrible idea.

If I have learned anything from working long time with NPM is you can't trust a single command with updating your dependencies and you can't trust developers to respect semver on the long run.

I can't stress how many times I had to review and undo automated dependency bumps because my app suddenly stopped working, and the times I was forced to I had to bump said dependencies in the lock file myself

In a compiled language, where code is compiled once and valid there 'til the end of times this is not even a problem. In an interpreted language where all code is evaluated every time you run your program, this makes automated dependency management an impossible task

Comment · 5 years ago
Only if you update dependencies, a fresh install would not have such integrity checks, so it's just as vulnerable as Deno hosts to such attacks
Comment · 5 years ago
No they can't, Deno is JavaScript compliant

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton