Re: Compilation Quotient (CQ): A Metric for the Compilation Hardness of Programming Languages

Derek <>
Mon, 10 Jun 2024 20:30:37 +0100

          From comp.compilers

Related articles
| List of all articles for this month |

From: Derek <>
Newsgroups: comp.compilers
Date: Mon, 10 Jun 2024 20:30:37 +0100
Organization: Compilers Central
References: 24-06-003
Injection-Info:; posting-host=""; logging-data="99369"; mail-complaints-to=""
Keywords: parse, practice
Posted-Date: 10 Jun 2024 16:43:26 EDT
In-Reply-To: 24-06-003


> This preprint from TU Delft and ETH Zurich generates small programs from
> the grammars of several popular programs, and calculates CQ, which is
> roughly the percentage (0-100) that compile, intended as a proxy for how
> hard the languages are to write. C has a CQ of 48, Rust barely above
> zero.

The paper
Programming Languages vs. Fat Fingers

made small changes to existing code, in various languages,
and then measured how many compiled, ran and produced
the correct output.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.