Fits on a 3.5" floppy… interesting.
Hare's first versioned release, 0.24.0
Submitted 10 months ago by rwnobrega@lemmy.world to programming@programming.dev
https://harelang.org/blog/2024-02-16-hare-0.24.0-released/
Submitted 10 months ago by rwnobrega@lemmy.world to programming@programming.dev
https://harelang.org/blog/2024-02-16-hare-0.24.0-released/
Fits on a 3.5" floppy… interesting.
rockSlayer@lemmy.world 10 months ago
The language itself seems pretty heavily inspired by rust. On that note, why in the hell wouldn’t they use ownership for memory management?
AriosThePhoenix@feddit.de 10 months ago
Funny you mention Rust - one of Hares lead devs (and I believe the original creator), Drew DeVault, has been pretty vocal about his dislike for Rust, especially in the low-level and Linux kernel world. Here’s an article by him about the subject:
drewdevault.com/…/Does-Rust-belong-in-Linux.html
IIRC correctly hare has more of a “trust the programmer” approach to things such as memory management.
Personallly, as a programmer who who trusts no one and especially not myself, I don’t think Hare is for me (and i disagree wit a lot of Drews points.) But that’s just my two cents.
darkmatternoodlecow@programming.dev 10 months ago
If there’s one thing the history of computers has shown us beyond the shadow of doubt, it is that programmers cannot under any circumstance be trusted to manage memory.
rockSlayer@lemmy.world 10 months ago
I suppose I can respect that opinion on memory management, but also disagree that we should always trust the programmer. I was mostly commenting on the syntax, if it weren’t for the fact that I was on the website for Hare I would have thought it was Rust.
It’s got a lot of good ideas from what I saw in the quick guide, but I feel like lifetimes are the next step for memory management in general. If they really want manual memory management to be default, they could continue to flip Rust and make a
safe
attribute for functions