tinycc

Unofficial mirror of mob development branch (by TinyCC)

Tinycc Alternatives

Similar projects and alternatives to tinycc

  1. oils

    266 tinycc VS oils

    Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. v

    233 tinycc VS v

    Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io

  4. QEMU

    202 tinycc VS QEMU

    Official QEMU mirror. Please see https://www.qemu.org/contribute/ for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.

  5. mold

    187 tinycc VS mold

    Mold: A Modern Linker 🦠

  6. ocaml

    129 tinycc VS ocaml

    The core OCaml system: compilers, runtime system, base libraries

  7. Cwerg

    59 tinycc VS Cwerg

    The best C-like language that can be implemented in 10kLOC.

  8. cligen

    Nim library to infer/generate command-line-interfaces / option / argument parsing; Docs at

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. nimforum

    Lightweight alternative to Discourse written in Nim

  11. mir

    22 tinycc VS mir

    A lightweight JIT compiler based on MIR (Medium Internal Representation) and C11 JIT compiler and interpreter based on MIR

  12. bu

    16 tinycc VS bu

    B)asic|But-For U)tility Code/Programs (in Nim & Often Unix/POSIX/Linux Context)

  13. c2nim

    7 tinycc VS c2nim

    c2nim is a tool to translate Ansi C code to Nim. The output is human-readable Nim code that is meant to be tweaked by hand before and after the translation process.

  14. OffensiveNim

    My experiments in weaponizing Nim (https://nim-lang.org/)

  15. jet-live

    c++ hot code reload for linux and macos

  16. Inline-Perl5

    Use Perl 5 code in a Raku program

  17. OffensiveRust

    Rust Weaponization for Red Team Engagements.

  18. nio

    7 tinycc VS nio

    Low Overhead Numerical/Native IO library & tools (by c-blake)

  19. pvsneslib

    PVSnesLib : A small, open and free development kit for the Nintendo SNES

  20. nimterop

    Nimterop is a Nim package that aims to make C/C++ interop seamless

  21. mrbuild

    3 tinycc VS mrbuild

    Simple build system

  22. 9-cc

    Unix port of Plan 9 C compilers.

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better tinycc alternative or higher similarity.

tinycc discussion

Log in or Post with

tinycc reviews and mentions

Posts with mentions or reviews of tinycc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-03.
  • Autoconf makes me think we stopped evolving too soon
    8 projects | news.ycombinator.com | 3 Apr 2024
    A better solution is just to write a plain ass shell script that tests if various C snippets compile.

    https://github.com/oilshell/oil/blob/master/configure

    https://github.com/oilshell/oil/blob/master/build/detect-pwe...

    Not an unholy mix of m4, shell, and C, all in the same file.

    ---

    These are the same style as a the configure scripts that Fabrice Bellard wrote for tcc and QEMU.

    They are plain ass shell scripts, because he actually understands the code he writes.

    https://github.com/qemu/qemu/blob/master/configure

    https://github.com/TinyCC/tinycc/blob/mob/configure

    OCaml’s configure script is also “normal”.

    You don’t have to copy and paste thousands of lines of GNU stuff that you don’t understand.

    (copy of lobste.rs comment)

  • AST vs. Bytecode: Interpreters in the Age of Meta-Compilation [pdf]
    1 project | news.ycombinator.com | 15 Aug 2023
    I can highly recommend libtcc (https://github.com/TinyCC/tinycc.git) for this kind of thing. I recently ported the code developed in linux on an ARM chromebook to a generic windows box in 20 minutes.
  • Are there faster alternatives to GCC and Clang for C?
    2 projects | /r/Compilers | 5 Apr 2023
  • Offensive Nim
    8 projects | news.ycombinator.com | 1 Jan 2023
    I think it's a pretty nice prog.lang. You may be very happy. Though nothing is perfect, there is much to recommend it. By now I've written over 150 command-line tools with https://github.com/c-blake/cligen . A few are at https://github.com/c-blake/bu or https://github.com/c-blake/nio (screw 1970s COBOL-esque SQL) or in their own repos.

    If it helps, I like to use the "mob branch" [0] of TinyCC/tcc [1] for really fast builds in debugging mode, but this may only work if you toss `@if tcc: mm:markAndSweep @end` or similar in your nim.cfg. Then I have a little `@if r: ...` so I can say `nim c -d:r foo` for a release build with gcc/whatever.

    [0] https://repo.or.cz/w/tinycc.git

    [1] https://en.wikipedia.org/wiki/Tiny_C_Compiler

  • Bringing a dynamic environment to C: My linker project
    3 projects | news.ycombinator.com | 28 Oct 2022
    I have found the libtcc from https://github.com/TinyCC/tinycc to be absolutely fantastic. I'm using it to instantaneously compile the C output from my hobby language to create a repl. Once I had the compiler in good shape it allowed me to create a 100% compatible interpreter for (basically) free.

    The libtcc API is minimal. For my needs that has been 100% sufficient and a pleasure to work with.

  • tcc on RasPi, func pointers to standard functions are nil
    1 project | /r/C_Programming | 12 Feb 2022
    The latest version that people are working with can be found on the 'mob' branch at https://repo.or.cz/w/tinycc.git
  • Optimizing GoAWK with a bytecode compiler and virtual machine
    4 projects | news.ycombinator.com | 3 Feb 2022
    Instead of interpreters, if one has less of a "must be a full featured prog.lang" mentality and a fast compiler like Go or Nim [1] (or is willing to wait, for slow optimizing compiles to apply against big data sets) then an end-to-end simpler design for "one-liners" (or similarly simple programs) is the whole program generator. Maybe "big IFs", but also maybe not.

    To back up my simplicity claim, consider rp [2] -- like 60 non-comment/import/signature lines of code for the generator. Generated programs are even smaller. But, you can deploy gcc or clang or whatever against them and make fast libraries in the host language.

    Why, if you are willing to write those little generation command options in C99 then you can compile the harness with tcc [3] in about 1 millisecond which is faster than most interpreter start-up times - byte code or otherwise - and can link against gcc -O3 (or whatever) helper libraries.

    Anyway, I only write this because in my experience few people realize how much development cost they buy into when then insist on a full featured prog.lang, not to criticize Ben's work. You also make users need to learn quirks of that new language instead of the quirks of a "harness" which may be fewer.

    [1] https://forum.nim-lang.org/

    [2] https://github.com/c-blake/cligen/blob/master/examples/rp.ni...

    [3] https://repo.or.cz/w/tinycc.git

  • What's the best portfolio project that you have ever seen?
    1 project | /r/cscareerquestions | 14 Dec 2021
  • CHICKEN 5.3.0 has been released
    1 project | /r/scheme | 21 Nov 2021
    I think it is. At least there have been some recent activity in https://repo.or.cz/w/tinycc.git
  • Cwerg - an opinionated, light-weight compiler backend
    3 projects | /r/ProgrammingLanguages | 5 Jul 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 23 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Stats

Basic tinycc repo stats
15
2,305
8.7
16 days ago

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com