Thread 105560164 - /g/ [Archived: 998 hours ago]

Anonymous
6/11/2025, 3:10:14 PM No.105560164
1749647351080
1749647351080
md5: df162e22393fc417cb64be1cf363b9b8๐Ÿ”
I recently found out about the Hare programming language. Tagged unions, linear types, seems like a mathfag language like Haskell to me
Have you guys tried it out?
Replies: >>105560172 >>105560269 >>105560404 >>105561719 >>105561746 >>105561770 >>105561791 >>105561883 >>105563043 >>105563081 >>105563302 >>105563371 >>105563414 >>105563499 >>105563981 >>105564390 >>105564478 >>105564522 >>105564577 >>105564589 >>105564610 >>105564653 >>105564717 >>105564776 >>105564828 >>105564887 >>105564939 >>105564965 >>105565009 >>105565057 >>105565828 >>105566297 >>105566467 >>105566785 >>105567472 >>105567772 >>105567909 >>105569982 >>105570081 >>105570170 >>105570593 >>105570722 >>105571405 >>105576214 >>105576577 >>105589248
Anonymous
6/11/2025, 3:12:21 PM No.105560172
>>105560164 (OP)
Hi Drew
Replies: >>105573134 >>105576776
Anonymous
6/11/2025, 3:26:04 PM No.105560269
>>105560164 (OP)
Buy an ad, Drew.
Replies: >>105570170 >>105573134 >>105577072
Anonymous
6/11/2025, 3:42:50 PM No.105560404
>>105560164 (OP)
Almost every modern language has those features.
It's nothing special.
Replies: >>105561808 >>105577336
Anonymous
6/11/2025, 4:49:01 PM No.105560936
Hare is *awesome* for math, yes
Replies: >>105561413 >>105577553
Anonymous
6/11/2025, 5:45:42 PM No.105561413
>>105560936
Because the only thing it's good for is being a bootleg calculator LOL
Replies: >>105577758
Anonymous
6/11/2025, 6:18:01 PM No.105561719
>>105560164 (OP)
why does drew feel the need to lie every time he does something shady, only to be definitively proven a liar lol
Replies: >>105577973
Anonymous
6/11/2025, 6:19:55 PM No.105561746
>>105560164 (OP)
It's potentially a really good language if you are looking for a modern C and *nothing more*

Basically drew added to c some ergonomics around the known C warts
> modules instead of textual macros
> better error handling, to me the best feature that hare adds to C.
> "real strings"
> non nullalble pointers
> slices so you can avoid using pointer arithmetic for 90% of the cases you need it in C
> complete stdlib inspired by golang


The error handling mechanism is the real evolution over C and should be expanded a little bit. The anonymous tagged union mechanism allows you to have optional types on the fly and you can combine them instead of creating N unions for N functions that could return an error, and the pattern matching (that should be exhaustive) + propagation operator (?) is simple and powerful

Linear types are not yet implemented and are only an idea tho.
Replies: >>105561791 >>105578169
Anonymous
6/11/2025, 6:22:40 PM No.105561770
>>105560164 (OP)
is it memory safe?
Replies: >>105561883 >>105578416
Anonymous
6/11/2025, 6:25:04 PM No.105561791
>>105560164 (OP)
>>105561746
Adding to that there are a couple of non functional features that are also interesting, and lowkey and counterintuitively innovative
> Hare will freeze its features once it'll reach 1.0. The rationale behind this is that languages nowadays want to live eternally and theoretically they could evolve to implements new feature to be up to date. In reality what we have seen is simple languages that end up suffering with featuritis(C++/Java), backward compatibility problems (python 2 vs 3 and also between minor versions). Drew want you to be able to say "This 50 years old project used Hare, I can work with this without caring what version it is, or what standards implements) and once the new programming language technology outgrow too much hare there will be another completely new language that will solve the gap. The idea is to have a 100 years language, which imo is too ambitious, by a "good enough" language can last easily 30 years old

> QBE as backend instead of the de facto starndard LLVM. Hare want to be as simple as possible, so it sacrifice performance over other dependability factor (maintanability, readability, extendability). A small team of good programmer can port hare +QBE to any platform in a couple of months. This again seems counterintuivie but the reality is that new languages that originally used LLVM (like zig and odin) are trying to move away from LLVM because it's a gigantic and really complex project that breaks compatibility on pretty much any new releases.

> Tagged unions, linear types, seems like a mathfag language like Haskell to me

On the contrary. Hare goals is to be a simple and very practical language

tagged unions are just a way to implement optional types in a simple way, something like

