SShortSingh.
Back to feed

Microsoft's Go-Based TypeScript Compiler Delivers Up to 10x Speed Gains in TypeScript 7

0
·1 views

Microsoft has ported the TypeScript compiler from TypeScript to Go under Project Corsa, delivering performance improvements of roughly 5x to 12x depending on project size, hardware, and workload. The decision followed extensive evaluation of multiple languages and architectures, including hybrid approaches that would keep only performance-critical parts in native code. Go was chosen primarily for compatibility reasons, as both the existing and new compilers need to coexist and share fixes during a transition period. The team also studied native tools like swc, oxc, and esbuild before concluding that a full native port would yield the greatest long-term benefits. TypeScript 7 is expected to bring these gains to developers, though the team cautions that real-world results will vary and some caveats remain before upgrading large codebases.

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 ·

Better Tool Descriptions, Not More Tools, Fix Most AI Agent Failures

A software developer analyzing AI agent failures found that roughly 40% of errors stemmed from incorrect tool selection rather than flawed reasoning by the model. The core issue is that tool descriptions typically explain what a tool accepts but not when to use it versus a similar alternative. The author proposes a structured description format that includes purpose, use-case conditions, explicit do-not-use scenarios with redirects to correct tools, side effects, and reversibility. When selection errors occur, the recommended fix is updating individual tool descriptions rather than patching the system prompt, as prompt-level fixes are global, conflict-prone, and break across model upgrades. The piece also notes that pruning irrelevant tool schemas before each agent step can meaningfully reduce token costs.

0
ProgrammingDEV Community ·

Match AI Tools to Task Failure Modes, Not Benchmark Rankings

A practical framework for selecting AI tools argues that the key question is not which model scores highest on leaderboards, but what kind of failure a given task cannot tolerate. Different work carries different risks: a robotic tone ruins marketing copy, a miscalculation corrupts a finance sheet, and a hallucinated fact undermines research. The framework maps task types to tool families — coding models with repo access for code, execution-enabled models for data analysis, retrieval-backed tools for current facts, and general chat models for open-ended writing. General-purpose models are appropriate defaults for soft, subjective tasks but become unreliable when a task has a mechanical ground truth, such as arithmetic or live information. Rather than trusting averaged public benchmarks, the author recommends running a small personal bake-off using real tasks to identify which tool best fits one's actual workflow.

0
ProgrammingDEV Community ·

Engineers Replace Manual Voice Clip Selection with Automated Three-Stage Filter System

Developers of a voice conversion app faced inconsistent and unscalable manual selection of 4-to-12-second audio anchors from voice actor recordings. To address this, they built a three-stage automated pipeline that filters audio clips for single-speaker content, natural pronunciation, and recording quality. The system begins with 48 equally spaced candidate windows per file, narrows them using pitch and energy analysis, then applies speaker embedding and SQUIM-based quality scoring. As a result, the minimum PESQ score of the anchor set rose significantly from 1.24 to 2.31, and the team compiled a library of over 70 usable anchors. The approach was originally documented in Japanese on the team's engineering blog.

0
ProgrammingDEV Community ·

New Domain Flagged as Scam by Reputation Sites Before Any Content Was Posted

A developer recently registered a personal domain intended solely for email use, with a single page explaining its purpose and no commercial activity whatsoever. Within days, multiple website reputation services had labeled the domain suspicious, unsafe, or scam-linked, despite it having no content, no traffic, and no indexed presence on Google. The author argues that these automated systems conflate domain newness and low visibility with malicious intent, presenting guesswork as confident risk assessment. Legitimate signals like a recently registered domain or hidden WHOIS data can warrant extra scrutiny, but do not constitute evidence of wrongdoing on their own. The incident highlights a broader flaw in automated reputation scoring, where new domains belonging to individuals, freelancers, or small organizations can be publicly smeared without any actual evidence of harm.

Microsoft's Go-Based TypeScript Compiler Delivers Up to 10x Speed Gains in TypeScript 7 · ShortSingh