SShortSingh.
Back to feed

Rust-Based Oxc Parser Outpaces Babel by 20x, Reshaping JS Build Tooling

0
·3 views

Oxc Parser, a Rust-based JavaScript and TypeScript parsing tool, generates abstract syntax trees (ASTs) 20 times faster than Babel and 3 times faster than SWC, according to production benchmarks. A 5,000-line TypeScript file that takes Babel 180ms to parse is processed by Oxc in just 9ms, reducing overall build times from around 12 seconds to roughly 600ms in real codebases. The speed gains stem from three architectural choices: arena-based memory allocation, single-pass lexing and parsing, and zero-copy string handling that avoids redundant memory use. Oxc already supports 100% of TypeScript syntax and ECMAScript Stage 3 proposals with no configuration required, and tools like Biome and Oxlint are built on top of it. Development teams are actively adopting Oxc for linting and code analysis workflows, with broader transformation support continuing to mature.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer Builds Single-Button ESP32 Bluetooth Remote for iPad Screenshots

A developer created a compact Bluetooth remote using an ESP32-C3 microcontroller to trigger iPad screenshots without physically handling the device. The remote pairs with the iPad as a keyboard named 'Screenshot Remote' and sends the Command+Shift+3 key combination when a touch button is pressed. The project was motivated by the inconvenience of reaching for an iPad mounted on a stand, which disrupted recording angles and screen framing. Hardware components include an ESP32-C3 dev board, a touch-button module, and an 18650 battery cell housed in a small project box. The firmware, built with MicroPython and the MicroPythonBLEHID library, stores the Bluetooth bond in non-volatile memory so the device stays paired across reboots.

0
ProgrammingDEV Community ·

Stale RAG Indexes, Not AI Models, Are Often the True Source of Hallucinations

Retrieval-augmented generation (RAG) systems can produce confidently wrong answers not because the AI model fails, but because the vector index it queries contains outdated information. Developers often misattribute these errors as model hallucinations, when the real cause is a freshness failure in the data pipeline. A RAG index can go stale in three distinct ways: existing documents whose facts have changed, new content that was never crawled, and removed content that still lingers in the index. Engineers are advised to treat the retrieval index as a continuously managed cache rather than a one-time build, applying change detection and targeted re-embedding instead of full re-crawls. Addressing index freshness is framed as a pipeline engineering problem with actionable solutions, rather than a model-tuning challenge.

0
ProgrammingDEV Community ·

Why Product Leaders Must Move from Feature Delivery to Business Outcomes

Many product leaders reach a career inflection point where their organisation silently shifts its expectations from execution quality to business impact, often without any explicit warning. Feature ownership centres on delivering scoped work on time and to specification, offering clear, measurable markers of success. Business ownership, by contrast, demands accountability for revenue, costs, customer behaviour, and long-term market health, with no definitive finish line. A feature can ship on time, under budget, and still harm the business if it solved the wrong problem or diverted critical engineering resources. Making this transition requires product leaders to replace output-focused self-assessment with outcome-focused thinking across every conversation and decision.

0
ProgrammingDEV Community ·

Google Play Closed Testing Can Cost $0 to $35 Depending on Your Approach

Developers seeking Google Play production access must have 12 testers actively opted in for 14 consecutive days, a requirement that carries varying costs depending on the method chosen. Doing outreach manually is free but time-intensive, often requiring recruitment of 20 or more people to maintain 12 active testers, since dropouts can pause or reset the 14-day clock. Mutual exchange platforms offer a zero-cost alternative, though developers must spend roughly three to four hours testing other apps over the two-week period. Paid testing services range from about $15 to $35, with higher-priced plans offering replacement guarantees and session tracking for greater reliability. The only unavoidable baseline cost is Google's one-time, non-refundable $25 developer account registration fee.