Is there a compiler that can compile source code into a bunch of source codes for different platforms?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/AskProgramming

Our great sponsors
  • JetBrains - Developer Ecosystem Survey 2022
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SWIG

    SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.

    This sounds a bit like SWIG. You give SWIG an "interface file" describing the API of a library, and it uses that to spit out a bunch of language-specific bindings for that library.

  • haxe

    Haxe - The Cross-Platform Toolkit

    Haxe was designed for this exactly.

  • JetBrains

    Developer Ecosystem Survey 2022. Take part in the Developer Ecosystem Survey 2022 by JetBrains and get a chance to win a Macbook, a Nvidia graphics card, or other prizes. We’ll create an infographic full of stats, and you’ll get personalized results so you can compare yourself with other developers.

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