Tiny Core Linux

Off-Topic => Off-Topic - Tiny Core Lounge => Topic started by: nick65go on June 03, 2025, 05:17:03 AM

Title: Open-Source TPDE Can Compile Code 10-20x Faster Than LLVM
Post by: nick65go 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).
Title: Re: Open-Source TPDE Can Compile Code 10-20x Faster Than LLVM
Post by: Rich 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
Title: Re: Open-Source TPDE Can Compile Code 10-20x Faster Than LLVM
Post by: nick65go on June 03, 2025, 12:04:35 PM
This fork appears to be active:
https://github.com/TinyCC/tinycc (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.