Live data from Hacker News

Deno 1.10 Release Notes

deno.com

11–20 of 157 posts

Re: Deno 1.10 Release Notes

#13

I didn’t know what deno was. It’s a typescript native alternative to nodejs that adopts the browser security model, replicates the golang standard library rather than node’s and is written in Rust.

V8 is written in C++, not Rust.

Sure, although the rust v8 bindings don’t appear to support FreeBSD as i just found out when i tried to install deno on FreeBSD 13:

  > cargo install --locked deno

     Compiling rusty_v8 v0.22.2
  error[E0308]: mismatched types
     --> /home/craig/.cargo/registry/src/github.com-1ecc6299db9ec823/rusty_v8-0.22.2/build.rs:157:18
      |
  157 | fn platform() -> &'static str {
      |    --------      ^^^^^^^^^^^^ expected `&str`, found `()`
      |    |
      |    implicitly returns `()` as its body has no tail or `return` expression
  
  error: aborting due to previous error
  
  For more information about this error, try `rustc --explain E0308`.
  error: could not compile `rusty_v8`
  
  To learn more, run the command again with --verbose.
  warning: build failed, waiting for other jobs to finish...
  error: failed to compile `deno v1.10.1`, intermediate artifacts can be found at `/tmp/cargo-installwrTFWi`
  
  Caused by:
    build failed

Re: Deno 1.10 Release Notes

#14
The addition of sandboxed storage (i.e. access to localStorage and sessionStorage APIs without requiring disk permission) is really interesting.

It seems very in line with the model of deno as an edge compute runtime - esentially ephemeral cache on the edge - I wonder what usecases will emerge for this?

Re: Deno 1.10 Release Notes

#15
post #8

Still not tempted by Deno to be honest. All the problem that currently exist in Node are being ported to Deno straight up. The built-in apis provided by Node.JS are almost non-existent... hence most of them are buggy and quiet tedious to use , it's why the community has created thousands of packages to resolve those issues. Here I don't see how Deno is solving this , all the APIS seems again so barebone.. instead of…

But the bad ecosystem in npm is one of the main reason he made deno, that's what deno/std is for.

While not stable yet, they are working to address this very issue

Zig is looking great but also, solving a different problem

Re: Deno 1.10 Release Notes

#16
post #7

Earlier quoted context omitted.

They're talking about deno, which _is_ written in Rust. https://github.com/denoland/deno

Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. So it's probably a rust wrapper around a C++ project (unless they reimplement V8 in rust... )

Yeah the communication with V8 and all the API are in rust, V8 is still in c++

Re: Deno 1.10 Release Notes

#17

I didn’t know what deno was. It’s a typescript native alternative to nodejs that adopts the browser security model, replicates the golang standard library rather than node’s and is written in Rust.

V8 is written in C++, not Rust.

I'm pretty confident we'll see a JS engine written in Rust at some point in the future, it'll just take a very long time to get parity with V8 and will likely introduce its own slew of issues.

Re: Deno 1.10 Release Notes

#18

I'm still waiting for abortable fetch feature, since I have to deal with some services that have unstable network connection and often got stuck and never drop their connection. Is there any progress over this one? Last time I heard, they still have to wait till rusty_v8 got matured enough for this feature to be available.

We are still working on it, it just requires some work deep inside of Deno internals.

Re: Deno 1.10 Release Notes

#19
post #15
post #8

Still not tempted by Deno to be honest. All the problem that currently exist in Node are being ported to Deno straight up. The built-in apis provided by Node.JS are almost non-existent... hence most of them are buggy and quiet tedious to use , it's why the community has created thousands of packages to resolve those issues. Here I don't see how Deno is solving this , all the APIS seems again so barebone.. instead of…

But the bad ecosystem in npm is one of the main reason he made deno, that's what deno/std is for. While not stable yet, they are working to address this very issue Zig is looking great but also, solving a different problem

Just because they are attempting to address it does not mean they will succeed.

Re: Deno 1.10 Release Notes

#20
post #8

Still not tempted by Deno to be honest. All the problem that currently exist in Node are being ported to Deno straight up. The built-in apis provided by Node.JS are almost non-existent... hence most of them are buggy and quiet tedious to use , it's why the community has created thousands of packages to resolve those issues. Here I don't see how Deno is solving this , all the APIS seems again so barebone.. instead of…

deno is definitely better in the sense that it's way more compatible with browser and I think that's really big thing in the long run (but nodejs could do that too, eventually)

regarding 1000+ deps, yes that's a bad thing but it's not really about language, it's rather about people. when node started, usual number of dependencies was low.

I know because I was there and I was making fun of maven and how it pulls half of the universe for a simple thing. Now nodejs is pulling the whole universe.

Yet the problem, in my opinion, is not package manager but rather "look I made a package, it does one small thing and it does it well and I dont want it to do more" which leads to many more packages because you really need that thing so what you are going to do? you will add a package on top of package. rinse and repeat and there we are

Post reply on HN