Re: Can someone explain the advantages in the language please?
Thanks for the link, 2+2=5
Key takeaway:
"A complete lack of memory-safe features and a miserable error handling experience both make it pretty easy to make mistakes in C that are not possible elsewhere."
...
"In summary
"Hare makes a number of conservative improvements on C’s ideas, the biggest bet of which is the use of tagged unions. Here are a few other improvements:
* A context-free grammar
* Less weird type syntax
* Language tooling in the stdlib
* Built-in and semantically meaningful static and runtime assertions
* A lightweight system for dependency resolution
* defer for cleanup and error handling
* An optional build system which you can replace with make and standard tools
"Even with these improvements, Hare manages to be a smaller, more conservative language than C, with our specification clocking in at less than 1/10th the size of C11, without sacrificing anything that you need to get things done in the systems programming world."