logoalt Hacker News

Aardappel • yesterday at 9:07 PM • 5 replies • view on HN

I made the language, AMA :)


Replies

pixelesque • yesterday at 9:58 PM

Without wanting to be snarky, are the "hand optimized" C++ benchmark files mentioned on the benchmark page available anywhere, as the ones in the "bench/cpp/" directory don't look that optimized to me?

e.g. I see a general lack of reserve()s on strings and vectors (a few tests do use them a bit, like `graph` and `particles`), and there are several other things which I wouldn't personally call "optimized", so I assume those ones are the 'idiomatic' ones?

Same goes for the Rust code: a lot of the code seems to be using Vec::new() and String::new(), instead of ::with_capacity() which would optimize the memory re-allocation (reducing it as the containers/strings grow).

➕ show 1 reply
dash2 • yesterday at 10:02 PM

Do you think it would be worth writing the landing page yourself? The concepts seem interesting but it's painful to wade through stuff like "One memory model: stacks, and scope exit is the free".

➕ show 1 reply
onlyrealcuzzo • yesterday at 9:23 PM

If you mentioned it in the main page, I didn't see it.

Something that I'm interested in: How fast is the compilation speed on large programs compared to Zig, C, Go?

My ideal language is safer than Rust (no deadlocks / livelocks, no stack overflow from recursion), is optimized for cache locality, but compiles faster than Zig.

This seems like it's close to 2/3.

➕ show 1 reply
jnpnj • yesterday at 9:44 PM

Was it your first programming language ?

ps: Ah well, I could have searched before asking https://strlen.com/programming-languages/

super neat history !

➕ show 1 reply
briandw • yesterday at 9:25 PM

Fantastic project BTW! How much AI help did you have with this project? I'm assuming some. If so is it something that you would have taken on before AI help?

➕ show 1 reply