Deno: Plans for rewrite in Rust

Created on 8 Jun 2018  路  3Comments  路  Source: denoland/deno

Any plans to rewrite in Rust?

Most helpful comment

Yes I think so. I have a private branch that is exploring snapshotting + better build system only in c++, I think that might become the core system where the message passing between V8 and the outside world can be unit tested. Once that's working I will experiment with binding to Rust.

The reason for not using Go is that it has a rather complex runtime - including a GC. Although I haven't experienced any problems with that yet, it's not hard to imagine that down the road that might clash badly with V8's very complex runtime.

All 3 comments

Ryan is considering the option. For now this Go version is served as more of a demo for examining the idea

See also #165

Yes I think so. I have a private branch that is exploring snapshotting + better build system only in c++, I think that might become the core system where the message passing between V8 and the outside world can be unit tested. Once that's working I will experiment with binding to Rust.

The reason for not using Go is that it has a rather complex runtime - including a GC. Although I haven't experienced any problems with that yet, it's not hard to imagine that down the road that might clash badly with V8's very complex runtime.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JosephAkayesi picture JosephAkayesi  路  3Comments

ry picture ry  路  3Comments

justjavac picture justjavac  路  3Comments

kyeotic picture kyeotic  路  3Comments

metakeule picture metakeule  路  3Comments