HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
oridb
mc
C2014–2018
oridb / mc

mc

Myrddin Compiler

3Distinct people
10Mentions
0Explicit recommenders
411GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Myrddin Compiler

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:03:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year10 dated mentions

Observed mentions: 2014-01-22 16:38:03 UTC to 2018-10-01 22:26:28 UTC.

02462014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20142015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 7 mentions; 0 submissions, 7 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2018

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC101
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC101
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC707
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC000
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC110

What Hacker News says

10 sources
One of the goals I have is to keep the required runtime absolutely minimal, as well -- I'm ok with the compiler inserting some user-defined code in the appropriate places to initialize or release values, but I'd like to avoid growing the required code in https://github.com/oridb/mc/tree/master/rt unless it's absolutely necessary. And yes, that ~60 lines per platform is really all that's needed. (And actually, I should be able to merge more of it for SysV platforms.) So, I've thought about a GC, but I'd really prefer not to have it.
In Crystal: Fast as C, Slick as Ruby
> That said, my few wishes for a C replacement would be generics, methods, and namespacing. I think my pet language (Myrddin) actually has you almost covered. It doesn't have methods, but it does have traits, which allow similar things at compile time. https://github.com/oridb/mc You have an example of generics and traits here, in the std namespace: https://github.com/oridb/mc/blob/master/lib/std/htab.myr https://github.com/oridb/mc/blob/master/lib/std/iterutil.myr
In Introduction to the Zig Programming Language
Author here. If you've got any questions, I'd be happy to answer. I'm a little sad that this got posted before I had a chance to write a good tutorial and upgrade the documentation. So, imagine that this project was just about to step into the shower when Hacker News came knocking on the front door. "A package? I like packages but.. damn it. I'm not presentable yet." All the code in compiled binaries is in Myrddin, other than a few assembly stubs: There is no dependency on any installed library, although you can bind to C if you want -- for example, http://git.eigenstate.org/ori/cbind-example.git/tree/ But everything else is in Myrddin. For example, memory allocations: https://github.com/oridb/mc/blob/master/lib/std/alloc.myr Or regexes: https://github.com/oridb/mc/tree/master/lib/regex The various system calls are all here: https://githu
Read the rest
b.com/oridb/mc/tree/master/lib/sys And so on. If you want to play with it, there's a playground here: http://eigenstate.org/myrddin/playground And there's even a neat little regex debugger it ships with that I find useful: $ redump '[a-z]+' abc123 Match failed: abc123 ~~~^
In Myrddin: a systems language that is powerful and fun
> Anyways, I’ve been learning some interesting things about OSX that I’ll be sharing soon. Nice, that should be amusing to read. OSX is a very strange system -- it has two system call APIs (BSD, and Mach), which respectively have some very odd holes. Some of the OSX syscalls return values split between 32 bit registers instead of in a single 64 bit register, while others don't. Some of them return things by value, even though the C API specifies out parameters. And so on. I've spent way too much time trying to figure out how this stuff works on OSX when writing Myrddin (https://github.com/oridb/mc). I've still got quite a bit more to do so that I can finish implementing libthread on OSX.
In Intro to Debugging X86-64 Assembly

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.