Live data from Hacker News

Deno, a secure TypeScript runtime using V8 and Go

github.com

1–10 of 42 posts

Re: Deno, a secure TypeScript runtime using V8 and Go

#6
What kind of performance hit do you incur on something like file read serializing in and out of protobuf? Also, what is the problem this is trying to solve when it says "secure"? Obviously the code is not that secure because TypeScript is a bit loose on purpose (so, why TypeScript and not just a Go sandbox?). From reading, it seems to solve a problem of restricting local system access, so it's going to run unprivileged code? Surely there are many other exploitation factors such as running up the CPU...the primary use case would be ideal to help me understand.

Re: Deno, a secure TypeScript runtime using V8 and Go

#8

Worth noting, this is from the creator of Node.js, Ryan Dahl (not me - just sharing). The project is in very early stages, but considering it's from Ryan... it's definitely a project to keep an eye on.

Not exactly sure why you would want to provide JavaScript scripting for Go. Go has different concurrency primitives and a different threading model, and that threading model is one of the biggest selling points of Go.

I highly doubt this would be "the next node", if that is the intention. If you want to use Go, just use Go.

Re: Deno, a secure TypeScript runtime using V8 and Go

#10
post #7

README doesn't specify, so I'll ask: does anyone know how it supports TS? Does it just strip out all the TS stuff and pipe it into the parser?

It seems to me what it means is that all builtin functions and objects have TS declarations from the start.
Post reply on HN