Fusion Programming Language
fusion-lang.org
Fusion Programming Language
1–10 of 53 posts
Re: Fusion Programming Language
#2Fusion 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.
Re: Fusion Programming Language
#3Reminds me of https://xkcd.com/927/
Re: Fusion Programming Language
#4I'd love to see a comparison to Haxe. https://haxe.org/
I wonder what performance and generated code size/quality look like.
Re: Fusion Programming Language
#5Wow, this is really fusion. I like it.
Re: Fusion Programming Language
#6The idea it's good but hard to make it good. A universal language is hard to optimise for a particular language.
Re: Fusion Programming Language
#7What are the use cases? I am curious why Rust was not targeted.
Re: Fusion Programming Language
#8I'd love to see a comparison to Haxe. https://haxe.org/ I wonder what performance and generated code size/quality look like.
Apparently Haxe cannot target OpenCL. It can target PHP and Lua instead.
Re: Fusion Programming Language
#9What are the use cases? I am curious why Rust was not targeted.
I suppose you can write various algorithms in it, and have that code natively trsnspiled to different languages, for ease of native interoperability. It's unlikely to produce the absolutely most optimized code, but the lack of the interface translation barrier (aka FFI) may more than compensate for it.
Rust is not easy to target efficiently, due to the borrow checker, and they likely don't want to dyn Box everything.
Re: Fusion Programming Language
#10> implementing reusable components (libraries) for C, C++, C#, D, Java, JavaScript, Python, Swift, TypeScript and OpenCL C, all from single codebase
Why is this needed? I can't imagine that. I am sure writing code in fusion will produce C++ and Python code which is suboptimal and doesn't fit well in these languages.