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

John R Levine <>
Mon, 10 Jun 2024 14:21:36 +0200

          From comp.compilers

Related articles
| List of all articles for this month |

From: John R Levine <>
Newsgroups: comp.compilers
Date: Mon, 10 Jun 2024 14:21:36 +0200
Organization: Compilers Central
Injection-Info:; posting-host=""; logging-data="7385"; mail-complaints-to=""
Keywords: practice
Posted-Date: 10 Jun 2024 08:23:13 EDT

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

In the discussion at the end they say "A programmer's task is to write
programs that compile." which I think summarizes the basic problem with
the paper. Take a look.

John Levine,, Taughannock Networks, Trumansburg NY
Please consider the environment before reading this e-mail.

Post a followup to this message

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