Plan 9c compiler

10 moment(s) that assert this concept — showing 1–10 of 10

single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] BCS[2] BCS[3] BCS[4] BCS[5] BCS[6] BCS[7] BCS[8] BCS[9] BCS[10] BCS
showing 10 of 10 moments
BCS Open Source Specialist Group · youtube · en
1The Plan 9c compiler was originally developed by Ken Thompson for use with the Plan 9 operating system.
“the original compiler was written by ken thompson”
spoken · 52s · 2020-10-20
BCS Open Source Specialist Group · youtube · en
2The Plan 9c compiler has been used to build the Inferno operating system's kernel and runtime.
“the inferno um kernel and the uh virtual memory and runtime of the infernal limbo language are written in c and built with the plan 9z compiler”
spoken · 83s · 2020-10-20
BCS Open Source Specialist Group · youtube · en
3The first releases of Go up to version 1.4 were packaged with the Plan 9c compiler to enable portability.
“the plan 9c compilers were used for that so the first releases of go up to go 1.4 were packaged with the plan 9c compilers”
spoken · 112s · 2020-10-20
BCS Open Source Specialist Group · youtube · en
4The Plan 9c compiler is useful for embedded programming on small systems with no operating system.
“the plan line compilers are useful for embedded programming on small systems where there's no operating system”
spoken · 173s · 2020-10-20
BCS Open Source Specialist Group · youtube · en
5The Plan 9c compiler supports a modernized version of ANSI C from the 1989–1990 era with features like long long for 64-bit integers.
“it's roughly ansi standard around 1989 1990 it's been modernized with some other features uh like long long for 32-bit uh 64-bit integers”
spoken · 233s · 2020-10-20
BCS Open Source Specialist Group · youtube · en
6A timing loop in embedded real-time operating system code uses inline assembly to prevent GCC from optimizing away a loop, a practice unnecessary in Plan 9C.
“the whole purpose of that is to stop gcc from optimizing the loop away and deleting it well plan nine compilers don't try to be that clever they won't optimize your code away”
spoken · 406s · 2020-10-20
BCS Open Source Specialist Group · youtube · en
7The Plan 9C compiler does not perform aggressive optimizations that remove or eliminate code, unlike GCC which may optimize away loops or other constructs.
“the compiler doesn't try to be that clever they won't optimize your code away”
spoken · 412s · 2020-10-20
BCS Open Source Specialist Group · youtube · en
8The Plan 9C compiler and toolchain are significantly smaller and faster to build than GCC or LLVM, taking only 1.8 seconds to compile on a Raspberry Pi 4.
“it took 1.8 seconds so um a previous speaker said something about llvm being rather slow to build um i know from experience gcc is quite slow to build”
spoken · 459s · 2020-10-20
BCS Open Source Specialist Group · youtube · en
9The Plan 9C compiler is extremely small, with the machine-independent part consisting of about 14,000 lines of C code and the architecture-specific part under 7,000 lines for the Risk-5 version.
“the total is about 14 000 lines um the it's based on yak there's a cc dot y is is yak source which is the entire grammar and the rest is manipulation of the abstract tree um then for each architecture there's a separate directory of um c code to do the machine dependent part of the compilation and this for the risk fire version for example just under 7000 lines of c to do that”
spoken · 495s · 2020-10-20
BCS Open Source Specialist Group · youtube · en
10The Plan 9C compiler generates an abstract high-level pseudo-assembler, which is then translated into machine instructions by the linker rather than the compiler itself.
“the c compiler produces a sort of abstract high-level pseudo assembler it's up to the linker to do the actual instruction machine instruction generation”
spoken · 558s · 2020-10-20