The JavaScript Oxidation Compiler
31–40 of 147 posts
Re: The JavaScript Oxidation Compiler
#32I wrote a simple multi threaded transpiler to transpile TypeScript to JavaScript using oxc in Rust. It could transpile 100k files in 3 seconds. It's blisteringly fast
sounds impossible to even index and classify files so fast. What hardware?
Re: The JavaScript Oxidation Compiler
#33I expected a coparison to `bun build` in the transformer TS -> JS part. But I guess it wouldn't be an apples to apples com parison because Bun can also run typescript directly.
In text form:
Bundling 10,000 React components (Linux x64, Hetzner)
Bundler Version Time
─────────────────────────────────────────────────────────
Bun v1.3.0 269.1 ms
Rolldown v1.0.0-beta.42 494.9 ms
esbuild v0.25.10 571.9 ms
Farm v1.0.5 1,608.0 ms
Rspack v1.5.8 2,137.0 msRe: The JavaScript Oxidation Compiler
#34[dead]
Re: The JavaScript Oxidation Compiler
#35Does oxc-parser make it easy to remove comments from JavaScript? In other words does it treat comments as syntactic units, or as something that can be ignored wince they are not needed by the "next stage"? The reason to find out what the comments are is of course to make it easy to remove them.
Re: The JavaScript Oxidation Compiler
#36Re: The JavaScript Oxidation Compiler
#37This compiles to native binaries, as opposed to deno which is also in rust but is more an interpreter for sandboxed environments?
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 prog…
Re: The JavaScript Oxidation Compiler
#38All the Void Zero projects are super cool although I still wonder how they’re going to monetize all this.
Re: The JavaScript Oxidation Compiler
#39Re: The JavaScript Oxidation Compiler
#40I've played with all of these various formatters/linters in my workflow. I tend to save often and then have them format my code as I type. I hate to say it, but biome just works better for me. I found the ox stuff to do weird things to my code when it was in weird edge case states as I was writing it. I'd move something around partially correct, hit save to format it and then it would make everything weird. biome isn…