frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

EDG C++ front-end goes public

https://edgcpp.org/#transition
39•iandinwoodie•49m ago

Comments

my-next-account•38m ago
What is this?
OneDeuxTriSeiGo•35m ago
https://en.wikipedia.org/wiki/Edison_Design_Group

TLDR EDG C++ is a compiler frontend developed by EDG since the 80s which has been used under the hood for a whole bunch of commercial C and C++ compilers, static analyzers, linters, and IDE code completion tools.

Odds are if you are familiar with a closed source tool in one of those categories above, there's a decent chance it uses EDG's frontend somewhere in it under the hood.

dgrunwald•32m ago
It's one of the 4 big remaining C++ compiler frontends: gcc, clang, MSVC, EDG. Most other C++ compilers are based on either EDG or clang. (e.g. the Intel C++ compiler used to be based on the EDG frontend, though modern versions are based on clang instead)

The "frontend" is the part of the compiler that understands the input language: lexer, parser, template instantiation, constexpr evaluation, ... The EDG frontend produces an intermediate representation (IL) that is then used by the different compiler vendors to generate machine code. Or do code analysis.

EDG can also be used as a C++-to-C compiler.

ur-whale•10m ago
> EDG can also be used as a C++-to-C compiler.

Nice to see this still exists!

After all, this is how it all started back in the days of - what was it called again ? - yeah, cfront

https://en.wikipedia.org/wiki/Cfront

OneDeuxTriSeiGo•31m ago
Announcement: https://edgcpp.org/#transition

The source code itself: https://github.com/edgcpp/compiler

Documentation: https://edgcpp.org/doc/

And for those curious the license SPDX is: Apache-2.0 WITH LLVM-exception

i.e.

- https://spdx.org/licenses/Apache-2.0.html

- https://spdx.org/licenses/LLVM-exception.html

suid•26m ago
Ooh, fond (and some not so fond) memories of when Silicon Graphics' (MIPS) C and C++ compilers were based on EDG's frontend, with a custom ucode-generating backend, and integrated into CASEVision. Early 1990s.

EDG was just 3 guys back then.

vintagedave•26m ago
Wow. This is big news for C++.

For background -- and I am not an expert here -- their C++ frontend is widely known. I first heard of it because Visual C++'s Intellisense uses it, which was notable because VC does not use the msvc frontend for its own completion. I understand it's been either used or evaluated for other frontends in the past too. I worked as PM for one C++ product, and was fortunate to be able to learn a lot from our engineers; we didn't use it, but they thought highly of EDG.

It has a very strong reputation for being correct. And as such, I think open sourcing it will be a very beneficial thing for the C++ community.

carterschonwald•8m ago
i dont even use cpp and my immediate response was oh shit this is a big deal
cyberax•18m ago
It has an interesting code style, the comments go _after_ the function definition but before the opening bracket.

It looks weird, but it actually makes sense! The flow is more natural - first the function definition, and then the explanation of what it does. It also avoids repeating the function name.

mhh__•15m ago
This is also where conditions go in languages with contracts, I like it
zerr•11m ago
This is common in Lisps.
bobmarleybiceps•5m ago
never occurred to me to write a comment there, but it actually looks kind of clean imho. Really old C code looked like

void func(var1, var2) int var1, char* var2. { ... }

perhaps some legacy from that? Probably not, but just first thing that popped into my head since it feels similar :shrug:

Reasons to Use MyDef

https://github.com/hzhou/MyDef/blob/master/docs/Reasons.md
1•hzhou321•6s ago•0 comments

'The PR guys hated the name': The 1k-year-old story behind Bluetooth

https://www.bbc.com/travel/article/20260924-the-1000-year-old-story-behind-bluetooth
1•rmason•14s ago•0 comments

Denying Insulin and Meds: Disturbing Pictures of Neglect in ICE Mortality Report

https://prospect.org/2026/09/30/ice-neglect-immigration-deportation-mortality-reviews/
1•paimapi•1m ago•0 comments

I Miss People

https://dev.clintonblackburn.com/2026/09/30/i-miss-people.html
1•clintonb•1m ago•0 comments

Delta CEO Reportedly Trashes Elon Musk to Explain Rejecting Starlink

