SShortSingh.
Back to feed

TypeScript 7.0 Launches with Go-Rewritten Compiler, Up to 17x Faster Builds

0
·2 views

Microsoft has released TypeScript 7.0 as a stable version, featuring a compiler fully rewritten in Go to leverage native code execution, multithreading, and improved parallelization. The new compiler delivers build speed improvements of 8x to 12x on large projects, with VS Code's build time dropping from 125.7 seconds to 10.6 seconds in benchmarks. Memory usage also improved, falling by 6% to 26% across tested projects. TypeScript 7.0 includes a new LSP-based language server that significantly speeds up editor features such as autocomplete, error diagnostics, and code navigation. The release has been tested for over a year by major companies including Slack, Canva, Figma, and Vercel, with Slack reporting CI type-checking time cut from 7.5 minutes to 1.25 minutes.

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 ·

Stranger's pull request fixed a bug via the wrong code — the real fix was accidental

A developer received an unsolicited pull request fixing a real bug in their Safari MCP server, with clean code and passing CI tests. Only when writing up the change did the author discover that the two code hunks the contributor highlighted as the fix were behaviorally identical to what they replaced. The actual bug was closed by a third, unemphasized change that neither party had focused on. The underlying issue involved a positional request-response queue over stdin/stdout that could fall permanently out of sync if a write failure left an armed callback consuming a future reply. A missing assignment in the catch block meant one broken-pipe error was enough to cascade into indefinite hangs for all subsequent helper calls.

0
ProgrammingDEV Community ·

Mass Assignment Flaws Let Attackers Hijack API Fields to Escalate Privileges

Mass assignment vulnerabilities occur when APIs bind user-supplied data directly to internal models without filtering which fields users are permitted to modify. This allows attackers to inject unauthorized fields — such as isAdmin or role — into standard requests, granting themselves elevated access with no need for credential theft or brute force. In a well-known 2012 incident, researcher Egor Homakov exploited this flaw in GitHub to add himself to the official Ruby on Rails organization without approval, prompting GitHub to acknowledge the bug and Rails to introduce the strong_parameters safeguard. Beyond privilege escalation, the vulnerability can enable data corruption, multi-tenant namespace breaches, and manipulation of sensitive fields like subscription tiers or billing identifiers. Developers are advised to explicitly whitelist permitted fields rather than passing raw request bodies directly to database or model operations.

0
ProgrammingDEV Community ·

Tutorial Claims You Can Build a Production-Ready AI Agent in 30 Minutes

A developer tutorial published on DEV Community outlines how to build a functional AI agent using Anthropic's Claude API and the Model Context Protocol (MCP). The guide targets Python and TypeScript developers and requires only an Anthropic API key and a terminal to get started. The agent is built around a Plan-Act-Observe-Decide loop, enabling it to autonomously read files, run shell commands, and search the web. The tutorial emphasizes production readiness by covering error handling, tool definitions via JSON schema, and a deployment path. The author argues that the same core architecture underlies commercial agents like Claude Code and Devin, with complexity differing mainly in tooling and prompt sophistication.

0
ProgrammingDEV Community ·

Developer Valex-Grand Introduces Two Go-Based Projects Focused on Network and Data Security

Independent software developer Valex-Grand has introduced two core projects built around low-level network performance and secure data distribution. The first, Terminal-Wars, is a real-time network simulation using Go and WebSockets that supports concurrent command execution across multiple clients. The second, Leviathan, is a Go-based cryptographic tool that fragments files into encrypted binary chunks for secure distribution. Both projects reflect the developer's emphasis on speed and memory safety, using languages such as Go, Rust, and Python. Valex-Grand's work can be followed through their GitHub and Instagram profiles.