Software Alternatives, Accelerators & Startups

Portable C Compiler VS 8cc

Compare Portable C Compiler VS 8cc and see what are their differences

Portable C Compiler logo Portable C Compiler

pcc is a C99 compiler which aims to be small, simple, fast and understandable.

8cc logo 8cc

A Small C Compiler. Contribute to rui314/8cc development by creating an account on GitHub.
  • Portable C Compiler Landing page
    Landing page //
    2019-11-06
  • 8cc Landing page
    Landing page //
    2023-08-05

Portable C Compiler features and specs

  • Simplicity
    PCC is designed to be simple and easy to understand, making it a good choice for educational purposes and for those learning about compilers.
  • Portability
    As its name suggests, PCC is portable and can be easily adapted to different machine architectures, allowing for broad platform support.
  • Small Size
    PCC has a smaller code base compared to other compilers like GCC, which makes it more lightweight and quicker to compile.
  • Legacy Code Support
    PCC is useful for compiling older C code that may not comply with modern C standards, providing support for legacy systems.

Possible disadvantages of Portable C Compiler

  • Limited Features
    PCC may lack some of the advanced features and optimizations found in more modern compilers like GCC or Clang.
  • Performance
    The performance of code compiled with PCC may not be as optimized as that compiled with other contemporary compilers.
  • Community and Support
    PCC has a smaller community and less active development compared to larger projects, potentially leading to fewer updates and less troubleshooting support.
  • Standard Compliance
    PCC may not fully support the latest C standards, which could be a limitation for projects that need to adhere to modern specifications.

8cc features and specs

No features have been listed yet.

Category Popularity

0-100% (relative to Portable C Compiler and 8cc)
IDE
92 92%
8% 8
Learning Resources
0 0%
100% 100
Project Management
100 100%
0% 0
Email Marketing
77 77%
23% 23

User comments

Share your experience with using Portable C Compiler and 8cc. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, 8cc should be more popular than Portable C Compiler. It has been mentiond 5 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Portable C Compiler mentions (2)

  • Hand-optimizing the TCC code generator
    Check PCC [1]. Official release was 2014, but development still active [2]. [1] http://pcc.ludd.ltu.se/. - Source: Hacker News / about 3 years ago
  • Research Unix v7 for Raspberry Pi
    Works for me in qemu, but remember to provide an SD card image as mentioned in the README before you run "make tools/sd.img" - e.g. The one in the releases https://github.com/r1mikey/research-unix-v7/releases/download/v7-unix-pi1-20200212/v7-unix-pi1-20200212.img.xz Otherwise, qemu will start up complaining about a large number of invalid memory accesses. Unfortunately, there is no port of pcc (the portable C... - Source: Hacker News / over 3 years ago

8cc mentions (5)

  • lambda-8cc: An x86 C compiler written in untyped lambda calculus
    The compiler looks to be here: https://github.com/rui314/8cc. Source: over 2 years ago
  • C meeting is over. C23 added
    Yes, C can be simple for writing a compiler. [0][1] No, optimisation, on the other hand, is not a simple problem. [0] https://github.com/rui314/8cc [1] https://github.com/rui314/chibicc. - Source: Hacker News / about 3 years ago
  • Compiler career advice?
    Implement a compiler for a subset of C. This doesn't need to be self-hosting, but bonus points if it is. Here's an example of what it can look like: https://github.com/rui314/8cc. Source: almost 4 years ago
  • NCC, a new ANSI/ISO C compiler
    While this is an impressive work, I feel that there are a lot of "tiny" C compilers out there; how is yours any different than SmallerC, TinyC, 8cc, chibicc and many others? Source: about 4 years ago
  • What is the simplest self-compiling subset of C?
    Great question. Here are some candidates: * https://github.com/rswier/c4 * https://github.com/Fedjmike/mini-c * https://github.com/rui314/8cc * https://github.com/rui314/chibicc * https://github.com/aligrudi/neatcc Some of them are actually interpreters, and I personally would be interested in actual compilers that generate machine code. - Source: Hacker News / about 4 years ago

What are some alternatives?

When comparing Portable C Compiler and 8cc, you can also consider the following products

GNU Compiler Collection - The GNU Compiler Collection (GCC) is a compiler system produced by the GNU Project supporting...

Tiny C Compiler - The Tiny C Compiler is an x86, x86-64 and ARM processor C compiler created by Fabrice Bellard.

Azure DevOps - Visual Studio dev tools & services make app development easy for any platform & language. Try our Mac & Windows code editor, IDE, or Azure DevOps for free.

LLVM - LLVM is a compiler infrastructure designed for compile-time, link-time, run-time, and...

WebAssembly - Application and Data, Languages & Frameworks, and Languages

Emscripten - Emscripten is an LLVM to JavaScript compiler.