Re:Deno: JavaScript Runtime for V8 Written in Rust
by cjbprime on Monday January 20, 2020 @08:08PM
(#22103443)
I wonder what Rust is being used for here.
[ Parent
| on HN ]
Re:Deno: JavaScript Runtime for V8 Written in Rust
by tbrock on Monday January 20, 2020 @08:32PM
(#22103587)
Dahl wrote rust bindings for V8 and Deno itself is a rust project.
You can think of it as a large rust wrapper around C++ Javascript runtime.
Re:Deno: JavaScript Runtime for V8 Written in Rust
by kevinkassimo on Monday January 20, 2020 @08:42PM
(#22103639)
The Rust v8 wrapper used in Deno is rusty_v8: https://github.com/denoland/rusty_v8
The whole privileged side (except for v8 itself) is in Rust.
Re:Deno: JavaScript Runtime for V8 Written in Rust
by dentemple on Monday January 20, 2020 @09:59PM
(#22103969)
It's probably for the same reason that Node.js uses C++. Javascript is not understood natively by your hardware, so bindings are created to facilitate interaction between the programmer and lower level processes.
[dead]
Re:Deno: JavaScript Runtime for V8 Written in Rust
by chrisco255 on Monday January 20, 2020 @08:50PM
(#22103679)
Eh, a significant product that is relevant to both the JavaScript community and the Rust community deserves top billing here.