26 points reverseblade2 1 hour ago 15 comments

andyfilms1 36 minutes ago | parent

Finally, C--

lpedrosa 17 minutes ago | parent

Don't you mean C♭?

vips7L 32 minutes ago | parent

Reminds me of Beef: http://www.beeflang.org/

amelius 27 minutes ago | parent

The "without any GC" part has me worrying. Is this advocating to just accumulate your garbage and throw it out only once every blue moon?

Also, does it ship with GUI libraries?

DougN7 21 minutes ago | parent

“Memory comes from arenas you free all at once”

dosshell 20 minutes ago | parent

I like arena allocators, but some how i fel like reference counting would have been a better match for C# philosophy, like swift.

bob1029 15 minutes ago | parent

The GC is a feature. Not a bug to be eliminated.

GC is not surrendering control. That seems to be HN's #1 bug bear. The sensation that someone or something is taking control away from you. The proper way to frame this is that you can actually focus on the original problem you set out to solve. Risking memory leaks is crazy when it's not something the customer is demanding. Even in gaming I think the GC is fine. There are ways to spread the impact across frames and bound the amount of time spent collecting.

If your clever scheme wouldn't work with a GC-managed heap, it probably won't work with one managed by hand either.

andai 8 minutes ago | parent

GC is literally surrendering control.

But it really depends on what you're doing. You can use the wrong tool for a job, but you can also use the right tool. It depends on the job.

hollowonepl 12 minutes ago | parent

I’m not sure, the whole point of this language, standard libraries and runtime is built around GC. Nobody from C# world is educated or prepared to manually manage memory. This is just bare metal C++ with a lot of it stripped away and just nicer/cleaner syntax that does not inherit so much from C and POSIX archeology.

Nice POC, especially on MS-DOS but nothing truly relevant in the long run, I’m afraid

andai 9 minutes ago | parent

I was already sold, you didn't need to sell me harder!

StilesCrisis 9 minutes ago | parent

Why did they eliminate reflection? That doesn't need huge runtime support or garbage collection.

kvuj 7 minutes ago | parent

Doesn't C# already support AOT compilation?