News for hackers. Stuff that matters.
Re:Show HN: Muon, a low-level programming language inspired ... by nickmqb on Sunday April 07, 2019 @04:53PM (#19599795)
Yes, one of the goals for Muon is to make it easy to use Muon code from another language.

There's a recent wave of new languages in the same spirit as Muon, like Zig, Kit, Jai and V (the last two have not yet been released). But since they all have no/minimal runtime, it should be relatively easy to reuse libraries between them.

Re:Show HN: Muon, a low-level programming language inspired ... by vedantroy on Sunday April 07, 2019 @05:16PM (#19599931)
I noticed Rust was not your list of languages. Is Rust fundamentally different then these languages? If so, why?
Re:Show HN: Muon, a low-level programming language inspired ... by IshKebab on Sunday April 07, 2019 @06:15PM (#19600294)
Rust aims for (mostly) memory safely which none of the others do. As a result it is way more complicated and rather different from them.
Re:Show HN: Muon, a low-level programming language inspired ... by nickmqb on Sunday April 07, 2019 @05:51PM (#19600146)
Ah, good question. Rust could definitely be in that list as well! It's a more mature language (so that's why I didn't mention it in the list), but conceptually it very much fits.
Re:Show HN: Muon, a low-level programming language inspired ... by e12e on Sunday April 07, 2019 @06:58PM (#19600492)
Seeing the original list, my guess was that it was no gc, with a small runtime - and the immediate question then was - how is this different/better than "D as a better C"?
Re:Show HN: Muon, a low-level programming language inspired ... by nickmqb on Sunday April 07, 2019 @08:29PM (#19600940)
The main difference is simplicity. D has a lof of features, like classes, inheritance, exceptions, properties, etc. Muon is a much simpler language that specifically avoids all of those things.
Re:Show HN: Muon, a low-level programming language inspired ... by Gibbon1 on Sunday April 07, 2019 @05:23PM (#19599978)
I think that is a very good design choice. Failing at that was one of the big catastrophes with C++.