fn file_open(path : str) (void | fs::errror) {

So your function can return *either* nothing in case of success, or an error in opening the file
Replies: >>105561948 >>105578605
Anonymous
6/11/2025, 6:26:34 PM No.105561808
>>105560404
You are a liar, no mainstream language implement anonymous (dynamic) tagged union and linear types
Replies: >>105578797
Anonymous
6/11/2025, 6:35:27 PM No.105561883
>>105560164 (OP)
linear types in practice just means that any resource **has** to be used **exactly once**
https://austral-lang.org/tutorial/linear-types

>>105561770
It has some memory safety features like nonnullable pointers, no pointer arithmetics and slices but it's not really memory safe

Once (and if) they will implement linear types it will be as safe as Rust
I'm not a PL theorist but Rust uses affine types (resources might be used at most once) which are less restricted than linear types (resources must be used exactly once) so I assume Hare will inher the same guarantees

I imagine that linear types lead to more rigid program structure but they are easier to use, implement and reason about as opposed to Rust affine types
Replies: >>105562019 >>105578965
Anonymous
6/11/2025, 6:41:11 PM No.105561948
>>105561791
In a "simple" and "practical" language (aka C) you just return a int, and if it's 0 the caller knows there was no error.
Replies: >>105562004 >>105579145
Anonymous
6/11/2025, 6:46:59 PM No.105562004
>>105561948
That's not simple, that's not sufficient
C has big limitation in error handling because you have to use a coded value which is perfectly valid in the domain type returned by the function. Also you have a global errno, [p/str]error buffer to hold any local errors which force you to access it in order to know which error happened withouth knowing which function raised (unless you encoded in the string error message)

It also doesn't force you to deal with error, so you can use a perfectly valid value that in reality encoded an error

That's just inexcusable. Being simple is something different from being primitive

Hare honestly solve in the most convenient way: tagged unions and pattern matching
Replies: >>105562134 >>105579264
Anonymous
6/11/2025, 6:48:30 PM No.105562019
>>105561883
>no pointer arithmetics and slices but it's not really memory safe
Yes that's what I wanted to get into.
Isn't it restrictive, for a low level language, to not have pointer arithmetic?
Are slices dereferences automatically bounds checked? aka are there conditionals inserted?

>Once (and if) they will implement linear types it will be as safe as Rust
Only if linear types are imposed on all pointers, I think. Because otherwise you could have use after free and related. But yeah, having them even optionally makes programs safer if they are used.
Replies: >>105562104 >>105579438
Anonymous
6/11/2025, 6:56:54 PM No.105562104
>>105562019
>Isn't it restrictive, for a low level language, to not have pointer arithmetic?
most of pointer arithmetics usecase is covered by slices. But iirc you can still do pointer arithmetic but hare forces you to acknowledge in some way (iirc by casting) you are doing it

> Are slices dereferences automatically bounds checked?

I don't really remember, there's defer iirc. I'm not following hare development untill it'll reaches an "almost stability" because I don't trust ddv mental stability although I think it's a really interesting project

Anyway you can learn about it in half hour by looking at the tutorial on the website https://harelang.org/documentation/ https://harelang.org/tutorial

It also has a formal specification if you want to look into that https://harelang.org/specification


> Only if linear types are imposed on all pointers, I think.
I don't understand why do you think it will applied partially
Replies: >>105563069
Anonymous
6/11/2025, 7:00:00 PM No.105562134
>>105562004
>That's not simple
yes it is
>that's not sufficient
yes it is
>use a coded value which is perfectly valid in the domain type returned by the function
So don't do that. I can do the same thing in hare, if I want
>It also doesn't force you to deal with error
[[nodiscard]]
there, the "innovation" of hare has been added to c23. Can you stop spamming these stupid threads now drew?
Replies: >>105562215 >>105579563
Anonymous
6/11/2025, 7:06:20 PM No.105562215
>>105562134
It's not simple, it's again, too primitive, which is not an empty statement. That oversimplistic error handling lead to serious bugs and really hard bug hunting, especially when your are dealing with 3rd party library

> So don't do that. I can do the same thing in hare, if I want
You'll be a retard if you choose to do it in hare. You can also not using functions in C and put your whole program in a single file but you would be an idiot doing that

What hare offers is something it can't be done in C and has only advantages


> [[nodiscard]]
That doesn''t do anything of interest. It doens't force you to check if a function returning an integer that returns -1 is a valid value or an error

> Can you stop spamming these stupid threads now drew?
Can you come back once you actually know shit? because you are making drew a favor by showing yourself as a retard
Replies: >>105562301 >>105579688
Anonymous
6/11/2025, 7:14:10 PM No.105562301
>>105562215
>It's not simple
methinks you would benefit from the perusal of a dictionary
>it's again, too primitive
"too primitive" is not an antonym of "simple", but regardless is demonstrated to not be applicable here.
>You'll be a retard if you choose to do it in hare.
Same in C, obviously.
>It doesn't force you to check if a function returning an integer that returns -1 is a valid value or an error
nothing forces you to write such functions
Replies: >>105562367
Anonymous
6/11/2025, 7:20:21 PM No.105562367
>>105562301
>too primitive" is not an antonym of "simple"
It wasn't intended to be
> Same in C, obviously.
C doesn't implement that error handling method, you just can't do it in C

> nothing forces you to write such functions
yet it's the way every C programmers write functions (and it is actually the only way to managing errors despite what you nocode contrarian say)

Only a retard would argue in favor of C error handling, that's an objective reality. You just want to be a contrarian faggot
Replies: >>105562416 >>105570115 >>105579834
Anonymous
6/11/2025, 7:25:22 PM No.105562416
>>105562367
>C doesn't implement that error handling method, you just can't do it in C
illiterate-kun, I was saying nothing forces you to use a certain error handling method, not that you can't use hare's overcomplicated approach in c (you can, of course, tagged unions are possible in c as well)
>yet it's the way every C programmers write functions
This is simply false. well designed c apis don't work this way
>Only a retard would argue in favor of C error handling, that's an objective reality. You just want to be a contrarian faggot
I'm not even arguing that it's better, just that's it's simpler. You decided that you would equivocate the two, and are now quite mad when you realize this let you get drawn into an argument with a contrarian.
Replies: >>105562485
Anonymous
6/11/2025, 7:32:38 PM No.105562485
>>105562416
>illiterate-kun, I was saying nothing forces you to use a certain error handling method,
But it offers only advantages over C, so...

> not that you can't use hare's overcomplicated approach in c (you can, of course, tagged unions are possible in c as well)
They are not anonymous first of all, but more importantly there's no enforcing in checking by exhaustive pattern matching
Again, you can't do it simply in C

> overcomplicated
You must be a complete retard if you can't grasp your head around (valid return type | errror class 1 | error class 2)

> This is simply false. well designed c apis don't work this way
post code then

> I'm not even arguing that it's better, just that's it's simpler
Better should be implied otherwise the entire conversation doesn't make any sense to begin with.
I'm arguing that the (lack) of C error handling mechanisms actually makes programming harder

So what's your point in C error handling being simple?
Anonymous
6/11/2025, 8:29:00 PM No.105563043
>>105560164 (OP)
Hare is way simpler than Haskell lol. It's more like C but without the footguns. Tagged unions are just enums on steroids.
Anonymous
6/11/2025, 8:31:47 PM No.105563069
>>105562104
I got my answer for the bounds checking.

https://harelang.org/tutorials/introduction#arrays-and-slices-continued
see pic related

https://harelang.org/tutorials/introduction#slice-assignment
slices assignments are also bounds check

>I don't understand why do you think it will applied partially
Look at what Austral do. You can have both regular pointers and regular slices, and also linear pointers and linear slices.
https://borretti.me/article/introducing-austral
https://borretti.me/article/how-australs-linear-type-checker-works
Replies: >>105563079 >>105563154
Anonymous
6/11/2025, 8:32:34 PM No.105563077
>without the footguns
Except manual memory management. But yeah, it's clean. Wrote a small CLI tool in it last week and it felt refreshing.
Replies: >>105563134 >>105570128 >>105580087
Anonymous
6/11/2025, 8:32:48 PM No.105563079
hare array and slice bounds checking
hare array and slice bounds checking
md5: cceddce57eed178b492400d3dccd7c21๐Ÿ”
>>105563069
Anonymous
6/11/2025, 8:32:54 PM No.105563081
>>105560164 (OP)
Every once in a while this hobbit gets tired of being BTFO on orange reddit and comes here for (you)s.
Anonymous
6/11/2025, 8:36:05 PM No.105563116
Tried it for a weekend project. The stdlib is surprisingly decent for such a young language. Networking and crypto are built-in.

use fmt;
fn main() void = fmt::println("No hidden allocations!")!;
Anonymous
6/11/2025, 8:37:49 PM No.105563134
>>105563077
Drew, none of this matters. I just wrote a simple https in c and you know how I avoided the โ€œfootgunsโ€ (cringe Reddit term)?
AI testing.
Anonymous
6/11/2025, 8:39:37 PM No.105563150
Drewrusalem
Replies: >>105563196
Anonymous
6/11/2025, 8:39:58 PM No.105563154
>>105563069
thanks
> You can have both regular pointers and regular slices, and also linear pointers and linear slices.
Oh ok, in that sense yes. To me it's ok to have a property by default

Programming languages need to be useful, if linear types gets too much in your way I'm ok with the possibility of "evading" some security measure as long as it forces you to explicitly acknowledge it (just as unchecked array access)

It should be no much different from the unsafe in rust
Replies: >>105570418 >>105580270
Anonymous
6/11/2025, 8:44:59 PM No.105563196
>>105563150
Droon
Anonymous
6/11/2025, 8:47:19 PM No.105563214
Drewish
Replies: >>105565911
Anonymous
6/11/2025, 8:50:01 PM No.105563238
meh.
Anonymous
6/11/2025, 8:53:36 PM No.105563276
>sir, how to redeem the java???
>NO SIR, NOOO DO NOT REDEEM THE HARE PROGRAMMING LANGUAGE
is Hare the most based programming language?
Replies: >>105563295 >>105563317
Anonymous
6/11/2025, 8:55:17 PM No.105563295
hair
hair
md5: b013fcea0475c08c96b9fb8c146f5718๐Ÿ”
>>105563276
>if you dont like hair you must be a jeet
thats cope
have you implemented threading yet?
Anonymous
6/11/2025, 8:55:52 PM No.105563302
>>105560164 (OP)
Pedophile thread!
Anonymous
6/11/2025, 8:56:41 PM No.105563314
I prefer language with GC. Like for example, Golang!
Replies: >>105563335
Anonymous
6/11/2025, 8:56:57 PM No.105563317
>>105563276
If you masturbate to videos of little children getting raped, then Hare is for you!
Contact Drew DeVault on mastodon for more material.
Replies: >>105563349
Anonymous
6/11/2025, 8:58:50 PM No.105563335
>>105563314
>hidden allocations
no thanks
Anonymous
6/11/2025, 9:01:02 PM No.105563349
>>105563317
What if I'm not a tranny and I don't give a shit about what the people behind some piece of sw do in their spare time?
Replies: >>105563391 >>105563417
Anonymous
6/11/2025, 9:03:38 PM No.105563371
>>105560164 (OP)
>mathfag language
Nah, it's for people who hate debugging C at 3am. Linear types just mean "don't leak memory, idiot."
Replies: >>105570158
Anonymous
6/11/2025, 9:06:03 PM No.105563391
>>105563349
Then you wouldn't be in this thread here.
Everybody who uses Hare (which is three people) is a confessed pedophile.
100% of them.
If you are one of those three people, and love to rape 5yo children, admit it and don't LARP.
Replies: >>105563439
Anonymous
6/11/2025, 9:07:49 PM No.105563414
>>105560164 (OP)
Hare's error handling (!) is great. No exceptions, no monads, just "handle it or crash."
Replies: >>105563485 >>105570174
Anonymous
6/11/2025, 9:08:16 PM No.105563417
>>105563349
Pedophiles like you deserve death.
Stop playing pretend, in this ridiculous attempt to lure people into this child-fucker thread.
Replies: >>105563439
Anonymous
6/11/2025, 9:08:41 PM No.105563421
NonCompromisedPepe
NonCompromisedPepe
md5: 7445c954b2715ede0ce8bfca3c8a2709๐Ÿ”
>Can I use multithreading in Hare?

>Probably not.
Replies: >>105563432 >>105563468
Anonymous
6/11/2025, 9:09:27 PM No.105563432
>>105563421
yeah
idc about drew being a pedo
but does his lang even compete?
Replies: >>105563468
Anonymous
6/11/2025, 9:09:38 PM No.105563439
>>105563391
>Then you wouldn't be in this thread here.
Why? It doesn't make any sense anon

>>105563417
>Pedophiles like you deserve death.
This is a pedo website
Replies: >>105563459 >>105563474 >>105563494 >>105580498
Anonymous
6/11/2025, 9:09:50 PM No.105563442
1747932072643
1747932072643
md5: 41c8fa48fd5ce0cdc2dcb89be50f34c0๐Ÿ”
Daily reminder that masturbating to pictures of children getting raped, is illegal in the Netherlands. EVEN WHEN DRAWN.
Replies: >>105575875
Anonymous
6/11/2025, 9:11:25 PM No.105563459
>>105563439
>thing has three users
>all three of them are confessed pedophiles
>LOOK AT ME, I'M ONE OF THEM, BUT TOTALLY DIFFERENT I SWEAR, PLEASE JOIN OUR COMMUNITY OF PEDOS
you deserve a knife in your head, disgusting pedophile
Replies: >>105563486
Anonymous
6/11/2025, 9:12:21 PM No.105563468
>>105563421
Muiltithreading should be managed by the OS
You can use multiple processes with fork

>>105563432
>but does his lang even compete?
yes it's surprisingly fun to program with
Replies: >>105563484 >>105563496 >>105563519
Anonymous
6/11/2025, 9:12:38 PM No.105563474
>>105563439
>This is a pedo website
no
try it
see what happens
Replies: >>105563486
Anonymous
6/11/2025, 9:13:19 PM No.105563482
1734836750243
1734836750243
md5: 5420e56549d5b0ecc4d0a55b9b8da677๐Ÿ”
>hey kid, i got free candy in my van, wanna see?
Replies: >>105563493
Anonymous
6/11/2025, 9:13:38 PM No.105563484
>>105563468
>yes it's surprisingly fun to program with
give me a sample code where you use threading
and walk me through how it works
Replies: >>105563519
Anonymous
6/11/2025, 9:13:42 PM No.105563485
>>105563414
>"handle it or crash"
Based. Reminds me of Plan 9's "errors are strings" philosophy.
Anonymous
6/11/2025, 9:13:46 PM No.105563486
>>105563459
Anon, you are on a pedo website. You are not anything better than an hare user

>>105563474
hello newfriend
Replies: >>105563514 >>105563516 >>105580510
Anonymous
6/11/2025, 9:14:18 PM No.105563493
>>105563482
Bald, names language Hare
Anonymous
6/11/2025, 9:14:20 PM No.105563494
>>105563439
>This is a pedo website
Then post your child porn cartoons. Do it.
Or would it get you banned?
Anonymous
6/11/2025, 9:14:24 PM No.105563496
>>105563468
>Muiltithreading should be managed by the OS
>You can use multiple processes with fork
nobody does this, just like how nobody uses nice so it's basically non-functional, except in this case it's just unusably slow and you have no way to inform the OS two processes should run on the same thread
Replies: >>105563519 >>105580956 >>105581014
Anonymous
6/11/2025, 9:14:33 PM No.105563499
>>105560164 (OP)
fuck off Drew
Anonymous
6/11/2025, 9:15:58 PM No.105563514
Screenshot from 2025-05-22 23-10-16
Screenshot from 2025-05-22 23-10-16
md5: fd731da3ec9ddf038af45eb26cc7763a๐Ÿ”
>>105563486
>newfriend
Anonymous
6/11/2025, 9:16:07 PM No.105563516
>>105563486
>you are on a pedo website
So you admit that you are a pedophile now and stopped your LARP of "actually, i'm not interested in what the people in my community do"?
Replies: >>105563529
Anonymous
6/11/2025, 9:16:34 PM No.105563519
>>105563484
> give me a sample code where you use threading
What "fun" has to do with "threading" lol?
see again >>105563468
SMT execution should be managed by the OS. Just create a new process ;^)

>>105563496
> nobody does this,
A lot of people uses fork-exec multiporcessing, what are you talking about ?
Replies: >>105563539
Anonymous
6/11/2025, 9:16:38 PM No.105563520
Drew's obsession with simplicity is contagious. Hare feels like what C should've been if it wasn't designed in the 70s.
Replies: >>105563553 >>105570184
Anonymous
6/11/2025, 9:17:36 PM No.105563529
>>105563516
it wouldnt be as much of a problem if he cared what *our community does and just integrates
but as pedos function
hes a fucking retard
and wants to turn g into a pedoboard
like the piece of shit invader he is
Anonymous
6/11/2025, 9:18:40 PM No.105563539
>>105563519
>Just create a new process ;^)
i need a decently performing language
i could just be using python at this pace
python has had more eyes than hare
and certainly has more libs

and has threading
Replies: >>105563573 >>105564002 >>105564013
Anonymous
6/11/2025, 9:19:50 PM No.105563547
>>105563530
no
otherwise your like wouldnt need to necrobump
can we go back to programming now?
i dont care about edgy teenager shit
Replies: >>105563581
Anonymous
6/11/2025, 9:20:24 PM No.105563553
>>105563520
>what C should've been
But with defer! God, I miss defer when I go back to C.