https://viewfromthewing.com/delta-ceo-reportedly-trashes-elon-musk-to-explain-rejecting-starlink-...
1•rmason•1m ago•0 comments

The Cuckoo's Egg (Book)

https://en.wikipedia.org/wiki/The_Cuckoo%27s_Egg_(book)
2•ibobev•1m ago•0 comments

Dear User, email is here to stay

https://github.com/tursomari/machtiani/tree/main
1•cachrevolt•1m ago•0 comments

Compute is always easy to implement

https://5iri.me/blog/joy-of-owning-the-whole-stack
1•5iri•1m ago•0 comments

Show HN: FGRF v3.0 – Scale-dependent structural probing of LLM weight topologies

https://github.com/RicPini/fgrf
1•RicPini•2m ago•0 comments

Join Ordering, Part 1: The Shape of the Search Space

https://deferworks.org/posts/join-ordering/
1•ibobev•3m ago•0 comments

Gemini 4 Argon

https://twitter.com/OfficialLoganK/status/2105388054274080946
3•singularis•5m ago•0 comments

A no-cost audio upgrade for my workstation

https://mit.teil.space/rane-sl3.html
2•ibobev•5m ago•0 comments

Oil Steadies as Saudi Pipeline Restarts and Supply Fears Ease

https://coinmarketcap.com/community/post/379725868/
1•joeymabia1•6m ago•1 comments

A Practical Guide to Making Yourself Obsolete Through AI

https://ana15.substack.com/p/a-practical-guide-to-making-yourself
1•aborovykh•7m ago•0 comments

Zig's State of the (Tagged) Union Address by Andrew Kelley [video]

https://www.youtube.com/watch?v=zwi5b5xSsKA
1•sionisrecur•7m ago•0 comments

The Electric Trucking Market's Record Rise: Three Things to Know

https://about.bnef.com/insights/clean-energy/the-electric-trucking-markets-record-rise-three-thin...
1•toomuchtodo•8m ago•1 comments

Function-preserving watermarking of AI-generated proteins

https://www.nature.com/articles/s41586-026-10965-y
1•sbulaev•9m ago•0 comments

Functional Ultrasound Imaging from Scratch

https://www.neuroai.science/p/functional-ultrasound-imaging-from
1•pminimax•9m ago•0 comments

How to take good photos at tech events

https://twitter.com/slashslashdev/status/2105384422082261310
1•d0able•9m ago•0 comments

Reddit will block Old.Reddit.com from people who haven't used it in 6 months

https://arstechnica.com/gadgets/2026/09/reddit-will-block-old-reddit-com-from-people-who-havent-u...
6•throw0101a•10m ago•0 comments

Gemini 4 Argon

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-argon/
111•bradleyg223•11m ago•32 comments

Visual Sokoban Solver in Zig/WASM

https://demin.ws/zig-sokoban-solver/
1•begoon•17m ago•0 comments

OpenAPPA: Deterministic guardrails that don't break agents

https://github.com/archestra-ai/OpenAPPA
7•simonpure•18m ago•1 comments

Gecko Feet

https://en.wikipedia.org/wiki/Gecko_feet
1•sans_souse•18m ago•0 comments

CafeBench: Sol 6.1 is great value, but not quite Opus level

https://www.getdot.ai/blog/cafe-bench-gpt-6-1-sol-sonnet-5-5
5•zodwick•19m ago•0 comments

Show HN: Domainpuff.com – Find memorable domain names within your budget

https://domainpuff.com/
1•brunoelylemon•20m ago•1 comments

Top Essential Linux Commands for DevOps Engineers

https://mobilestuff2026.blogspot.com/2026/09/top-10-essential-linux-commands-for.html
1•techGuardpro•21m ago•0 comments

CS240 AI Cheating Retrospective

https://turkeyland.net/thoughts/ai.php
2•ArchAndStarch•21m ago•0 comments

The BeerXML Beer Recipes Exchange Standard

https://beerxml.com
1•vegadw•22m ago•0 comments

Anthropic IPO prospectus lays bare deep dependence on Big Tech partners

https://www.reuters.com/world/anthropic-ipo-prospectus-lays-bare-deep-dependence-big-tech-partner...
3•cl42•23m ago•3 comments