~/talk

Compiling TypeScript

TalkinRussianat HolyJS 2025 Autumn · 2025-11-20..11-21· [webassembly, typescript]
links:none on file
slides:none on file

Talk explains a technique to compile TypeScript ahead-of-time like C++/Rust instead of running it via JS engines. It covers tooling and implementation details for generating native-like binaries so TypeScript code can be embedded into desktop and mobile apps with performance comparable to native, and describes practical experiences and problems encountered.

AI-written summary · about

  1. 0:00TypeScript compilation intro
  2. 1:06Introduction
  3. 2:10Why compile TypeScript
  4. 4:20Code execution modes
  5. 6:28JavaScript as interpreted
  6. 7:56TS Native goals
  7. 9:00TS Native architecture
  8. 12:18TS Native components
  9. 15:31LLVM IR intermediate
  10. 16:57SSA in LLVM IR
  11. 18:03TypeScript parse tree
  12. 20:35Compiler architecture
  13. 22:44LLVM IR example
  14. 24:30LLVM as framework
  15. 25:11C++ symbols for logic
  16. 27:15TS-C++ binary
  17. 29:46Runtime need for TS
  18. 31:14C++ entry point
  19. 33:21TS Native features
  20. 34:45TS Native pros/cons
  21. 36:11Lesson: avoid compiling TS
  22. 37:39Implementation details
  23. 38:00Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.