---
title: "TypeScript compiler lands in Go, SIMD hits 49 GB/s in Go 1.26"
url: https://daily.dev/posts/typescript-compiler-lands-in-go-simd-hits-49-gb-s-in-go-1-26-afvsrrcda
source_url: https://daily.dev/posts/typescript-compiler-lands-in-go-simd-hits-49-gb-s-in-go-1-26-afvsrrcda
type: freeform
source: "Go Digest"
published: 2026-06-08T04:19:08.193Z
updated: 2026-06-08T04:19:28.841Z
tags: ["typescript", "golang", "cli", "ai-assisted-development"]
reading_time: 4
upvotes: 3
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# TypeScript compiler lands in Go, SIMD hits 49 GB/s in Go 1.26

**[Go Digest](https://daily.dev/sources/golang_digest)** · 4 min read · 3 upvotes · 0 comments

## Summary

A Go-focused roundup covering several major developments: the TypeScript native compiler (tsgo) built in Go is now available as an npm preview, delivering ~10x build speed improvements and saving one Microsoft team 400 CI hours/month. Go 1.26's experimental simd/archsimd package achieves 49 GB/s on memory-bound scans — a 66x speedup over naive loops — matching hand-written AVX-512 assembly without .s files. Arcjet shares a detailed guide on designing Go CLIs as stable agent APIs, covering additive-only contracts, structured JSON errors, and TTY auto-detection. OpenCode reports $11M ARR and 10M monthly active users. Also covered: Go 1.26 experimental features including GreenTeaGC now on by default, IPv6 zone ID encoding in Go's net/url, self-calling executable testing patterns, and the Heimdall 7.2 HTTP client release.

## Content

**TLDR:** The TypeScript native compiler built in Go is now installable as a preview, with one Microsoft team saving 400 CI hours per month. Go 1.26's experimental simd/archsimd package lets you match hand-written AVX-512 assembly without .s files, hitting 49 GB/s on a memory-bound scan. OpenCode hit $11M ARR for Go in May. Arcjet published a solid writeup on designing CLIs as stable agent APIs.

---

## TypeScript native Go compiler available as npm preview

The Go-based TypeScript compiler (tsgo) is now installable via `npm install @typescript/native-preview`, with a VS Code extension in the marketplace. A live demo on the VS Code codebase dropped full build time from ~97 seconds to ~10 seconds. Major companies including Slack, Notion, and Figma are already running it, and one Microsoft team reported saving 400 CI hours per month. The port used automated scripts and AI agents to translate the codebase file by file, reusing existing tests throughout. [Read more](https://app.daily.dev/feed-by-ids?id=A5w77sEDG&id=6F07n6mgG&id=EISaYxbox)

## Go 1.26 SIMD package reaches 49 GB/s on a memory-bound scan

A detailed benchmark post walked through 13 implementation variants for scanning a 4 GiB file for a single non-zero int64, going from 0.75 GB/s with a naive loop to 49 GB/s using parallel pread with Go 1.26's experimental simd/archsimd package — a 66x speedup. Key findings: mmap underperforms pread at this scale due to over a million minor page faults, MAP_POPULATE actually hurts by serializing fault work, and the new SIMD package matches hand-written AVX2 assembly with zero .s files. The ceiling is DRAM bandwidth (~50 GB/s on DDR5), not CPU or I/O logic. [Read more](https://app.daily.dev/feed-by-ids?id=kK3Qz0ivs&id=sM6HytjGO)

## Arcjet: designing a Go CLI as a stable agent API

Arcjet published a detailed post on how they built their Go CLI to serve both humans and AI agents safely. The key decisions: treat commands and flags as an additive-only API contract after 1.0, disable fuzzy command suggestions to avoid agent confusion, use distinct exit codes with structured JSON errors on stderr, and implement a confirmation envelope protocol for mutations instead of interactive prompts. The CLI auto-detects TTY vs non-TTY to switch between human-friendly tables and machine-readable JSON, and shares the same domain model as their MCP server. Worth reading if you're building any tooling that agents will call. [Read more](https://app.daily.dev/posts/DPz7QoFSj)

## OpenCode hits $11M ARR and 10M monthly active users

OpenCode posted May metrics: 10M monthly active users, 5 trillion tokens processed per day, 23M downloads, $11M ARR attributed to Go, 100K followers, and 50K Discord members. The numbers are notable given how crowded the AI coding tool space has gotten. [Read more](https://app.daily.dev/posts/rIlBFvRK8)

---

## Also notable

- **Go 1.26 experiments explained, including GreenTeaGC now default:** Alex Edwards published a full breakdown of Go's experimental features system as of Go 1.26, including a table of current experiments: GreenTeaGC (new GC, now on by default), JSONv2 (encoding/json/v2), GoroutineLeakProfile, RuntimeSecret, and SIMD support — all controllable via GOEXPERIMENT. [Read more](https://app.daily.dev/feed-by-ids?id=sM6HytjGO&id=EISaYxbox)
- **IPv6 zone IDs in URLs require encoding % as %25 in Go's net/url:** Embedding IPv6 link-local zone identifiers (e.g., fe80::4%eth0) in URLs breaks percent-encoding parsers; Go's net/url requires encoding the % as %25, and browsers don't support IPv6 zones at all due to origin model conflicts. [Read more](https://app.daily.dev/posts/KQhQI4pHQ)
- **Self-calling executables: testing main() in isolation and SSH_ASKPASS tricks:** A technique using a subprocess with a TEST_MAIN environment variable lets you test a Go binary's main function in isolation; the same pattern enables TUI apps to intercept SSH password prompts by setting SSH_ASKPASS to point at themselves, with Unix socket communication and PID chain verification for safety. [Read more](https://app.daily.dev/posts/5hkLvkvuO)
- **Heimdall 7.2 released: enhanced Go HTTP client with circuit breaker and retry:** Heimdall 7.2 shipped as part of Go Weekly #604, offering an HTTP client for Go with built-in circuit breaker and retry strategies as a drop-in replacement for the standard client. [Read more](https://app.daily.dev/posts/EISaYxbox)

## Similar posts on daily.dev

- [TypeScript 7.0 Rewrote Its Compiler in Go. Builds Are Now 10x Faster.](https://daily.dev/posts/typescript-7-0-rewrote-its-compiler-in-go-builds-are-now-10x-faster--x8yxxxlve) · Medium · 6 upvotes · 0 comments

---

Tags: [#typescript](https://daily.dev/tags/typescript), [#golang](https://daily.dev/tags/golang), [#cli](https://daily.dev/tags/cli), [#ai-assisted-development](https://daily.dev/tags/ai-assisted-development)

[View this post on daily.dev](https://daily.dev/posts/typescript-compiler-lands-in-go-simd-hits-49-gb-s-in-go-1-26-afvsrrcda)
