Live data from Hacker News

Fusion Programming Language

fusion-lang.org

1–10 of 53 posts

Re: Fusion Programming Language

#2
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.

Re: Fusion Programming Language

#9

What 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.

Post reply on HN