Thread #108670597
HomeIndexCatalogAll ThreadsNew ThreadReply
H
I have recently been browsing the internet, seeking for hidden gems. And today, I not only found a gem, but a diamond: Hare.

https://harelang.org/
> Hare is a systems programming language designed to be simple, stable, and robust. Hare uses a static type system, manual memory management, and a minimal runtime. It is well-suited to writing operating systems, system tools, compilers, networking software, and other low-level, high performance tasks.

Nothing special, right? But holy shit, look at how elegant it is. The syntax is remarkably clean and predictable. The language is expression based meaning that for and if expressions can have a value. It has tuples and pattern matching. Easy integration with C. But the best thing by far: No header files! It has a go inspired module system!
Why is this language not more popular, genuinely? I read it has existed for 3 years already.
+Showing all 38 replies.
>>
>>108670597
in a proper language, you'd just

items.find(your_shit)


why are we bringing back weird ass python assy loops shit?
>>
>>108670628
Only scripting and bytecode-compiled languages do this.
>>
>>108670634
wrong.
>>
>>108670597
buy an ad drew
>>
okay but can you make video games with it
>>
>>108670657
Yes you can!
https://git.sr.ht/~sircmpwn/betamine
>>
>>108670678
looks like shit I'll just stick to c/c++/assembly
>>
Just once I'd like to see a language that actually tries to improve code generation.
>>
>>108670634
C++
auto items = std::vector<const char*>{"a", "b", "c"};
auto res = std::find_if(items.begin(), items.end(), [=](auto i) { return i == muh_pred; });


rust
let items = ["a","b","c"];
let res = items.into_iter().find(|i| *i == muh_pred);


you're wrong.
>>
Don't see it sufficiently better than C to bother switching.
>>
>>108670727
>std::find_if(items.begin(), items.end(), [=](auto i) { return i == muh_pred; });
This is WORSE than a for loop. You need more includes, takes longer to type, is harder to remember and runs slower. Just why?
>rust
not a serious language
>>
>>108670743
you're a fucking retard and also got btfo. away with you. even a god awful mutable outer variable that has some sigil value or a sum type is better than an else clause after your loop.
>>
>>108670752
Hare has sum types too, without being bloated like Rust
>>
>>108670752
>BECAUSE IT JUST IS OK
>>
>>108670764
you lost tranny >>108670634
argument: A BLOO BLOO BLOO ONLY MANAGED RUNTIME AND SCRIPTING LANGUAGES LET YOU HAVE BASIC ITERATORS
>>108670727
Modus tollens, QED
>>
>>108670783
>you lost tranny
Lol
Lmao
Enjoy getting mogged.
>>
>>108670743
>not a serious language
not a serious poster
>>
>>108670597
>systems programming language

const (ant retardation).. for (man)let(s).. like (You). semicolons everywhere, now!
>>
>>108670597
>};
Why
>>
>>108670597
>everyone (except you supposedly) has heard of it, yet no one uses it
buy an ad drew
>>
>>108670597
>syntax is remarkably clean and predictable
>for(..) {...} else {...}
>>
>>108671334
>assumes there's reasons other than the A word
>no not anal
>>
>>108670628
maybe its tryna become MoRe User friendly but then again i havent looked into it im probably wrong
>>
>>108671353
>makes /g/ seethe
Truly the most based BDFL of all time.
>>
>>108671380

if (let this) {be::some::kind::of::joke()!;};
>>
>>108671554
>>
>>108671488
trannyware
>>
>>108670597
>coding manually after AI
Lmao
>>
>>108670727
rust be like
items.unwrap_foreskin().into_axe_wound().find(|&&gender| still::not::a::woman(gender))
>>
>>108674593
Oh god, the autism.
>t. not even a rusty
>>
>>108673509
>>108671488

Dunno Hare is based. The whole idea behind the whole language is to implement a fully functioning system in as little code as possible without external dependencies. I just want something that offers modern computing amenities in <100k LoC all deps included.
>>
File: KEGW.png (30.2 KB)
30.2 KB
30.2 KB PNG
>>108674593
>>
>>108674593
fucking kek
>>
>>108670597
>The most ellegant and simple compiled language
You posted the wrong one.
>>
File: gem.gif (615.4 KB)
615.4 KB
615.4 KB GIF
>>108670597
>>
>>108671488
Hare is possibly even less important to /g/ than Crystal. (Which is quite the accomplishment)
>>
File: Fparmy.jpg (512.2 KB)
512.2 KB
512.2 KB JPG
Statementlets reinventing lisp
>>
>>108675738
Hare is just better

Reply to Thread #108670597


Supported: JPG, PNG, GIF, WebP, WebM, MP4, MP3 (max 4MB)