Wish it had generics though. Writing the same algo for different types feels like 2005.
Replies: >>105563639
Anonymous
6/11/2025, 9:22:15 PM No.105563573
>>105563539
>i need a decently performing language
>i could just be using python at this pace
Python has GIL. Nice attempt at being a retard you completely succeeded

Hare benchmarked 0.7 C speed in some SSL shit implementation I can't remember. Process creation is not so expensive as you think it is

But keep using python lel
Replies: >>105563589
Anonymous
6/11/2025, 9:23:16 PM No.105563581
>>105563547
> necrobump
No such thing on 4chan you dumbass

> i dont care about edgy teenager shit
I'm not the one obsessed with pedophile anon. If you want to talk about tech let's talk about tech
Replies: >>105563603
Anonymous
6/11/2025, 9:23:58 PM No.105563589
>>105563573
>Nice attempt at being a retard you completely succeeded
i program in C
i dont need to be a walking man page
>0.7 C speed in some SSL shit implementation
>compiled with -O3
wasnt it?
Anonymous
6/11/2025, 9:24:12 PM No.105563595
>be me
>developer
>see hare thread
>click hare thread
>it has more development related discussion than actual /dpt/ thread

This place is full of fucking zoomers.
Replies: >>105563627
Anonymous
6/11/2025, 9:24:58 PM No.105563603
>>105563581
>No such thing on 4chan you dumbass
>noooooo, you cannot say the word
yes. necrobump
ne(g)robump if you like
Anonymous
6/11/2025, 9:28:04 PM No.105563627
>>105563595
welcome to 2025 i guess
Anonymous
6/11/2025, 9:29:00 PM No.105563639
>>105563553
Generics would bloat it. Hare's niche is "small and predictable." Use Rust if you want templates.
Anonymous
6/11/2025, 9:34:42 PM No.105563704
Anyone used Hare for embedded? The no-runtime thing seems perfect for microcontrollers.
Replies: >>105563763 >>105563812 >>105570208
Anonymous
6/11/2025, 9:40:16 PM No.105563763
>>105563704
Tried it on a Pi Pico. Had to write my own HAL, but it worked. QBE backend is janky for ARM though.
Anonymous
6/11/2025, 9:44:00 PM No.105563812
The docs are sparse but honest. No "HOW TO BUILD A WEB SCALE AI" nonsenseโ€”just "here's how to open a file."
>>105563704
Pretty sure Hare has like 3 OSes written in it already.
Replies: >>105563855 >>105563866
Anonymous
6/11/2025, 9:47:40 PM No.105563855
>>105563812
>Pretty sure Hare has like 3 OSes written in it already.
list em
Anonymous
6/11/2025, 9:48:14 PM No.105563866
>>105563812
>docs are sparse
True, but the stdlib is so small you can read the source in an afternoon.
Replies: >>105563981
Anonymous
6/11/2025, 9:51:21 PM No.105563900
Hare's match with tagged unions is beautiful.

type animal = void | int | string;
fn foo(a: animal) void = match (a) {
case void => fmt::println("nothing")!,
case i: int => fmt::println("number: {}", i)!,
case s: string => fmt::println("string: {}", s)!,
};
Replies: >>105563937 >>105570219
Anonymous
6/11/2025, 9:54:46 PM No.105563937
>>105563900
>beautiful
Until you realize you can't nest matches without as casts. Still cleaner than C switch hell.
Replies: >>105563981
Anonymous
6/11/2025, 9:58:52 PM No.105563981
>>105560164 (OP)
The lack of threads in the stdlib is a vibe check. "Use processes or GTFO."
>>105563866
Most /g/tards watch youtube videos to learn2code, imagine them reading source code LMAO
>>105563937
Huh, that is a shame
Replies: >>105564047
Anonymous
6/11/2025, 10:01:03 PM No.105564002
>>105563539
Pytoddlers have no right to ever talk down on ANY language. Know your place, peasant
Replies: >>105564013
Anonymous
6/11/2025, 10:02:13 PM No.105564013
>>105564002
>>105563539
Misread your post lol. Imagine that am I seething at other pytoddlers instead of you
Replies: >>105564089
Anonymous
6/11/2025, 10:04:10 PM No.105564047
>>105563981
>"Use processes or GTFO."
Plan 9 energy. Drew really won't compromise on simplicity.
Anonymous
6/11/2025, 10:06:26 PM No.105564081
Wrote a static file server in Hare. 200 lines, no deps, and it's faster than Python's http.server.
Replies: >>105570248
Anonymous
6/11/2025, 10:07:11 PM No.105564089
>>105564013
ok, np
no hard feelings
Anonymous
6/11/2025, 10:10:32 PM No.105564140
Processes can't share memory the same way as threads can
Unless Drew has some plan to make a new OS and make it work differently, this is all gigacope
Replies: >>105564160
Anonymous
6/11/2025, 10:12:00 PM No.105564160
>>105564140
>Unless Drew has some plan to make a new OS and make it work differently
Who's gonna tell him
Anonymous
6/11/2025, 10:33:58 PM No.105564369
Tried it last month. It's way more practical than Haskell despite the similar features. The syntax is actually readable.
Replies: >>105564425 >>105570282
Anonymous
6/11/2025, 10:35:49 PM No.105564390
>>105560164 (OP)
>seems like a mathfag language
Wait until you see the standard library - it's very Unix/C oriented. Not mathy at all.
Anonymous
6/11/2025, 10:37:58 PM No.105564425
>>105564369
How's the tooling? I heard the compiler is fast but the ecosystem is tiny.
Replies: >>105564438
Anonymous
6/11/2025, 10:39:16 PM No.105564438
>>105564425
Tooling is barebones but effective. The compiler is indeed instant compared to Rust/Go.

$ time harec -o hello hello.ha
real 0m0.03s
Replies: >>105570315
Anonymous
6/11/2025, 10:42:52 PM No.105564478
>>105560164 (OP)
The manual memory management turned me off at first, but it's actually refreshing after using Go.
Replies: >>105564490
Anonymous
6/11/2025, 10:43:33 PM No.105564490
>>105564478
Same. I thought I'd hate it but the explicit alloc/free makes behavior more predictable.
Anonymous
6/11/2025, 10:46:23 PM No.105564522
>>105560164 (OP)
Anyone using this for real projects? Or is it still in toy phase?
Replies: >>105564544 >>105570330
Anonymous
6/11/2025, 10:48:36 PM No.105564544
>>105564522
Using it for some CLI tools at work. Replaced Python scripts and the performance difference is insane.
Replies: >>105564553 >>105570348
Anonymous
6/11/2025, 10:49:50 PM No.105564553
>>105564544
What about libraries? Don't you miss Python's package ecosystem?
Replies: >>105564588
Anonymous
6/11/2025, 10:52:02 PM No.105564577
4chan ads
4chan ads
md5: 4797c4116c2a4f0c33a0ac0c59f836a4๐Ÿ”
>>105560164 (OP)
go back to mastodong drew
Anonymous
6/11/2025, 10:52:57 PM No.105564588
>>105564553
Not really. For CLI tools you mostly just need the stdlib. And C interop is good for anything else.
Anonymous
6/11/2025, 10:53:04 PM No.105564589
>>105560164 (OP)
Hare is not a good programming language-
Anonymous
6/11/2025, 10:55:19 PM No.105564610
>>105560164 (OP)
The error handling is my favorite part. No exceptions, no monads, just good old error returns.
Replies: >>105564632
Anonymous
6/11/2025, 10:57:33 PM No.105564632
>>105564610
Yeah, and the ! operator makes it clean. Better than Go's err != nil spam.
Anonymous
6/11/2025, 10:59:07 PM No.105564653
>>105560164 (OP)
How's the learning curve coming from C?
Replies: >>105564673
Anonymous
6/11/2025, 11:01:07 PM No.105564673
>>105564653
Pretty smooth. The biggest adjustment is getting used to tagged unions instead of void*.
Replies: >>105564701
Anonymous
6/11/2025, 11:03:47 PM No.105564701
>>105564673
And the defer statement. I miss it every time I go back to C now.
Anonymous
6/11/2025, 11:05:26 PM No.105564717
>>105560164 (OP)
No generics seems like a dealbreaker. How do you write reusable code?
Replies: >>105564728
Anonymous
6/11/2025, 11:07:16 PM No.105564728
>>105564717
You either:
1. Use void* like C
2. Copy-paste with different types
3. Realize you didn't need generics anyway
Replies: >>105564748
Anonymous
6/11/2025, 11:08:55 PM No.105564748
>>105564728
Option 3 is surprisingly common. Generics are overrated for most systems code.
Anonymous
6/11/2025, 11:11:25 PM No.105564776
>>105560164 (OP)
The lack of threads in stdlib is weird. How do you do concurrent stuff?
Replies: >>105564791
Anonymous
6/11/2025, 11:13:24 PM No.105564791
>>105564776
Processes + IPC, like God intended. Or use C threads via FFI if you must.
Replies: >>105564804
Anonymous
6/11/2025, 11:14:47 PM No.105564804
>>105564791
This is the Way. Threads are overused anyway.
Anonymous
6/11/2025, 11:16:49 PM No.105564828
>>105560164 (OP)
Documentation is rough. Any good learning resources?
Replies: >>105564856
Anonymous
6/11/2025, 11:19:19 PM No.105564856
>>105564828
The spec is short and readable. Otherwise yeah, you'll be reading source code a lot.
Anonymous
6/11/2025, 11:21:09 PM No.105564876
I wish Blonathan Jow would just let me into the beta so I wouldn't have to waste time with these dumb memelangs
Anonymous
6/11/2025, 11:21:56 PM No.105564887
>>105560164 (OP)
How's Windows support?
Anonymous
6/11/2025, 11:23:19 PM No.105564900
Isn't this the worse C that is made a lolicon weirdo who fantasizes about 14 year olds?
Replies: >>105564919 >>105567976
Anonymous
6/11/2025, 11:25:20 PM No.105564919
>>105564900
What? No.
Replies: >>105564943
Anonymous
6/11/2025, 11:27:26 PM No.105564939
>>105560164 (OP)
Anyone tried Hare for embedded?
Replies: >>105564957
Anonymous
6/11/2025, 11:27:45 PM No.105564943
>>105564919
No what?
Anonymous
6/11/2025, 11:29:02 PM No.105564957
>>105564939
Working on a RISC-V port. The lack of runtime makes it promising, but toolchain support isn't there yet.
Anonymous
6/11/2025, 11:30:03 PM No.105564965
>>105560164 (OP)
Biggest strength: the language fits in your head entirely. No hidden complexities.
Replies: >>105564987 >>105570374
Anonymous
6/11/2025, 11:30:50 PM No.105564970
null
md5: null๐Ÿ”
Didn't expect so many replies and interest for a language which pretty much only has one person writing blogs for lmao (lol)
Replies: >>105566453
Anonymous
6/11/2025, 11:32:20 PM No.105564987
>>105564965
This. After working with C++ for years, Hare feels like a vacation.
Anonymous
6/11/2025, 11:34:33 PM No.105565009
>>105560164 (OP)
Biggest weakness?
Replies: >>105565015
Anonymous
6/11/2025, 11:36:03 PM No.105565015
>>105565009
Ecosystem, no question. Sometimes you just want a mature HTTP client library.
Replies: >>105565043
Anonymous
6/11/2025, 11:38:51 PM No.105565043
>>105565015
But then you write one in an afternoon and realize it wasn't so bad.
Anonymous
6/11/2025, 11:39:53 PM No.105565057
>>105560164 (OP)
Would you recommend it over Rust for new projects?
Replies: >>105565067
Anonymous
6/11/2025, 11:41:01 PM No.105565067
>>105565057
Depends. Nah, actually it doesn't. I would reccommend any language over Rust
Anonymous
6/11/2025, 11:41:28 PM No.105565072
1724914754704510
1724914754704510
md5: 76daf47d68dfcfddf408b410ee7d607f๐Ÿ”
Least organic thread. Go back to your hole
Replies: >>105565130
Anonymous
6/11/2025, 11:47:43 PM No.105565130
>>105565072
Vaxry, is that you??
Anonymous
6/12/2025, 12:36:39 AM No.105565594
null
md5: null๐Ÿ”
Luv me Hare. Simple as!!
Anonymous
6/12/2025, 1:04:37 AM No.105565828
>>105560164 (OP)
Tagged unions are enums on steroids. In C you'd have:

