LLVM c-compiler

Open-source LLVM projects categorized as c-compiler

LLVM c-compiler Projects

  1. llvm-mos

    Port of LLVM to the MOS 6502 and related processors

    Project mention: Recursion kills: The story behind CVE-2024-8176 in libexpat | news.ycombinator.com | 2025-03-14

    > Suppose you have 100 functions that each need 100 bytes of scratch space. Statically allocating everything like you describe means you need 10KB of memory reserved. But suppose there is one main function, and the rest are helper functions, and the main function calls each helper function one at time and the helper functions don't call anything. With the static approach, you still need 10KB. With the stack-based approach, you only need 200 bytes (the stack space for the main function, and the stack space for the helper function it is currently calling).

    This is not necessarily the case: if you statically analyze the call graph, you may be able to prove that two functions will never be live at the same time, and thus reuse memory regions for their local variables: https://github.com/llvm-mos/llvm-mos/blob/main/llvm/lib/Targ...

    Of course, recursion, function pointers, and dynamic linking will defeat (or at least complicate) this scheme.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

LLVM c-compiler discussion

Log in or Post with

LLVM c-compiler related posts

  • LLVM-MOS 6502 Compiler Backend: Having a Blast in the Past

    1 project | /r/beneater | 15 Nov 2023
  • Explaining my fast 6502 code generator

    3 projects | news.ycombinator.com | 24 Mar 2023

Index

# Project Stars
1 llvm-mos 465

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that LLVM is
the 50th most popular programming language
based on number of references?