Is it possible to do runtime compilation and execution of C code?

This page summarizes the projects mentioned and recommended in the original post on /r/LLVM

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • score

    ossia score, an interactive sequencer for the intermedia arts

    I use it for live c++ recompilation in https://ossia.io - all the code is in there. https://github.com/ossia/score/tree/master/src/plugins/score-plugin-jit/JitCpp

  • SaaSHub

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

    SaaSHub logo
  • MemoryModule

    Library to load a DLL from memory.

    LLVM IR isn’t designed to be executable, it’s designed to be translated to machine code. but you can probably use libclang to compile a file to a DLL and then load it without using the disk (e.g. using https://github.com/fancycode/MemoryModule on Windows). if you can’t avoid using the disk for any of the step, just use temporary files

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Opening Windows in Linux with sockets, bare hands and 200 lines of C

    2 projects | news.ycombinator.com | 9 May 2024
  • Qt Widgets Rendering Pipeline

    2 projects | news.ycombinator.com | 15 Dec 2023
  • New To Lighting Design, Looking for guidance

    1 project | /r/lightingdesign | 18 May 2023
  • Audio Reactive MIDI

    1 project | /r/vjing | 17 May 2023
  • Qt's state machine framework: how widespread is it?

    1 project | /r/QtFramework | 21 Mar 2023

Did you konow that C++ is
the 6th most popular programming language
based on number of metions?