enum type { INT, STRING };
struct value {
enum type tag;
union {
int i;
char *s;
};
};

In Hare it's just:

type value = int | string;

The compiler handles all the tag checking for you.
Replies: >>105566059 >>105566337 >>105570402
Anonymous
6/12/2025, 1:16:44 AM No.105565911
>>105563214
Drike
Anonymous
6/12/2025, 1:38:23 AM No.105566059
>>105565828
And critically - the compiler ENFORCES you to handle all cases. No more forgetting to check the tag and getting weird crashes.
Anonymous
6/12/2025, 1:43:49 AM No.105566100
>no Windows support
DOA.
Anonymous
6/12/2025, 2:17:18 AM No.105566297
>>105560164 (OP)
The real magic comes when you combine them with pattern matching. Compare this C:

switch(val.tag) {
case INT: printf("%d", val.i); break;
case STRING: printf("%s", val.s); break;
default: assert(0);
}

To Hare:

match (val) {
case i: int => fmt::println(i)!;
case s: string => fmt::println(s)!;
}

Cleaner syntax AND exhaustive checking.
Replies: >>105566337 >>105566490
Anonymous
6/12/2025, 2:22:51 AM No.105566337
>>105566297
>>105565828
So it's just like std::variant?
Anonymous
6/12/2025, 2:36:19 AM No.105566409
Where can I learn more about type theory?
Anonymous
6/12/2025, 2:44:15 AM No.105566453
pedo_drew
pedo_drew
md5: 72e3c280802d57538fdb348c9004985a๐Ÿ”
>>105564970
That's because the creator of hare is a pedo. Lunduke did a whole video on him exposing him for it.
Anonymous
6/12/2025, 2:46:19 AM No.105566467
>>105560164 (OP)
Not yet.
Anonymous
6/12/2025, 2:49:22 AM No.105566490
>>105566297
>exhaustive checking
This is the killer feature. The compiler won't let you forget cases. I've eliminated so many bugs by switching to this pattern.
Anonymous
6/12/2025, 3:27:17 AM No.105566785
>>105560164 (OP)
I'm still not convinced. Why not just use polymorphism like in OOP languages?
Replies: >>105566991 >>105567193
Anonymous
6/12/2025, 4:01:15 AM No.105566991
>>105566785
Because:
1. No hidden vtable lookups
2. Explicit memory layout
3. Better performance
4. Actually understandable code
Tagged unions are what OOP promises but delivers cleaner.
Replies: >>105570415
Anonymous
6/12/2025, 4:33:01 AM No.105567193
>>105566785
Also - no inheritance nightmares. The data structure is right there in your face. No digging through class hierarchies to understand what's really happening.
Anonymous
6/12/2025, 5:11:33 AM No.105567472
>>105560164 (OP)
The functional programming crowd has been using these for decades (called "sum types"). It's nice to see them in a systems language.
Replies: >>105567676
Anonymous
6/12/2025, 5:41:23 AM No.105567676
>>105567472
Exactly! But Hare implements them without all the FP complexity. No monads, no functors, just practical data modeling.
Replies: >>105567682
Anonymous
6/12/2025, 5:42:27 AM No.105567682
>>105567676
>same thing but worse
pass
Anonymous
6/12/2025, 5:57:03 AM No.105567772
>>105560164 (OP)
Linear types are not in yet and no it's not a mathfag language, it's more of a kernel devs take on modern C.

It's a really comfy little language, it feels like C but without the legacy cruft. All the new features just makes life easier doing systems programming.
Replies: >>105570450
Anonymous
6/12/2025, 6:18:35 AM No.105567909
>>105560164 (OP)
Can someone show a real-world example where tagged unions saved their bacon?
Replies: >>105570489
Anonymous
6/12/2025, 6:24:37 AM No.105567945
Rust is so cool.
let tree = Tree::Node(
2,
Box::new(Tree::Node(0, Box::new(Tree::Leaf), Box::new(Tree::Leaf))),
Box::new(Tree::Node(3, Box::new(Tree::Leaf),
Box::new(Tree::Node(4, Box::new(Tree::Leaf), Box::new(Tree::Leaf)))))
);

fn add_values(tree: Tree) -> i64 {
match tree {
Tree::Node(v, a, b) => v + add_values(*a) + add_values(*b),
Tree::Leaf => 0
}
}

assert_eq!(add_values(tree), 9);
Anonymous
6/12/2025, 6:28:29 AM No.105567976
>>105564900
he is just like me fr fr
Anonymous
6/12/2025, 11:17:29 AM No.105569777
It is a pretty baZed language.
Replies: >>105570506
Anonymous
6/12/2025, 11:50:51 AM No.105569982
>>105560164 (OP)
>mathfag language
i don't even have to look it up to know that (You) Drew, do not even have set primitives
Anonymous
6/12/2025, 12:08:12 PM No.105570081
>>105560164 (OP)
Hare is unironically based. It's like C but without decades of legacy bullshit. The error handling alone makes it worth using over C.
Anonymous
6/12/2025, 12:13:18 PM No.105570115
>>105562367
>you can't do it in C
Exactly. Hare gives you modern features while staying simple. C programmers coping hard in this thread. The tagged unions + pattern matching combo is something you'd normally need Rust or Haskell for, but Hare implements it in a way that doesn't feel like academic wank. You get proper sum types without having to learn category theory first.
Anonymous
6/12/2025, 12:15:22 PM No.105570128
>>105563077
>manual memory management
That's a feature, not a bug. GC is for cowards who can't handle responsibility.
Replies: >>105570151
Anonymous
6/12/2025, 12:17:21 PM No.105570151
>>105570128
Your "manual memory" just ends up being poorly implemented, ad-hoc garbage collectors.
Anonymous
6/12/2025, 12:18:57 PM No.105570158
>>105563371
>Nah, it's for people who hate debugging C at 3am
This. Wrote a calculator in Hare last week. The compiler caught so many potential memory issues that would've been runtime errors in C. The linear types (when they're fully implemented) will make resource management even better - no more forgetting to close files or free memory. It's like Rust's ownership but without the borrow checker insanity.
Anonymous
6/12/2025, 12:20:53 PM No.105570170
>>105560269
Hiro sure trained you well to parrot this cucked line, janny.

