WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Open-Source TPDE Can Compile Code 10-20x Faster Than LLVM  (Read 646 times)

Offline nick65go

  • Hero Member
  • *****
  • Posts: 895
Open-Source TPDE Can Compile Code 10-20x Faster Than LLVM
« on: June 03, 2025, 05:17:03 AM »
https://www.phoronix.com/news/TPDE-Faster-Compile-Than-LLVM "The primary goal is low-latency compilation while maintaining reasonable (-O0) code quality, e.g., as baseline compiler for JIT compilation or un-optimized builds. Currently, TPDE only targets ELF-based x86-64 and AArch64 (Armv8.1) platforms."
It seams to be better that not-manitened tcc (tiny C compiler).

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12141
Re: Open-Source TPDE Can Compile Code 10-20x Faster Than LLVM
« Reply #1 on: June 03, 2025, 09:24:00 AM »
Hi nick65go
... It seams to be better that not-manitened tcc (tiny C compiler).
This fork appears to be active:
https://github.com/TinyCC/tinycc

Offline nick65go

  • Hero Member
  • *****
  • Posts: 895
Re: Open-Source TPDE Can Compile Code 10-20x Faster Than LLVM
« Reply #2 on: June 03, 2025, 12:04:35 PM »
This fork appears to be active:
https://github.com/TinyCC/tinycc
Hi Rich, good catch!, thanks for the info. But I think tcc is ONLY for x86 programs, not for x86-64.

The merit of TPDE may be that fast-compile (not fast optimizer) is good for developers to quick compile + debug, rinse and repet. And some ideas maybe be in future implemented in other compilers. Maybe combined with Mold linker. It is good to know that still there are people who challenge the status quo and the ideas from 1990. The CPU evolved a lot, so parsers / compilers / linkers should also.
« Last Edit: June 03, 2025, 12:30:03 PM by nick65go »