3 ms·
Deno is a native implementation of a standard library, it doesn't have language implementation of its own, it just bundles the one from Safari (javascriptcore).
by 3836293648 8mo ago
Deno is a native implementation of a standard library, it doesn't have language implementation of its own, it just bundles the one from Safari (javascriptcore).
This is a set of linting tools and a typestripper, a program that removes the type annotations from typescript to make turn it into pure javascript (and turn JSX into document.whateverMakeElement calls). It still doesn't have anything to actually run the program.
- ameliaquining 8mo agoDeno uses V8, which is from Chrome. Bun uses JavaScriptCore.
- 3836293648 8mo agoAh, yeah. Easy mistake
- lioeters 8mo agoI'm going to call it: a Rust implementation of JavaScript runtime (and TypeScript compiler) will eventually overtake the official TypeScript compiler now being rewritten in Go.
- madeofpalk 8mo ago? Most JavaScript runtimes are already C++ and are already very fast. What would rewriting in Rust get us?
- lioeters 8mo agoNothing, but it will happen anyway. Maybe improved memory safety and security, at least as a plausible excuse to get funding for it. Perhaps also improved enthusiasm of developers, since they seem to enjoy the newness of Rust over working with an existing C++ codebase. Well there are probably many actual advantages to "rewrite it in Rust". I'm not in support or against it, just making an observation that the cultural trend seems to be moving that way.
- 3836293648 8mo agoIn popularity or actually take over control of the language?
- lioeters 8mo agoEventually I imagine a JS/TS runtime written in Rust will be mainstream and what everyone uses.