返回排行榜

fusionlanguage/fut

C++fusion-lang.org

Fusion programming language. Transpiling to C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C.

programming-languagelanguagetranspiler
Star 增长趋势
Star
1.9k
Forks
70
周增长
Issues
42
5001k1.5k
2023年8月2024年7月2025年7月2026年7月
README

Travis CI GitHub Actions codecov

Fusion Programming Language

Fusion is a programming language designed for implementing reusable components (libraries) for C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C, all from single codebase.

A "Hello, world" library:

public class HelloFu
{
    public static string GetMessage()
    {
        return "Hello, world!";
    }
}

can be translated to all the listed languages with:

fut -o hello.c,cpp,cs,d,java,js,py,swift,ts,cl hello.fu

The translated code is lightweight (no virtual machine, emulation nor dependencies), human-readable and fits well with the target language, including naming conventions and documentation comments.

Check out Fusion Playground in your browser.

For further instructions, see Getting Started.

相关仓库
golang/go

The Go programming language

GoGo ModulesBSD 3-Clause "New" or "Revised" Licenseprogramming-languagelanguage
go.dev
135.3k19.3k
JetBrains/kotlin

The Kotlin Programming Language.

Kotlinkotlinprogramming-language
kotlinlang.org
53.2k6.4k
charlax/professional-programming

A collection of learning resources for curious software engineers

PythonPyPIMIT Licenseread-articlesprogrammer
51.3k4k
JuliaLang/julia

The Julia Programming Language

JuliaMIT Licensejulia-languagejulia
julialang.org
48.9k5.9k
LeCoupa/awesome-cheatsheets

👩‍💻👨‍💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.

JavaScriptnpmMIT Licensecheatsheetsjavascript
lecoupa.github.io/awesome-cheatsheets/
46.2k6.7k
vlang/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

VMIT Licenseprogramming-languagelanguage
37.7k2.3k
carbon-language/carbon-lang

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

C++Otherprogramming-languagecarbon-lang
docs.carbon-lang.dev
33.8k1.6k
modular/modular

The Modular Platform (includes MAX & Mojo)

MojoOtherailanguage
docs.modular.com
26.6k2.9k
argotorg/solidity

Solidity, the Smart Contract Programming Language

C++GNU General Public License v3.0cppethereum
soliditylang.org
25.7k6.1k
ethereum/solidity

Solidity, the Smart Contract Programming Language

C++GNU General Public License v3.0cppethereum
soliditylang.org
24k6k
modular/max

The MAX Platform (includes Mojo)

MojoOtherailanguage
docs.modular.com/max/
23.8k2.6k
ruby/ruby

The Ruby Programming Language

RubyRubyGemsOtherrubyc
ruby-lang.org
23.7k5.6k