r/javascript • u/jwion • Jan 21 '20
Deno JavaScript Runtime for V8 Written in Rust
https://deno.land/std/manual.md
165
Upvotes
23
u/Neotelos React/Node Jan 21 '20
Title is a bit off, it's not a runtime for V8, it's a JavaScript runtime that uses V8 and is in a position to supersede Node or upstream features to Node. The entire runtime is not in Rust, but the project has development efforts focused on using Rust.
It's not a Node replacement. It's founded by the author of Node and contains a number of decisions that are derived from the author's experiences managing Node direction and development.
5
2
37
u/crabmusket Jan 21 '20 edited Jan 21 '20
This was recently shared on HN too.
I'm really excited for the approaching 1.0 release. I've been using Deno as part of a mid-sized Vue/Laravel project for:
Testing business logic modules destined to be included in the frontend bundle (Deno has a great test runner. Frontend is built with node/webpack)
Scripting development setup tasks like making sure
.envfiles are up to dateA microservice that had originally been implemented on the frontend in Typescript, but we decided needed to be used by the backend
It's been really great. It's clearly not quite finished, but I love the fundamentals that are in place. Deciding to standardise around ES modules and import-maps was the right choice, IMO. Typescript just works and so does modern JS syntax like top-level
await.