Skip to main content

I tried Compiled Typescript

The PrimeTimeThe PrimeTime·122,338 views·Aug 19, 2026

Score and analysis

Summary

The Primeagen explores Script C, a tool that compiles TypeScript to C, presenting performance benchmarks against Node and Bun.

He demonstrates significant memory and startup time improvements, suggesting a potential future for optimized TypeScript applications.

While acknowledging Script C's current limitations, he highlights its interesting direction for reducing resource consumption.

T
ThePrimeagen
Software Developer · Content Creator
6.8
VIDSCORE

Breakdown

The Primeagen conducts three specific tests: minimum memory, allocating a million objects, and server startup time, plus a fourth 'wonky' game simulation.

He explains the technical underpinnings of Script C's memory efficiency by referencing C structs and reference counting.

The Primeagen uses a conversational and enthusiastic tone throughout the video, employing analogies and personal anecdotes to explain technical concepts.

His direct address to the audience and expressive delivery keep the viewer engaged with the material.

The Primeagen clearly states his personal dislike for the TypeScript/JavaScript ecosystem, framing his interest in Script C as a potential solution.

He acknowledges that Script C may not be production-ready and that results might differ for larger applications.

The Primeagen explores the potential of compiled TypeScript via Script C, presenting quantitative data on memory usage and startup times.

He contrasts these results with Node and Bun, offering a novel perspective on performance optimization beyond traditional JavaScript runtimes.

The Primeagen presents quantitative data from three distinct experiments comparing Node, Bun, and Script C. He shows memory usage in megabytes and startup times in milliseconds, illustrating the performance differences with graphs.

The Primeagen presents the video from a single camera angle, with a consistent background and clear audio.

The visual presentation is functional and does not detract from the content, but lacks dynamic elements.

The Primeagen concludes that Script C offers significant memory and startup time advantages over Node and Bun in his tested scenarios.

He suggests that while not necessarily production-ready, it represents an interesting direction for optimizing TypeScript applications, potentially impacting areas like Electron apps.

Click any metric to see why it scored this way

Related videos

More videos we scored on the same topics.