COSCUP x UbuCon Asia 2026 Logo
  • About
  • Session
  • Transportation
  • Venue
  • Communities
  • Sponsors
    • Participate Guide
    • First Timer
    • Activity
    • Speaker Participation
    • Welcome Party
    • For Overseas Visitors
    • Open Source Communities
    • Sponsorship Partners
    • Invitation Letter Guide
  • Staff
  • Fringe Events / BoF
  • Blog
  • CoC
中文

c4c: the smallest full feature C++ compiler for x86, arm and RISC-V based xPU

Time
2026-08-09 11:30 ~ 12:00
Speaker
吳啟聖 Tim Wu
Room
TR213
Co-write
System Software AdvancedMandarin

Abstract

Are modern compilers really designed for xPU?

New-generation AI accelerators like Google TPU, Meta MTIA, and Tesla Dojo increasingly adopt a hybrid architecture—RISC-V combined with Tensor Cores—to balance flexibility and performance. In theory, this allows developers to reuse mature toolchains like LLVM/MLIR, avoiding the need to build custom compilers from scratch.

In practice, the opposite happens.

The performance-critical path on xPU depends heavily on hardware-specific optimizations: memory layout, DMA orchestration, software pipelines, and register control. These are difficult for general-purpose compilers to infer. Developers inevitably fall back to handwritten inline assembly—fighting the toolchain instead of leveraging it.

This talk explores that gap and rethinks the role of the compiler. If optimization is inherently hardware-specific, should the compiler be redesigned around that reality?

After spending two years wrestling with LLVM, I made a decision: if modern LLMs can already write C compilers, why not build one that actually understands xPU?

This is not just about building a new toolchain—it’s about redefining what a compiler should be.

Speaker

吳啟聖 Tim Wu

吳啟聖 Tim Wu

Tim Wu is a senior NPU architect and compiler engineer at a Taiwan-based AI chip startup (Kneron). He specializes in AI compiler infrastructure and software frameworks for next-generation NPU chips targeting large model inference at embedded system costs.

Diamond

Canonical

Gold

Consecutive2 YrsInformation Management AssociationConsecutive2 YrsCathay Financial HoldingsConsecutive5 YrsE.SUN BankCumulative12 YrsMySQLCumulative6 YrsBerry AINitra

Silver

Cumulative16 YrsGamesofa Inc.

Bronze

KKTIXNational Center for High-performance ComputingONLYOFFICEQNAP Systems, Inc.Consecutive16 YrsThe Archilife Research FoundationSUN SQUARE Co., Ltd

Friend

Consecutive3 YrsAndes Technology CorporationAppier

Special Thanks

Consecutive2 YrsDepartment of Information Technology, Taipei City GovernmentSiFiveRozeta AI

Co-host

Collaborator9 YrsNTUST - Department of Electronic and Computer Engineering

Co-organizer

Collaborator12 YrsOpen Culture Foundation

COSCUP x UbuCon Asia 2026

Conference for Open Source Coders, Users, and Promoters | Asia's largest open source community conference.

Contact

  • Attendee Services
  • Sponsorship
  • Call for Proposals
  • Marketing

Resources

  • COSCUP Blog
  • Newsletter Subscription
  • Event Photos

Sitemap

  • Home
  • About
  • Transportation
20062007200820092010201120122013201420152016201720182019202020212022202320242025