logoalt Hacker News

zdwtoday at 5:02 AM3 repliesview on HN

This compiles to native binaries, as opposed to deno which is also in rust but is more an interpreter for sandboxed environments?


Replies

ameliaquiningtoday at 5:40 AM

Oxc is not a JavaScript runtime environment; it's a collection of build tools for JavaScript. The tools output JavaScript code, not native binaries. You separately need a runtime environment like Deno (or a browser, depending on what kind of code it is) to actually run that code.

3836293648today at 5:36 AM

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.

show 2 replies
nine_ktoday at 5:38 AM

No, it it a suite of tools to handle Typescript (and Javascript as its subset). So far it's a parser, a tool to strip Typescript declarations and produce JS (like SWC), a linter, and a set of code transformation tools / interfaces, as much as I can tell.