Software Alternatives, Accelerators & Startups

Tiny C Compiler VS Monkey 2

Compare Tiny C Compiler VS Monkey 2 and see what are their differences

Note: These products don't have any matching categories. If you think this is a mistake, please edit the details of one of the products and suggest appropriate categories.

Tiny C Compiler logo Tiny C Compiler

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

Monkey 2 logo Monkey 2

An easy to use, cross platform, games oriented programming language
  • Tiny C Compiler Landing page
    Landing page //
    2019-11-06
  • Monkey 2 Landing page
    Landing page //
    2021-10-09

Tiny C Compiler features and specs

  • Fast Compilation
    Tiny C Compiler (TCC) is known for its incredibly fast compilation speed, which makes it ideal for quick compilations and testing.
  • Small Size
    TCC has a very small footprint compared to other compilers, making it easy to include in applications and use in environments with limited resources.
  • C99 Support
    TCC provides support for the C99 standard, allowing the use of newer C language features.
  • Dynamic Code Generation
    TCC can compile and execute code dynamically, which can be useful for scripting or embedded contexts.
  • Simplified Licensing
    Under the GNU Lesser General Public License (LGPL), TCC can be more easily used in various projects, including proprietary ones, compared to compilers with more restrictive licenses.

Possible disadvantages of Tiny C Compiler

  • Limited Optimization
    TCC does not perform extensive optimization, which can result in less efficient executable code compared to compilers like GCC or Clang.
  • Incomplete C Standard Library
    TCC's standard C library implementation is not as complete as those of more established compilers, which might lead to compatibility issues.
  • Lack of Detailed Documentation
    Users may find the available documentation lacking in detail, which can hinder learning and debugging for complex projects.
  • Limited Platform Support
    TCC is primarily designed for smaller-scale applications and lacks some platform-specific and cross-compilation capabilities.
  • Fewer Community Resources
    Compared to major compilers like GCC or Clang, TCC has a smaller user community, which can mean fewer tutorials, forums, and third-party support tools.

Monkey 2 features and specs

  • Cross-Platform Development
    Monkey 2 allows developers to write code once and deploy it across multiple platforms, including Windows, macOS, Linux, Android, and iOS, streamlining the development process and saving time.
  • Modern Language Features
    Monkey 2 supports modern programming language features such as type inference, generics, and lambda expressions, making it easier for developers to write clean and efficient code.
  • Active Community
    The Monkey 2 community is active and engaged, providing support, resources, and shared knowledge, which can be very helpful for both new and experienced developers.
  • Open Source
    Being open source, Monkey 2 allows developers to contribute to its improvement, ensuring that it can evolve according to the needs and desires of the community.

Possible disadvantages of Monkey 2

  • Limited Documentation
    Monkey 2's documentation can be sparse or outdated in some areas, which might pose challenges for new developers trying to learn the language or troubleshoot issues.
  • Smaller Ecosystem
    Compared to more popular programming languages, Monkey 2 has a smaller ecosystem, which might limit the availability of libraries, tools, and third-party support.
  • Less Recognition
    Monkey 2 is not as widely recognized or adopted in the industry as some other programming languages, potentially impacting its perceived credibility and the availability of job opportunities.
  • Development Pace
    While being open source is an advantage, the development pace of Monkey 2 might be slower than that of proprietary or more commercially supported languages, potentially delaying updates and new features.

Category Popularity

0-100% (relative to Tiny C Compiler and Monkey 2)
IDE
100 100%
0% 0
Game Engine
0 0%
100% 100
Text Editors
100 100%
0% 0
Game Development
0 0%
100% 100

User comments

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

Social recommendations and mentions

Based on our record, Tiny C Compiler seems to be a lot more popular than Monkey 2. While we know about 37 links to Tiny C Compiler, we've tracked only 1 mention of Monkey 2. 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.

Tiny C Compiler mentions (37)

  • What every compiler writer should know about programmers (Anton Ertl, 2015) [pdf]
    Some of those already exist, e.g. https://bellard.org/tcc/ However, they're not in widespread use. I would be curious to learn if there's any data/non-anecdotal information as to why. Is it momentum/inertia of GCC/LLVM/MSVC? Are alternative compilers incomplete and can't actually compile a lot of practical programs (belying the "relatively simple program") claim? Or is the performance differential due to... - Source: Hacker News / 6 months ago
  • Git: Introduce Rust and announce that it will become mandatorty
    In theory you should be able to use TCC to build git currently [1] [2]. If you have a lightweight system or you're building something experimental, it's a lot easier to get TCC up and running over GCC. I note that it supports arm, arm64, i386, riscv64 and x86_64. [1] https://bellard.org/tcc/ [2] https://github.com/TinyCC/tinycc. - Source: Hacker News / 11 months ago
  • Weird Lexical Syntax
    > I'm not sure who wants to be able to syntax highlight C at 35 MB per second, but I am now able to do so Fast, but tcc *compiles* C to binary code at 29 MB/s on a really old computer: https://bellard.org/tcc/#speed. - Source: Hacker News / almost 2 years ago
  • Pnut: A C to POSIX Shell Compiler you can Trust
    "Because Pnut can be distributed as a human-readable shell script (`pnut.sh`), it can serve as the basis for a reproducible build system. With a POSIX compliant shell, `pnut.sh` is sufficiently powerful to compile itself and, with some effort, [TCC](https://bellard.org/tcc/). Because TCC can be used to bootstrap GCC, this makes it possible to bootstrap a fully featured build toolchain from only human-readable... - Source: Hacker News / about 2 years ago
  • Cwerg: C-like language that can be implemented in 10kLOC
    For what it's worth you can implement a C compiler in under 10kLOC. The chibi C compiler is only a few thousand lines [1]. There is also Cake [2] and the tiny C compiler [3] which are both relatively small. [1] https://github.com/rui314/chibicc [3] https://bellard.org/tcc/. - Source: Hacker News / over 2 years ago
View more

Monkey 2 mentions (1)

  • Wonkey: A cross-platform FOSS programming language by the creator of BlitzBasic
    On one hand, BlitzBasic and BlitzMax was a key moment for me, 15 years ago, of 'getting' programming - I clearly remember as a teenager when some basic concepts clicked together, and here I am many years later a full-time indie game developer. But on the other hand, I've watched from afar enough of the post-Blitz tool development to be skeptical of anything new. Monkey 2 and Monkey X really didn't flourish and a... - Source: Hacker News / about 4 years ago

What are some alternatives?

When comparing Tiny C Compiler and Monkey 2, 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...

Blitz3D - Create 2D and 3D Games for Windows.

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

BlitzMax - With the developing version BlitzMax NG other 'targets' are available: ARM architecture, Raspberry, Android, HTML (Emscripten). RAPID DEVELOPMENT. Just open the IDE, write your code, hit F5 and see immediately the results!

clang - C, C++, Objective C and Objective C++ front-end for the LLVM compiler.

Phaser - Desktop and Mobile HTML5 game framework. A fast, free and fun open source framework for Canvas and WebGL powered browser games.