Rant time? Rant time.

FeepingCreature feepingcreature at gmail.com
Tue Sep 22 07:02:15 UTC 2020


On Tuesday, 22 September 2020 at 06:13:30 UTC, Ola Fosheim 
Grøstad wrote:
> On Monday, 21 September 2020 at 10:55:22 UTC, FeepingCreature 
> wrote:
>> Still the best language I know. At least for now, until my 
>> current compiler project is off the ground...
>
> What are the key features of your language and what kind of 
> memory management?

Hahaha...

Cx (rename pending) is pre-0.0.1. It's self-hosting, but barely. 
I'm probably still a year out from *having* memory management to 
speak of. I'm aiming for a sort of "D1 with macros" feature level 
right now to start. At the moment, the compiler massively leaks 
memory because I have neither GC nor managed memory; every array 
append reallocates the entire array. And I'm not even worrying 
about it, because I have about 66 other TODOs to handle first.

Give it time. :)

I'll definitely post about it once it's more presentable. Repo is 
at https://github.com/FeepingCreature/Cx/ in case you want to 
take a look at it- though note that you can't even build it rn 
because I don't have a clean solution for the bootstrapping 
problem, so at the moment the process is just "build the new 
binary with the old binary" and I'm not sure that all of my 
commits are even cleanly buildable with the previous commit's 
binary. If you want to play with it, ping me on irc (feep in #d 
on freenode) for a C backend dump to bootstrap from.

(But to answer your question, I'm vaguely hoping for something 
semi-rusty with a clean separation of owning and reading 
references.)


More information about the Digitalmars-d mailing list