>>105560164 (OP)
You will never be a woman you bald pedo cuck.
Anonymous
6/12/2025, 12:21:17 PM No.105570174
>>105563414
Hare's (!) operator is genius. Forces you to handle errors right there instead of letting them bubble up silently.
Anonymous
6/12/2025, 12:24:10 PM No.105570184
>>105563520
>what C should've been
Drew looked at C and said "let's fix all the stupid parts" while keeping the good stuff. Based. No more:
- Implicit integer conversions
- Undefined behavior landmines
- Janky header files
- Macro abuse
Instead, we have clean, predictable code that does what you tell it to. The defer statement alone is worth switching for - finally proper resource cleanup without goto hell.
Replies: >>105570190 >>105570201 >>105570226
Anonymous
6/12/2025, 12:24:57 PM No.105570190
>>105570184
drew, legitimately, do you genuinely think you're fooling anyone?
Replies: >>105570383
Anonymous
6/12/2025, 12:26:24 PM No.105570201
>>105570184
Post your favorite loli getting fucked again, sircmpwn.
Replies: >>105570383
Anonymous
6/12/2025, 12:28:02 PM No.105570208
>>105563704
Used it on an STM32. The lack of runtime makes it perfect for embedded. QBE generates surprisingly decent ARM code once you get past the initial setup. The whole toolchain is like 5MB compared to GCC's bloat. Only pain point was lack of HAL libraries, but that's improving as more people use it.
Anonymous
6/12/2025, 12:30:16 PM No.105570219
>>105563900
The match syntax is so clean compared to C's janky switch statements. And the compiler forces you to handle all cases.
Anonymous
6/12/2025, 12:31:41 PM No.105570226
>>105570184
that's the language we needed in 1990, now we need more
Anonymous
6/12/2025, 12:34:39 PM No.105570248
>>105564081
>200 lines, no deps
This is Hare's killer feature. No dependency hell, no bloated runtime. Just your code and the OS. Wrote a static file server that handles 10k req/s on a Pi while using <10MB RAM. Try doing that in Go without pulling in 50MB of runtime and 100 dependencies.
Replies: >>105572481
Anonymous
6/12/2025, 12:36:39 PM No.105570259
>all this glazing
>0 repos or actual code beyond beyond hello world shit
how does drew do it lads
Anonymous
6/12/2025, 12:40:14 PM No.105570282
>>105564369
>more practical than Haskell
Thank fuck. Haskell is academic wank. Hare takes the useful parts (ADTs, pattern matching) and makes them actually usable for real work.
Anonymous
6/12/2025, 12:44:26 PM No.105570315
>>105564438
>real 0m0.03s
After dealing with Rust's glacial compile times, Hare feels like magic. Edit-compile-test cycle is instant. The compiler is simple enough that you can actually understand what it's doing instead of waiting 30 seconds for LLVM to optimize your hello world.
Anonymous
6/12/2025, 12:47:00 PM No.105570330
>>105564522
Using it in production for monitoring tools. Replaced a Python service that used 200MB RAM with a Hare binary that uses 3MB. Boss thinks I'm a wizard. The deployment story is beautiful - single static binary with no runtime dependencies. No more "works on my machine" bullshit.
Anonymous
6/12/2025, 12:50:29 PM No.105570348
>>105564544
>performance difference is insane
Python "programmers" seething when they see a Hare binary outperform their "optimized" code while using 1/100th the memory. The best part? No GIL, no interpreter overhead, just raw machine code. For CLI tools and system services, it's perfect.
Replies: >>105570495
Anonymous
6/12/2025, 12:56:29 PM No.105570374
>>105564965
>fits in your head entirely
This is why I switched from Rust. No more fighting the borrow checker or wondering what magic the compiler is doing behind my back. The whole language spec is like 30 pages - you can actually internalize all of it. After working with C++ for years, Hare feels like a vacation for my brain.
Anonymous
6/12/2025, 12:58:40 PM No.105570383
1749725900801
1749725900801
md5: a36c9d065b085b5a1fdb7ccca269e43f๐Ÿ”
>>105570190
>>105570201
You WISH you were Drew
Replies: >>105570547
Anonymous
6/12/2025, 1:01:48 PM No.105570402
>>105565828
>compiler handles all the tag checking
And if you forget a case, it won't compile. Which means you dont get subtle bugs from unhandled enum values. The syntax is clean too - no need to tag unions and void* casting. You declare your types and let the compiler handle the rest. It's like std::variant but without the template nonsense.
Anonymous
6/12/2025, 1:04:44 PM No.105570415
>>105566991
>Tagged unions are what OOP promises
OOPcels seething when they realize a 50 line Hare program does what their 500 line Java "design pattern" mess tries to accomplish. Polymorphism without inheritance, interfaces, or vtables - just pure data and functions. It's what Alan Kay originally wanted OOP to be before it got corrupted by enterprise "architects".
Anonymous
6/12/2025, 1:05:18 PM No.105570418
>>105563154
>It should be no much different from the unsafe in rust
Aren't lifetime semantics more expressive than linear types?
Anonymous
6/12/2025, 1:10:18 PM No.105570450
>>105567772
>kernel devs take on modern C
Nail on head. It's what you'd get if Unix devs redesigned C today without backwards compatibility baggage. All the good ideas from Plan 9 (like the error handling) combined with modern type safety features. The result is something that feels both familiar and revolutionary at the same time.
At this point, Hare is the only white man's language.
Replies: >>105571641
Anonymous
6/12/2025, 1:15:22 PM No.105570489
>>105567909
Used tagged unions for a parser. Instead of void* and type tags everywhere, the compiler enforced proper handling of each node type. Caught several bugs during development that would have been runtime errors in C. The match syntax made the code way more readable too - no more nested switch statements with manual type checking.
Anonymous
6/12/2025, 1:16:32 PM No.105570495
>>105570348
I wanted to install hare on my debian system. The recommended way is apparently to use my "favorite package manager", but it's not in the debian stable lists, so I had to temporarily enable the unstable repositories. After installing, a quick dpkg check revealed that this package installed 1076 (a THOUSAND SEVENTY SIX) files on my system, scattering them across various system level directories.
Drew, can you please elaborate on why you think this is a reasonable process? If the language is so minimal, why can't I just install a single binary and be done with it?
Replies: >>105570529 >>105589103
Anonymous
6/12/2025, 1:19:09 PM No.105570506
>>105569777
>baZed language
True. It's not for everyone, but if you get it, you get it. No bullshit, just code. The kind of language where you spend your time solving actual problems instead of fighting the toolchain or framework. For certain use cases (systems programming, embedded, CLI tools), it's damn near perfect.
Anonymous
6/12/2025, 1:23:58 PM No.105570529
>>105570495
The 1000 files is probably stdlib. The collective size is probably something like 5MB
Replies: >>105589103
Anonymous
6/12/2025, 1:26:14 PM No.105570547
>>105570383
I just farted
Anonymous
6/12/2025, 1:38:02 PM No.105570593
>>105560164 (OP)
So, is Hare worth using? How would the following C code look in Hare?

int read_file(const char *filename, unsigned char **data, size_t *size) {
FILE *file = fopen(filename, "rb");
if (!file) {
perror("Failed to open file");
return -1;
}
if (fseek(file, 0, SEEK_END) != 0) {
perror("Failed to seek to end of file");
fclose(file);
return -1;
}
long file_size = ftell(file);
if (file_size == -1) {
perror("Failed to get file size");
fclose(file);
return -1;
}
if (fseek(file, 0, SEEK_SET) != 0) {
perror("Failed to seek to beginning of file");
fclose(file);
return -1;
}
*data = malloc(file_size);
if (!*data) {
perror("Failed to allocate memory");
fclose(file);
return -1;
}
size_t bytes_read = fread(*data, 1, file_size, file);
if (bytes_read != (size_t)file_size) {
perror("Failed to read entire file");
free(*data);
fclose(file);
return -1;
}
*size = bytes_read;
fclose(file);
return 0;
}
Replies: >>105570649
Anonymous
6/12/2025, 1:40:08 PM No.105570608
Drew loves child rape
Replies: >>105570620
Anonymous
6/12/2025, 1:41:36 PM No.105570620
>>105570608
lolis are not children
Replies: >>105570828
Anonymous
6/12/2025, 1:47:50 PM No.105570649
>>105570593
In Hare, this is just

fn read_file(filename: str) ([]u8 | error) = {
const file = os::open(filename)?;
defer io::close(file);

const stat = fs::fstat(file)?;
if (stat.size > types::SIZE_MAX: u64) {
return errors::limit;
};

let buf: []u8 = alloc([], stat.size: size);
match (io::readall(file, buf)) {
case let n: size =>
if (n != stat.size) {
free(buf);
return errors::unexpected;
};
return buf;
case io::error =>
free(buf);
return errors::unexpected;
};
};
Replies: >>105570723
Anonymous
6/12/2025, 1:56:42 PM No.105570722
>>105560164 (OP)
use bufio;
use fmt;
use os;
use strings;

export fn main() void = {
const user = askname();
greet(user);
};

// Asks the user to provide their name.
fn askname() str = {
fmt::println("Hello! Please enter your name:")!;
const name = bufio::read_line(os::stdin)! as []u8;
return strings::fromutf8(name)!;
};

// Greets a user by name.
fn greet(user: str) void = {
fmt::printfln("Hello, {}!", user)!;
};


bufio::read_line is actually a killer feature. the only reason I use C++ instead of C for command line programs is because of std::getline
Replies: >>105570802
Anonymous
6/12/2025, 1:56:48 PM No.105570723
>>105570649
looks nice, how is Hare compared to Odin ?
Replies: >>105570768 >>105592206
Anonymous
6/12/2025, 2:02:22 PM No.105570768
>>105570723
Odin is to Hare what Zig is to C. It is a different philosophy. Odin I think is like Go without GC. Hare is like C with tagged unions, Rust-like error handling and with Go's standard library
Replies: >>105570928 >>105592206
Anonymous
6/12/2025, 2:06:38 PM No.105570802
>>105570722
Hare's stdlib is modeled after Go. It has to be good!
Replies: >>105570852
Anonymous
6/12/2025, 2:10:23 PM No.105570828
>>105570620
the law in the netherlands things different, pedophile
Replies: >>105570871
Anonymous
6/12/2025, 2:14:46 PM No.105570852
>>105570802
It is actually insane how a language goes from tedious (Go) to super easy (Hare), just by adding the '?' and '!' operators + proper error handling
I am considering daily driving this language once the LLVM/GCC port gets done (already in progress)
Anonymous
6/12/2025, 2:18:05 PM No.105570871
1746602189037883
1746602189037883
md5: ad0beb4f769b3ba10eeb184c72e22912๐Ÿ”
>>105570828
huh?
Anonymous
6/12/2025, 2:26:31 PM No.105570919
I will not use this until it gets Generics and LLVM backend
Replies: >>105570969 >>105571007
Anonymous
6/12/2025, 2:27:19 PM No.105570925
I've hare'd enough. Get ye gone
Anonymous
6/12/2025, 2:27:26 PM No.105570928
>>105570768
>will never work on Windows
and dropped
Anonymous
6/12/2025, 2:33:30 PM No.105570969
>>105570919
Your loss!
Replies: >>105571069
Anonymous
6/12/2025, 2:37:14 PM No.105570987
No LLVM backend and no windows are the only two based parts though. All LLVM-based compilers are invariably slow pieces of shit
Replies: >>105570997
Anonymous
6/12/2025, 2:40:29 PM No.105570997
>>105570987
That is true. I really like how you can import C files in Zig and it just works unlike in every other compiled language.
But I am so turned off by the slow compile times. Have you seen tsoding video? 4 seconds to compile a hello world. WTF?
I would like Zig to have a faster backend and codegen, even if code isn't as optimized. I could use that codegen for debugging and running the program and then once release is ready, compile with LLVM
Anonymous
6/12/2025, 2:42:55 PM No.105571007
>>105570919
Lmao, imagine using LLVM slowware bloat
Replies: >>105571069
Anonymous
6/12/2025, 2:52:55 PM No.105571069
>>105570969
>>105571007
Keep seething, retards. Not using it.
Replies: >>105571137
Anonymous
6/12/2025, 3:02:49 PM No.105571137
>>105571069
Slop developers belong to >>>/g/wdg/
Anonymous
6/12/2025, 3:11:03 PM No.105571183
Yes, we need less one year memelangs and slop and we need more 100 year programming languages like Hare aims to be
https://harelang.org/blog/2023-11-08-100-year-language/
Replies: >>105571240 >>105571295 >>105571309 >>105571372
Anonymous
6/12/2025, 3:20:21 PM No.105571240
>>105571183
This is awesome
Anonymous
6/12/2025, 3:27:56 PM No.105571295
>>105571183
>aims to become a 100-year programming language
>has zero usecase right now
Anonymous
6/12/2025, 3:29:44 PM No.105571309
>>105571183
>https://harelang.org/blog/2023-11-08-100-year-language/
>Conservatism in language design
>The importance of the standard
>The necessity of a feature freeze
>Defining long-term API stability goals
>Fostering a culture that values stability
That sounds pretty cool to me. Was this ever tried before?
Replies: >>105571523
Anonymous
6/12/2025, 3:37:54 PM No.105571372
>>105571183
Wait, so what about Linear Types?
Replies: >>105571445
Anonymous
6/12/2025, 3:42:45 PM No.105571405
>>105560164 (OP)
>linear types
>practical
>system programming
>100 year language
*opens lid*
<not yet implemented tho
<no windows support
<compiler backend is an art project, spits out garbage code
<breaking changes in the latest version (0ver forever)
haha drew good joke, now go back to cancelling people that actually contribute something useful to foss
Anonymous
6/12/2025, 3:47:47 PM No.105571445
>>105571372
They might make it in, they might not. Either way, once Hare reaches 1.0, it is considered "done" as far as features go.
Only thing remaining then will be porting to different platforms, bugfixes and performance improvements
Anonymous
6/12/2025, 3:57:17 PM No.105571523
>>105571309
Hare literally includes a tool that can convert old code to new code every time the language changes
I love how the devs pay attention to such things and really put their money where their mouth is
They say stability, they *mean* stability
Replies: >>105571711
Anonymous
6/12/2025, 4:00:23 PM No.105571555
5473570-7117f61024b8608f6a2e25cbf88c9cdc
5473570-7117f61024b8608f6a2e25cbf88c9cdc
md5: 843de65db2e21ae3ff7118ee5068a0ce๐Ÿ”
Are you anti-Wayland, chud?
Replies: >>105572732 >>105575180 >>105575919
Anonymous
6/12/2025, 4:10:16 PM No.105571641
>>105570450
Only drawback for me is no windows support.
Not that I use windows but id like to make and sell games with hare.
Replies: >>105575960
Anonymous
6/12/2025, 4:19:33 PM No.105571711
>>105571523
Rust does this better with editions. It's not a breaking change in the first place because you can keep using the same old code forever: the compiler basically remembers the old behavior and will compile your old code under the old rules. But if you still want to upgrade to the new edition, a you can run a similar tool to make the transition automatically for 95% or cases.
Replies: >>105575277 >>105576146
Anonymous
6/12/2025, 4:29:13 PM No.105571790
Cute mascot!
Replies: >>105571868 >>105575368
Anonymous
6/12/2025, 4:38:37 PM No.105571868
>>105571790
Literally the bast part of the Hare programming language ...
Replies: >>105575418 >>105575445
Anonymous
6/12/2025, 5:30:54 PM No.105572288
sir-cmpwn
sir-cmpwn
md5: 6af982388f1210b215168f4691649b8c๐Ÿ”
>live shot of Drew inventing Hare
Replies: >>105572615 >>105575486 >>105576002
Anonymous
6/12/2025, 5:57:30 PM No.105572481
>>105570248
What on earth are you talking about?

