EEVblog Electronics Community Forum

Products => Computers => Programming => Topic started by: SiliconWizard on December 10, 2023, 12:35:23 am

Title: This is the Hare
Post by: SiliconWizard on December 10, 2023, 12:35:23 am
The language of the month for the now famous new programming languages series:

https://harelang.org/
Title: Re: This is the Hare
Post by: Foxxz on December 10, 2023, 02:47:12 am
Thought I had a bug in my code. Turned out it was just fleas.
Title: A
Post by: SiliconWizard on December 12, 2023, 01:37:37 am
At first sight, it looks like a lot of stuff borrowed from Zig, Rust, of course C, and a few others.

One thing that got me curious though, is how lean the whole tooling is. They are using QBE, a (kind of funky) back-end compiler that is not LLVM (for once). While it only has 3 targets, 64-bit only for now, and with limited optimization, it's excessively small. Could be interesting to look at and experiment with:

https://c9x.me/compile/