import (
"log"
"net/http"
)

func main() {
fs := http.FileServer(http.Dir("./public"))
http.Handle("/", fs)
log.Println("Serving on :8080...")
err := http.ListenAndServe(":8080", nil)
if err != nil {
log.Fatal(err)
}
}
Replies: >>105575547
Anonymous
6/12/2025, 6:14:50 PM No.105572615
>>105572288
Kek
Anonymous
6/12/2025, 6:27:36 PM No.105572732
>>105571555
Wayland is actually pretty good if I say so myself
Replies: >>105575600
Anonymous
6/12/2025, 6:29:52 PM No.105572760
Hare is not a bad programming language. I like it!
Can't wait until it matures.
Replies: >>105575652 >>105576063
Anonymous
6/12/2025, 7:07:18 PM No.105573134
>>105560172
>>105560269
Why are you in every thread? Stop spamming, fucking indians
rangeban the following
- India
- Israel
from the internet!
Replies: >>105573324 >>105575710
Anonymous
6/12/2025, 7:24:52 PM No.105573324
>>105573134
any good /c/ threads, drew?
Replies: >>105575767
Anonymous
6/12/2025, 8:05:07 PM No.105573870
Good morning, Hare-sirs!
Replies: >>105575821
Anonymous
6/12/2025, 8:22:25 PM No.105574066
1749752458
1749752458
md5: 0c5cb2fb94f647a6c074e1f64fccb4d4๐Ÿ”
Who is the bigger lolcow, Drew or Ebasedi??
Replies: >>105575877 >>105576115
Anonymous
6/12/2025, 9:47:57 PM No.105575180
>>105571555
>Are you anti-Wayland, chud?
Hare works great on Wayland. Drew's based Sway WM is proof you don't need Xorg cruft. The language's simplicity matches Wayland's philosophy - no legacy bullshit.
Anonymous
6/12/2025, 9:55:47 PM No.105575277
>>105571711
>Rust does this better with editions
Rust editions are just technical debt with extra steps. Hare's approach is cleaner - if something needs to change, it changes. No maintaining multiple versions of the same feature. KISS principle.
Replies: >>105575347
Anonymous
6/12/2025, 10:02:34 PM No.105575347
>>105575277
>Hare's approach is cleaner - if something needs to change
Not good for backwards compatibility
Anonymous
6/12/2025, 10:04:18 PM No.105575368
>>105571790
>Cute mascot!
The Hare logo is unironically better than most language mascots. No creepy gopher shit that gives all girls the ick when looking at your monitor
Girls love bunnies and horses.
Replies: >>105575417 >>105575421
Anonymous
6/12/2025, 10:09:19 PM No.105575417
17081826596307809692393941736217
17081826596307809692393941736217
md5: 5755da660336efd7a15cf4e743d620cd๐Ÿ”
>>105575368
Anonymous
6/12/2025, 10:09:22 PM No.105575418
>>105571868
>Literally the best part
Nah, the best part is how the entire language basically makes C obsolete. The mascot is just icing on the cake.
Anonymous
6/12/2025, 10:09:37 PM No.105575421
>>105575368
It shows that it was made by someone who can actually draw. I hate the cartoonish Golang gopher and the Rust crab mascots. I don't think programming languages even need mascots per se, but if they have one, they should look good.
Replies: >>105575451 >>105581350
Anonymous
6/12/2025, 10:11:31 PM No.105575445
>>105571868
>Literally the best part
Nah, the best part is how the entire language basically makes C obsolete. The mascot is just icing on the cake.
Anonymous
6/12/2025, 10:11:57 PM No.105575451
1749759110768
1749759110768
md5: 0df417f00e17aad72bb428881ccb9a3c๐Ÿ”
>>105575421
>I hate the cartoonish Golang
Same, although this version is kinda cool
Anonymous
6/12/2025, 10:14:39 PM No.105575486
>>105572288
>live shot of Drew inventing Hare
Drew when he realized he could make a language that:
>1. Doesn't suck
>2. Isn't bloated
>3. Actually respects your intelligence
>4. Has proper error handling
Absolute madman.
Replies: >>105575676
Anonymous
6/12/2025, 10:19:38 PM No.105575547
>>105572481
>Go code example
Yeah, that runs GC and also multiple threads. A real webserver needs only one thread.
Anonymous
6/12/2025, 10:24:40 PM No.105575600
>>105572732
>Wayland is actually pretty good
Wayland and Hare are spiritual cousins - both about cutting legacy cruft while keeping what works. Drew's involvement in both isn't a coincidence.
Anonymous
6/12/2025, 10:29:21 PM No.105575652
>>105572760
>Can't wait until it matures
It's already more mature than Go was at this stage. The stdlib is small but rock solid. Only thing missing is more libraries, but that comes with adoption.
Anonymous
6/12/2025, 10:31:20 PM No.105575676
>>105575486
just speak in 1st person drew
Anonymous
6/12/2025, 10:35:03 PM No.105575710
>>105573134
>rangeban India/Israel
Least racist Hare fan. Based
Anonymous
6/12/2025, 10:40:58 PM No.105575767
>>105573324
>any good /c/ threads
Drew's too busy writing real world code to shitpost on /c/. Unlike Rust evangelists who spend more time on Reddit than actually programming.
Anonymous
6/12/2025, 10:46:08 PM No.105575821
>>105573870
>Good morning, Hare-sirs!
Morning, saar. Remember to `defer do(needful);` your resources today. Be the based systems programmer Drew knows you can be.
Replies: >>105575826
Anonymous
6/12/2025, 10:46:35 PM No.105575826
>>105575821
i am trans btw, if it matters
Replies: >>105575835
Anonymous
6/12/2025, 10:47:21 PM No.105575835
>>105575826
It doesn't matter :)
https://harelang.org/blog/2023-07-03-all-rabbits-welcome/
Anonymous
6/12/2025, 10:49:57 PM No.105575875
>>105563442
lolis are based
hag fans are not welcome on 4chan
Replies: >>105583679
Anonymous
6/12/2025, 10:49:59 PM No.105575877
>>105574066
>Drew or Ebasedi
Drew by a mile. Ebasedi is just a faggot, but Drew actually created:
>Hare
>Sway
>SourceHut
Dude outputs more quality software before breakfast than most devs do in a year.
Anonymous
6/12/2025, 10:54:59 PM No.105575919
>>105571555
Wayland is like Hare's runtime - minimal and predictable. Xorg is like C++ - decades of accumulated nonsense that nobody fully understands anymore.
Anonymous
6/12/2025, 11:00:35 PM No.105575960
>>105571641
The Windows thing is temporary. Once Hare gets LLVM support, Win32 compatibility will come naturally. But honestly, why would you want to? Windows is where good languages go to die. Stick to Linux/BSD where Hare shines.
Anonymous
6/12/2025, 11:04:51 PM No.105576002
>>105572288
The genius of Hare is that Drew took all the best ideas from:
>C (simplicity)
>Go (readability)
>Plan 9 (philosophy)
And stripped out all the bad parts. No GC, no exceptions, no OOP nonsense - just clean systems programming. The result is something that feels both familiar and revolutionary.
Anonymous
6/12/2025, 11:10:16 PM No.105576063
>>105572760
Hare's already mature enough for:
>CLI tools
>System utilities
>Embedded
>Network services
What's missing is:
>More arch support
>Threading
>GUI libraries
But the foundation is rock solid. It's like early Go but without Google's corporate stench.
Anonymous
6/12/2025, 11:16:29 PM No.105576115
>>105574066
Drew isn't a lolcow - he's an actual productive developer. While others shitpost, he:
>Wrote a language
>Made a Wayland compositor
>Built a Git alternative
>Created an email client
Ebasedi is only good for wojak memes. There's no comparison.
Anonymous
6/12/2025, 11:20:54 PM No.105576146
>>105571711
Rust editions are technical debt disguised as progress. Hare's approach is better - if something needs to change, it changes cleanly. No maintaining multiple versions of features indefinitely. The Unix philosophy applies - do one thing well, then move forward.
Anonymous
6/12/2025, 11:25:30 PM No.105576187
Every morning I wake up and thank Drew for:
>making /g/ seethe
>making rustroons ack
>making github obsolete
Anonymous
6/12/2025, 11:28:59 PM No.105576214
>>105560164 (OP)
I prefer austral, because it's not made by a lolicon
Anonymous
6/13/2025, 12:04:04 AM No.105576577
>>105560164 (OP)
Do the world a favor and kill yourself, Drew.

You are a failure. All your friends abandoned you. Instead, the only interactions you get are from sรถyboys, who only care about irrelevant politics of a culture war from the other side of the world.
The people, who you thought were on your side, backstabbed you and denied ever having any contact to you, as soon as they got questioned about your pedophile fetish.
You moved into a country where even cartoon pedophilia can land you in jail and it gets increasingly more touchy about that subject, as AI forces them to rethink laws, and we all know in which direction the women in charge will take those laws. You will eventually land in jail if you stay there, and you know it.
How do you think do pedophiles get treated in jail?
Is this the future you want for yourself, or wouldn't the friendly rope offer a quicker and easier escape?
Don't worry, nobody will miss you. Your biggest accomplishments was a webshit platform for viewing git repositories. A platform that is impossible for anyone else to run. Even fossil is better than this. We will be fine without you and won't miss it.
Replies: >>105580372
Anonymous
6/13/2025, 12:26:26 AM No.105576776
>>105560172
>Hi Drew
Not Drew, just a based Hare enjoyer. Unlike Rusttards, we don't need a cult of personality around the creator.
Anonymous
6/13/2025, 1:05:33 AM No.105577072
>>105560269
>Buy an ad, Drew.
Hare doesn't need ads when it has actual technical merits. Go back to your bloated JS framework, newfriend.
Anonymous
6/13/2025, 1:38:14 AM No.105577336
>>105560404
>Almost every modern language has those features
Name one mainstream language that combines:
> Manual memory management
> Tagged unions
> Linear types
> No runtime
> Compiles to native code
> <5MB toolchain
I'll wait.
Anonymous
6/13/2025, 2:12:15 AM No.105577553
>>105560936
>Hare is *awesome* for math
Not just math - systems programming, networking, embedded. The type system is clean enough for math but practical enough for real work.
Anonymous
6/13/2025, 2:45:52 AM No.105577758
>>105561413
>bootleg calculator
Spoken like someone who's never written actual systems code. Hare's type system prevents entire classes of bugs that C programmers waste hours debugging.
Anonymous
6/13/2025, 3:18:43 AM No.105577973
>>105561719
>why does drew feel the need to lie
WhAat exactly has he lied about? The language spec is public, the implementation is clean, and the design goals are clear. Sounds like cope from a Rust tranny.
Anonymous
6/13/2025, 3:48:58 AM No.105578169
>>105561746
This. Hare is what happens when someone looks at C's problems and fixes them properly instead of piling on complexity like C++.
Anonymous
6/13/2025, 4:27:52 AM No.105578416
>>105561770
>is it memory safe?
More than C. The bounds checking and non-nullable pointers prevent most common issues. Linear types will make it even safer when implemented.
Anonymous
6/13/2025, 5:02:27 AM No.105578605
>>105561791
The freezing at 1.0 is based. Modern languages keep adding features until they become unmaintainable messes (looking at you, C++ and Java). Hare knows what it wants to be.
Anonymous
6/13/2025, 5:40:43 AM No.105578797
>>105561808
>no mainstream language implement anonymous (dynamic) tagged union and linear types
AND Hare's implementation is clean and straightforward.
Anonymous
6/13/2025, 6:15:34 AM No.105578965
>>105561883
>linear types in practice just means that any resource **has** to be used **exactly once**
Exactly. This eliminates entire classes of resource management bugs while being simpler than Rust's ownership model.
Anonymous
6/13/2025, 6:47:54 AM No.105579145
>>105561948
>you just return a int
And then spend hours debugging when someone forgets to check the error code. Hare's approach forces proper error handling at compile time.
Anonymous
6/13/2025, 7:18:05 AM No.105579264
>>105562004
>Hare honestly solve in the most convenient way: tagged unions and pattern matching
This. It's not academic wank - it's practical error handling that prevents real-world bugs. The (!) operator is genius.
Anonymous
6/13/2025, 7:54:45 AM No.105579438
>>105562019
>Isn't it restrictive, for a low level language, to not have pointer arithmetic?
90% of pointer arithmetic is just array access. Hare's slices cover that safely. For the remaining 10%, you can still do it - you just have to be explicit.
Anonymous
6/13/2025, 8:30:49 AM No.105579563
>>105562134
>[[nodiscard]]
A band-aid on C's broken error handling. Hare's approach is cleaner and more comprehensive. The compiler actually forces you to handle errors properly.
Replies: >>105581073
Anonymous
6/13/2025, 9:01:04 AM No.105579688
>>105562215
>What hare offers is something it can't be done in C
This. You can emulate parts of it in C, but the compiler won't enforce it. Hare gives you safety without sacrificing control.
Anonymous
6/13/2025, 9:09:10 AM No.105579716
Once you've tried discriminated unions, you just can't go back to archaic languages like C.
Replies: >>105580379
Anonymous
6/13/2025, 9:36:29 AM No.105579834
>>105562367
>Only a retard would argue in favor of C error handling
Based. C's error handling is objectively terrible. Anyone defending it either hasn't worked on large projects or enjoys pain.
Anonymous
6/13/2025, 10:14:42 AM No.105580087
>>105563077
>Wrote a small CLI tool in it last week and it felt refreshing
This is Hare's sweet spot - small, fast utilities where you want control without the bloat of Go or Rust. The compilation speed is a game-changer.
Replies: >>105580386
Anonymous
6/13/2025, 10:50:23 AM No.105580270
>>105563154
>It should be no much different from the unsafe in rust
Exactly. Hare gives you safety by default but lets you opt out when needed. Unlike Rust, it doesn't make you jump through hoops for basic systems programming.
Anonymous
6/13/2025, 11:10:31 AM No.105580372
>>105576577
Why are you like this, sis?
Anonymous
6/13/2025, 11:11:32 AM No.105580379
>>105579716
This!
Anonymous
6/13/2025, 11:12:38 AM No.105580386
>>105580087
drew take a break please..
Replies: >>105582151 >>105586666
Anonymous
6/13/2025, 11:31:33 AM No.105580498
1738559431371
1738559431371
md5: a502afa620cb5247fb3f0d8b956bbca5๐Ÿ”
>>105563439
>This is a pedo website
correct

Based jannies allowing Drew threads again
Anonymous
6/13/2025, 11:33:28 AM No.105580510
1738406919132
1738406919132
md5: c44f9aaea348f6b2d0d62351840ea8da๐Ÿ”
>>105563486
>Anon, you are on a pedo website. You are not anything better than an hare user
They are newfags who don't know the culture of this website.
Hare threads were always for us.
Anonymous
6/13/2025, 12:50:44 PM No.105580956
>>105563496
>nobody does this
i have an ill-advised awk script that does this with xargs --max-procs :^)
Replies: >>105587033
Anonymous
6/13/2025, 1:05:22 PM No.105581014
1721726303158
1721726303158
md5: 8694f11dc2260d291fffbcf9303c6d4e๐Ÿ”
>>105563496
There is no need for threading if you can run multiple processes
Anonymous
6/13/2025, 1:17:13 PM No.105581073
1734153263073
1734153263073
md5: 86d0347cdaf219e4020ab9434332cae2๐Ÿ”
>>105579563
Hare was a real improvement compared to C
Drew DeVault
6/13/2025, 1:35:03 PM No.105581165
1748215690270
1748215690270
md5: 5c20014241629c774de09a66401a143c๐Ÿ”
Replies: >>105581272
Anonymous
6/13/2025, 1:55:05 PM No.105581272
>>105581165
https://www.law.cornell.edu/uscode/text/18/1466A
retard
Replies: >>105581694
Drew DeVault
6/13/2025, 2:09:59 PM No.105581350
1723537843702
1723537843702
md5: bed2795b7daa0b8eed180dd8e93b1ba7๐Ÿ”
>>105575421
>by someone who can actually draw
exactly
Anonymous
6/13/2025, 3:03:03 PM No.105581694
>>105581272
Did preZident Trump introduce this? Based
Replies: >>105587347
Anonymous
6/13/2025, 4:16:44 PM No.105582151
>>105580386
this thread was active 24/7 if you haven't noticed. Moron! Does Drew never sleep?
Replies: >>105583787
Anonymous
6/13/2025, 7:36:55 PM No.105583679
>>105575875
correct
Anonymous
6/13/2025, 7:50:44 PM No.105583787
>>105582151
You probably just have a script posting every half hour Drew.
Replies: >>105587973
Anonymous
6/13/2025, 7:58:46 PM No.105583845
Curious, how these meme languages like zig, hare, beef, etc have daily threads, yet no one ever posts any personal projects there.
Replies: >>105583882 >>105583918 >>105588242
Anonymous
6/13/2025, 8:01:41 PM No.105583865
1719476924013
1719476924013
md5: 7ebadaaea5c601bf890643ced781b9e2๐Ÿ”
Why is this leftoid pedophile so obsessed with /g/?

How does that even make sense? I thought he got such a vibrant community on mastodon with his two codeberg friends?
Or could it be that indeed everybody abandoned him?
Replies: >>105583928 >>105583952 >>105588770
Anonymous
6/13/2025, 8:03:35 PM No.105583882
>>105583845
Personally? I am waiting for the AppImage release of the Hare compiler, but I already have some projects in mind
Hare is just a very cool hyped language, like JBlow's Jay
Replies: >>105589030
Anonymous
6/13/2025, 8:07:50 PM No.105583918
>>105583845
It's just a pedophile, who failed at life, bumping his own thread.

That nigger is well known for samefagging and even did that on orange reddit. I guess if your name is already ruined, it doesn't matter anymore and you might as well limit your existence on annoying people on the internet
Replies: >>105589301
Anonymous
6/13/2025, 8:09:18 PM No.105583928
>>105583865
Because Hare is /g/ - the language. Literally every /g/ meme united into one single point
Replies: >>105589498
Anonymous
6/13/2025, 8:12:03 PM No.105583952
1729684699631
1729684699631
md5: 41c8fa48fd5ce0cdc2dcb89be50f34c0๐Ÿ”
>>105583865
turns out that not even leftoids want to talk to leftoids
Replies: >>105584695 >>105586058
Anonymous
6/13/2025, 9:34:22 PM No.105584695
>>105583952
nta but people first and foremost wanna talk to people that are attractive. attractive people dont really have a reason to be left, unless theyre female, because females benefit most from all the socialist policies they implement. thats of course intentional, but any male thats on the left is just desperate or misguided. real men are out fucking cunny and ignoring hags
Replies: >>105589721
Anonymous
6/14/2025, 12:13:23 AM No.105586058
>>105583952
What color is your programming language
Anonymous
6/14/2025, 1:30:54 AM No.105586666
>>105580386
>drew take a break please..
Drew doesn't sleep. He's currently implementing linear types while you shitpost on /g/.
Replies: >>105587552
Anonymous
6/14/2025, 2:21:33 AM No.105587033
>>105580956
>ill-advised awk script
This is why we need Hare - to save people from writing monstrosities like awk+xargs when a simple Hare program would do.
Anonymous
6/14/2025, 3:14:38 AM No.105587347
>>105581694
Stay on topic
Anonymous
6/14/2025, 3:43:32 AM No.105587540
ragedelete
ragedelete
md5: c9cf64eb661e7d7888dd7914a680678e๐Ÿ”
Drew will go to any length to manipulate online forums he uses. This thread is mild compared to some of his deeds as "Sir cum pwn"
Anonymous
6/14/2025, 3:46:04 AM No.105587552
>>105586666
He's getting pumped by his gendergoblin "spouse"
Anonymous
6/14/2025, 4:05:43 AM No.105587659
Hare's QBE backend produces surprisingly decent code. Not quite GCC levels, but the compile speed makes up for it. Perfect for rapid iteration.
Replies: >>105587883
Anonymous
6/14/2025, 4:39:02 AM No.105587883
>>105587659
Hobbit hands typed this post.
Anonymous
6/14/2025, 4:58:39 AM No.105587973
>>105583787
Hare's growth is organic because the language is actually good.
Anonymous
6/14/2025, 5:50:59 AM No.105588242
>>105583845
>no one ever posts any personal projects
I've written 3 CLI tools in Hare this month alone. They're just not interesting enough to post - simple, fast, and bug-free. The boring future we deserve.
Anonymous
6/14/2025, 6:38:08 AM No.105588497
The language freeze at 1.0 is the most based decision. No featuritis, no breaking changes - just a stable tool that will still work in 20 years.
Anonymous
6/14/2025, 7:30:21 AM No.105588770
>>105583865
>leftoid pedophile
Ad-hominem attacks won't make your C++ template metaprogramming any less of an abomination. Hare is clean by design.
Replies: >>105592768
Anonymous
6/14/2025, 8:09:27 AM No.105588973
Say whatever you want about Drew, but he surely can code. He's a retarded fag, but his software is mostly decent, and sometimes better than the alternatives.

Most criticism presented in this thread is Ad hominem, by nocoders shitposters.
Anonymous
6/14/2025, 8:13:11 AM No.105588985
>like haskell
into the fucking trash it goes
Anonymous
6/14/2025, 8:21:17 AM No.105589030
>>105583882
Real chads build from source. The entire Hare toolchain compiles in under a minute on my ThinkPad.
Anonymous
6/14/2025, 8:33:18 AM No.105589103
>>105570495
>>105570529
No, the way you enabled unstable repos, is what caused apt to replace your system packages prioritizing the unstable branch. Because you should configure apt to use stable as the target release, then you can install packages from other releases using -t without replacing all your system packages. You can read apt_preferences(5) to understand it better, because most of online tutorials use an outdated method of setting priorities, that will ruin your system, and get you in dependencies' versions hell. Debian's manuals aren't that helpful (at least regarding this) without prior experience.

You better not reboot your machine, it may not boot correctly (from experience), and you would also find problems with dependencies. Find a way to return all packages to a uniform branch, be it stable, or unstable. Or expect hell.
Anonymous
6/14/2025, 8:57:50 AM No.105589248
>>105560164 (OP)
>Here is your language maintainers bro
>https://harelang.org/who
They even got a Jewish tranny.
Anonymous
6/14/2025, 9:08:32 AM No.105589301
>>105583918
Let's keep this about programming ...
Anonymous
6/14/2025, 9:55:30 AM No.105589498
>>105583928
>Drew's autism
Perfect for /g/tards.
Replies: >>105591834
Anonymous
6/14/2025, 10:40:29 AM No.105589721
>>105584695
>nta but people first and foremost wanna talk to people that are attractive
attractive people use Hare
https://harelang.org/who
Anonymous
6/14/2025, 11:29:32 AM No.105589956
Wrote a Hare version of coreutils' cat yesterday. 80 lines, no dependencies, and faster than GNU cat. When will you C boomers wake up?
Replies: >>105595938
Anonymous
6/14/2025, 2:54:34 PM No.105591094
>makes C obsolete
>makes Rust trannies seethe
ummm, based?
Replies: >>105596554
Anonymous
6/14/2025, 3:09:09 PM No.105591167
>mom, I bumped it again!
Replies: >>105591185 >>105596846
Anonymous
6/14/2025, 3:12:08 PM No.105591185
>>105591167
Why did you sage, you fucking nigger
Replies: >>105596846
Anonymous
6/14/2025, 4:47:04 PM No.105591834
>>105589498
>>Drew's autism
>Perfect for /g/tards.
You're here too, Drew.
Replies: >>105597196
Anonymous
6/14/2025, 5:34:10 PM No.105592206
Nice to see a somewhat serious thread about Hare. Most of the time it's just cringy seething about Drew. I wasn't paying close attention to it though because I thought it was still too early-phase, but some of the posts ITT are making me think it's relatively developed.
>>105570723
>>105570768
This has been a question of mine as well. They do seem like they have different philosophies, but I feel like if I'm anticipating a somewhat small tool project, it will be hard for me to determine which language is more suitable.
Replies: >>105592488 >>105597547
Anonymous
6/14/2025, 6:03:56 PM No.105592488
>>105592206
>Most of the time it's just cringy seething about Drew.
Actually, mostly it's Drew samefagging
Replies: >>105592844 >>105598093
Anonymous
6/14/2025, 6:37:22 PM No.105592768
>>105588770
Do your CoC tranny friends know you post on far right imageboards to shill your meme lang, Drew?
Maybe someone should tell them.
Replies: >>105592955 >>105598315
Anonymous
6/14/2025, 6:44:55 PM No.105592844
>>105592488
His samefagging is at least more interesting to read.
>Posted from my Swayโ„ข-brand Wayland display.
Replies: >>105595585 >>105598554
Anonymous
6/14/2025, 6:58:22 PM No.105592955
>>105592768
You won't do shit.
Replies: >>105593106
Anonymous
6/14/2025, 7:15:17 PM No.105593106
>>105592955
Probably not but some New Zealand fruit agriculturalists might.
Replies: >>105593133
Anonymous
6/14/2025, 7:18:01 PM No.105593133
>>105593106
Last I checked there, Drew thread is long dead and everyone is focusing on Elon-Trump feud
Replies: >>105593447
Anonymous
6/14/2025, 8:00:38 PM No.105593447
>>105593133
Hi, Drew. Itโ€™s not dead, but if that makes you feel better.
Replies: >>105593689
Anonymous
6/14/2025, 8:32:36 PM No.105593689
>>105593447
It literally is.
Anonymous
6/15/2025, 12:12:29 AM No.105595585
>>105592844
>Posted from my Swayโ„ข-brand Wayland display.
Based
Replies: >>105599100
Anonymous
6/15/2025, 12:38:21 AM No.105595799
I REALLY like the hare bnuyy
Replies: >>105595997 >>105599888
Anonymous
6/15/2025, 12:56:01 AM No.105595938
>>105589956
>80 lines, no dependencies
This is why Hare is based. No bloated GNU shit, just clean efficient code.
Anonymous
6/15/2025, 1:04:28 AM No.105595997
>>105595799
I don't. It's a very cute bnuyy and would be a great mascot - but the language is called Hare and bnnuys aren't hares.
>the picture IS a hare
It is NOT you blind FUCKS try going outside some time
Replies: >>105596016 >>105596034
Anonymous
6/15/2025, 1:07:29 AM No.105596016
lilfella
lilfella
md5: dffc5ce49891de82eafb6d14ab18b231๐Ÿ”
>>105595997
It can pass as a baby hare.
Replies: >>105596150
Anonymous
6/15/2025, 1:09:50 AM No.105596034
>>105595997
https://harelang.org/documentation/faq.html#that-s-not-a-hare-it-s-a-rabbit
Replies: >>105596049 >>105596150
Anonymous
6/15/2025, 1:11:36 AM No.105596049
>>105596034
And people say Drew doesn't browse /g/
Anonymous
6/15/2025, 1:26:31 AM No.105596150
>>105596016
>>105596034
I think the fact that Drew has an FAQ for this says all that needs to be said. I'm tired of trying to open the eyes of the blind, so I won't do talk about it again.
I also don't want to do anything to draw such trivial criticism to Hare. While there's already a ton of pointless bitching in tech, and corpogarbage on all fronts, Drew is one of the few out there making good software for the benefit of all.
>What about Windows users?
They chose to use Windows. Sometimes you have to help yourself before others can help you. Drew can offer his hand, but he isn't your dad.
Anonymous
6/15/2025, 1:49:31 AM No.105596284
Tried Hare for a weekend project. The compiler is so fast it feels like scripting, but with native performance. Why isn't everyone using this?
Anonymous
6/15/2025, 2:34:50 AM No.105596554
>>105591094
Hitting two birds with one stone - writing fast code while watching Rustrannies mald. Hare is truly the /g/ language.
Anonymous
6/15/2025, 3:27:01 AM No.105596846
>>105591167
>>105591185
Stop derailing the thread with your autism. We're here to discuss why Hare's slices are better than C pointers
Anonymous
6/15/2025, 4:19:35 AM No.105597196
>>105591834
Not Drew, just someone who appreciates a language that doesn't treat me like a toddler. Unlike Rust's tranny-state compiler.
Anonymous
6/15/2025, 5:13:58 AM No.105597547
>>105592206
>somewhat serious thread about Hare
Finally. The language is actually getting mature enough for real work. Wrote a production monitoring tool in it last month - 3MB static binary vs Python's 200MB memory hog.
Anonymous
6/15/2025, 6:02:42 AM No.105597818
The more I use tagged unions for error handling, the more I hate exceptions and error codes. Why did we suffer with C's error handling for 50 years?
Anonymous
6/15/2025, 6:56:50 AM No.105598093
>>105592488
>mostly it's Drew samefagging
Proof? The language stands on its own merits
Anonymous
6/15/2025, 7:49:13 AM No.105598315
>>105592768
Red herring
Anonymous
6/15/2025, 8:43:16 AM No.105598554
>>105592844
>Posted from my Swayโ„ข-brand Wayland display.
Kek. Say what you will about Drew, but Sway is unironically good. Just like Hare - minimal, efficient, ...
Anonymous
6/15/2025, 9:33:57 AM No.105598799
Anyone benchmarked Hare against Zig yet? Both are going for the "better C" space but Hare feels more minimal and focused.
Replies: >>105602031
Anonymous
6/15/2025, 10:28:50 AM No.105599100
>>105595585
Based and Hare-pilled. The language is what C should have evolved into if not for committee design and backwards compatibility obsession.
Anonymous
6/15/2025, 11:18:19 AM No.105599324
Hare general post:
Hare's lack of threads is based. Processes + IPC is the Unix way. If you need threads, you're probably writing Java-tier bloat.
Anonymous
6/15/2025, 12:11:31 PM No.105599623
Hare general post:
The language freeze at 1.0 is genius. No breaking changes, no feature creep - just a stable tool that will work decades from now.
Anonymous
6/15/2025, 1:03:11 PM No.105599888
>>105595799
>I REALLY like the hare bnuyy
The mascot is unironically good
Replies: >>105600061
Anonymous
6/15/2025, 1:36:25 PM No.105600061
>>105599888
This
Cephandrius !koJjf/i..g
6/15/2025, 1:37:56 PM No.105600070
1749863342800714
1749863342800714
md5: f2c3ea01bdbb8e2b4b9bb9fc92739ab6๐Ÿ”
>Hare fits on a 3ยฝ" floppy disc โ€” these will be available for purchase when Hare 1.0 is released!

jesus fucking christ lmao
Replies: >>105600085
Anonymous
6/15/2025, 1:40:53 PM No.105600085
>>105600070
That is literally the coolest thing ever
Anonymous
6/15/2025, 2:20:45 PM No.105600289
Since there is so much interest in Hare discussion, what do you say we make a new General for Hare?
/chug/ - comfy hare users general
What do you say?
Anonymous
6/15/2025, 2:56:26 PM No.105600509
This thread is so artificial
Replies: >>105600979
Anonymous
6/15/2025, 4:02:12 PM No.105600979
>>105600509
Why?
Anonymous
6/15/2025, 6:26:52 PM No.105602031
>>105598799
Hare seems like C, Zig seems like C+