← Home ← Back to /g/

Thread 105604073

321 posts 42 images /g/
Anonymous No.105604073 >>105604414 >>105604712 >>105604787 >>105605085 >>105606212 >>105612883 >>105617623 >>105617681 >>105627059 >>105628404 >>105628962 >>105633914 >>105633995 >>105640709 >>105641473 >>105648713 >>105658144 >>105659602 >>105663710 >>105665861
/chug/ - comfy hare users general
The purpose of this General is to discuss Hare, Low level and also systems programming in general.
Hare is a successor to C. Therefore, hare users are experts on C. Because of that, questions and discussion about C are also welcome.

What is 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.

What does Hare bring to the table?
>Staying loyal to C ideal of simplicity while revamping the error handling, module system and the standard library
Other than that, Hare doesn't deviate from C that much unlike Zig, Rust, etc. That is why Hare is best used by seasoned C developers who do not dislike C, but have only minor nitpicks with C.

Don't know how to write Hare? Start here:
General documentation: https://harelang.org/documentation/
General language introduction: https://harelang.org/tutorials/introduction
Standard library: https://harelang.org/tutorials/stdlib
Tsoding's review: https://www.youtube.com/watch?v=2E3E_Rh3mvw

The flagship feature of Hare is the "Tagged Unions". C users who have used OCaml in the past will feel right at home!

type signed = (int | i8 | i16 | i32 | i64);
type unsigned = (uint | u8 | u16 | u32 | u64);
type integer = (...unsigned | ...signed);
Anonymous No.105604140 >>105604160 >>105606103 >>105606523 >>105607041 >>105607153 >>105661263 >>105672194
How is Zig these days? I remember it was the most promising among the meme language, Nim, Odin, etc.
Anonymous No.105604160 >>105604256 >>105604384 >>105604446 >>105620443
>>105604140
They are now ditching LLVM because their compiler was unbearably slow to the point of being unusable on even simple projects
I don't think they managed to move away yet
Anonymous No.105604233 >>105606800
buy an ad drew
Anonymous No.105604256 >>105604402 >>105606995
>>105604160
Well, that is just sad. You made a deal with the devil, you need to pay the price.
Anonymous No.105604384
>>105604160
They have for debug builds.
https://ziggit.dev/t/self-hosted-x86-backend-is-now-default-in-debug-mode/10447
Anonymous No.105604402 >>105604448 >>105612029
>>105604256
I don't understand why LLVM doesn't have a fast build option? Can anyone explain?
Anonymous No.105604414 >>105604433 >>105619223
>>105604073 (OP)
Will I be on a list of some 3 letter agency if I install this given the questionable morality of the guy who made this?
Anonymous No.105604433
>>105604414
Hare is so simple, including QBE that you can actually verify the source code yourself :)
Anonymous No.105604446 >>105604507
>>105604160
i wonder if using qbe for the backend like hare would have made self-hosting easier
Anonymous No.105604448 >>105604472 >>105604601
>>105604402
>Lead maintainer
>Nikita Popov
>engineer at @RedHat
Welll, that explains a lot.
For some reason, I always thought it's a google thing. Because Chandler Carruth's talks were pretty popular.
Anonymous No.105604472 >>105604513 >>105604568 >>105607302 >>105607596 >>105618953 >>105648719
>>105604448
Nikita Popov lives in Russia though. He is Russian. And he actually is INSIDE of Russia
There is about 0 chance that the Russian government is just allowing him to hide CIA backdoors everywhere unless CIA and FSB work together secretly, in which case we're doomed anyway.
Anonymous No.105604507 >>105617596 >>105629729
>>105604446
QBE is a very simple backend and I would love to see Zig use it because they would have to contribute back and make QBE support more platforms. But QBE is so simple that for a team of Zig's size it is about the same time-wise to just create their own IR.
Anonymous No.105604513 >>105604534
>>105604472
That's a different Nikita Popov. The other one is an employee of Red Hat Berlin. And a php dev.
Literally no one mentioned CIA.
Anonymous No.105604534 >>105604568
>>105604513
There are TWO Nikita Popovs working on a language with 100 maintainers? What are the odds?
Anonymous No.105604568 >>105604601
>>105604534
One is the LLVM’s lead maintainer, the other one >>105604472 is a random profile that anon found.
Anonymous No.105604586 >>105607847
I once heard this statement
>the role of optimizing compilers is in majority of applications kind of over rated
And seeing the "speed" of Rust and Zig compilers I can see why someone would believe that. But then again, GCC manages to be relatively fast.
Anonymous No.105604601
>>105604568
Ahhh I get it, I am a fucking retard.
>>105604448
Yeah it makes sense now. Is there anything that RedHat hasn't over engineered and under-delivered at this point?
Anonymous No.105604712 >>105608093
>>105604073 (OP)
>/chug/
Anonymous No.105604787
>>105604073 (OP)
Still shilling your shitty language here, Drew?
Anonymous No.105604836 >>105612054 >>105618541
I want to share this cool project I found. Specifically the crepl. I have never seen a C interpreter. So if anyone wants to play with something HolyC like, check this out. There is also a C compiler but I don't see a usecase for yet another C compiler. The interpreter I am very interested in, though!
https://sr.ht/~sebsite/hare-c/
Anonymous No.105604975 >>105605019 >>105605051 >>105608403 >>105608659 >>105609251
Does Hare support Israel?
Anonymous No.105605019 >>105605051
>>105604975
Of course. It's a language for God's chosen people by God's chosen people. Goyim not allowed.
Anonymous No.105605051 >>105605219
>>105605019
>>105604975
Samefag
Anonymous No.105605085 >>105605114 >>105609606
>>105604073 (OP)
>no generics
what's even the point
Anonymous No.105605114 >>105617649
>>105605085
Does C have generics? Hare is not C++ like, it is C like
Anonymous No.105605219
>>105605051
When will the goys finally learn?
Anonymous No.105606103
>>105604140
It is going okay
Anonymous No.105606212
>>105604073 (OP)
literally a language made by jewish trannies. And hello Drew
Anonymous No.105606244
Ignore the rust troon bad actors. Hare IS for the white male. So is Go and C, but not C++ that's for brown people.
Anonymous No.105606523 >>105664937
>>105604140
Ziggas are delving too deep into Rust territory for me. Things that should be warnings are errors.
Anonymous No.105606800
>>105604233
KYS
Anonymous No.105606995
>>105604256
Yeah lol. LLVM, not even once
Anonymous No.105607041
Excited to post in the inaugural /chug/! I don't have hobby time to do anything with Hare right now, but I'll scan these from time to time to see how people are feeling about it. Thanks in advance for letting me lurk.
>>105604140
>meme language
Odinbros...
Anonymous No.105607147
>no generic
Into the trash it goes.
Anonymous No.105607153 >>105618245
>>105604140
The Zig community is somehow even more authoritarian than that of Rust.
Anonymous No.105607302
>>105604472
What a chad.
Anonymous No.105607396 >>105617824
How’s your β€œspouse,” Drew? Do you help xer dilate?
Anonymous No.105607596
>>105604472
Why do Russians look so Eugenic compared to westerners?
Anonymous No.105607847
>>105604586
based
Anonymous No.105607991 >>105608990 >>105617470
Who let you troons out of your containment board?
Anonymous No.105608093
>>105604712
Z
Anonymous No.105608403
>>105604975
No
Anonymous No.105608659
>>105604975
No
Anonymous No.105608970 >>105646322
Based thread!
Anonymous No.105608990 >>105609067
>>105607991
Wouldn't the troons be the /uhg/ crowd? They literally had a tranny on the ukraine side as one of their mascots.
Anonymous No.105609067
>>105608990
Shhhh
Don't use fact and logic on them
Anonymous No.105609218 >>105617749 >>105658167
Are tagged unions in Hare just syntax sugar for
struct example {
int type_tag;
union {
/* ... types ... */
}
};

??
Kinda genius
Anonymous No.105609251
>>105604975
retard
Anonymous No.105609606 >>105615575
>>105605085
>>>/reddit/
Anonymous No.105609715 >>105610853 >>105617641
Remember to use this guide to setup Hare!
https://git.sr.ht/~alecgraves/hare-guide/tree/wiki/item/InstallingHare.md
Anonymous No.105610853
>>105609715
How do I build Hare on Windows?
Anonymous No.105610947 >>105610955
what is this meme general
Anonymous No.105610955
>>105610947
The best low level general you could ask for
Anonymous No.105612029 >>105612041
>>105604402
llvm is a total shitshow. You need a 20man team just to keep up with updates breaking everything all the time. They can't even update correctly either, so their api updates result in genrating invalid llvm ir and such.
Tl:dr: llvm.devs bathe in cow piss on the regular
Anonymous No.105612041 >>105612069
>>105612029
Is it really that bad?
Anonymous No.105612054 >>105612063 >>105615949
>>105604836
there are several c interpreters. including picoc, ch, cint...
Anonymous No.105612063 >>105612163
>>105612054
Which one is the best? This is the first time I am hearing about it
Anonymous No.105612069 >>105612075
>>105612041
It's even worse.
Anonymous No.105612075
>>105612069
:|
Anonymous No.105612163 >>105612278
>>105612063
EarlGray's c4 jit interpreter is really nifty (and about 500 locs as I recall). Otherwise redhat's mir. Beyond those, picoc
Anonymous No.105612243 >>105612871
yet another day of Drew talking to himself again
Anonymous No.105612278
>>105612163
So C4? How fast is it?
Anonymous No.105612871 >>105613877 >>105628962
>>105612243
Post proof
Anonymous No.105612883 >>105613670
>>105604073 (OP)
Fuck off Drew ya goddamned predator.
Anonymous No.105612959 >>105616585
I know that Drew did Minecraft clone in Hare, but recently I saw a very comfy stream about developing a multiplayer text adventure in Hare
https://www.youtube.com/watch?v=CWLs5Vb6Wmc
I think that this is pretty cool. I also like how Hare's community is very engineering oriented instead of talking about trannies 24/7
Anonymous No.105613670 >>105614550
>>105612883
Why are you like this? Nobody mentioned Drew
Anonymous No.105613877 >>105614528
>>105612871
>post proof
Anonymous No.105614528 >>105614799
>>105613877
So, no proof?
sage No.105614550 >>105614562
>>105613670
Hare was mentioned and that was enough...because Drew probably started this thread.


sage
Anonymous No.105614562 >>105614600
>>105614550
That is what I call a Hare Derangement Syndrome (HDS)
sage No.105614600 >>105615001
>>105614562
kek, sounds like something Bugs Bunny would say.
sage No.105614799 >>105615442
>>105614528
Prove it’s not the little niggercattlegoblinhobbit.
sage
Anonymous No.105615001
>>105614600
You know what, you are right!
Anonymous No.105615442
>>105614799
That is not how that works, meine freunde. the burden of proof is on you. the burden of proof is on you.
Anonymous No.105615575
>>105609606
nigger
Anonymous No.105615696 >>105615706
if it doesn't have lsp, i'm not interested
Anonymous No.105615706 >>105615756
>>105615696
:)
https://sr.ht/~tomleb/harepls/
Anonymous No.105615756
>>105615706
can I trust a piece of software that is designated as very experimental and received its last commit 2 years ago?
Anonymous No.105615949
>>105612054
Can functions be overriden in interpreted C? If so, I would love to use it for my game engine
Anonymous No.105616108 >>105616141 >>105628048
Hi I'm a complete coding scrub I wanted to learn C as a first language because of propaganda, is this better or should I learn C before trying Hare
Anonymous No.105616141
>>105616108
I think you should learn C first to see it's philosophy, it's advantages and shortcomings and then try hare and see if you like Hare's solutions.
Who knows? Maybe you won't like systems programming at all.
Anonymous No.105616585
>>105612959
>instead of talking about trannies 24/7
wait until it becomes well-known on /g/
Anonymous No.105617062
>Hare fits on a 3/4 inch floppy dick
That is so cool
Anonymous No.105617470
>>105607991
You faggots are worse than vegans. Nobody cares about Ukraine
Anonymous No.105617596
>>105604507
Isn't the Zig team like 5-6 midwits?
Anonymous No.105617623 >>105617749 >>105627681
>>105604073 (OP)
>The flagship feature of Hare is the "Tagged Unions"
QRD on tagged unions?
>Tsoding
Low IQ dork with a squeaky voice. Didn't watch.
Anonymous No.105617641 >>105627391
>>105609715
No, I don't think I will. C works just fine.
Anonymous No.105617649
>>105605114
OK, Drew.
Anonymous No.105617681 >>105627017
>>105604073 (OP)
>Hare is a successor to C. Therefore, hare users are experts on C.
Stopped reading there. Drew definitely isn't an expert on C, nor are most of the other Haretards I've seen.
Anonymous No.105617749
>>105617623
This >>105609218
Anonymous No.105617824 >>105617905
>>105607396
>having a wife is actually bad
>t. incel
Anonymous No.105617876 >>105617912 >>105618187 >>105621781 >>105627681 >>105638068
Can you do thing in Hare?
enum Shape {
Circle { radius: f64 },
Rectangle { width: f64, height: f64 },
Triangle { base: f64, height: f64 },
}

fn area(shape: &Shape) -> f64 {
match shape {
Shape::Circle { radius } => std::f64::consts::PI * radius.powi(2),
Shape::Rectangle { width, height } => width * height,
Shape::Triangle { base, height } => 0.5 * base * height,
}
}
Anonymous No.105617905
>>105617824
>wife
Anonymous No.105617912
>>105617876
*Can you do this in Hare?
Anonymous No.105618187 >>105618224
>>105617876
A triangle is not uniquely determined by its base and height.
Anonymous No.105618224
>>105618187
And?
Anonymous No.105618245
>>105607153
QRD? What happened with the Zig's community?
Anonymous No.105618541
>>105604836
That is awesome! I didn't know that Hare was this advanced already. And it looks super clean too. I am considering looking into the project and the language as a whole
In all fields !!pRmXayyjVYO No.105618890 >>105623029
>drewware
not today, thank you
Anonymous No.105618953
>>105604472
It just crossed my mind that it is incredibly refreshing to see a language without diversity hires. That makes so much sense as to why Hare is so close to the vision of original UNIX boys
Anonymous No.105619223
>>105604414
Yes.

Hare is for CHVDS only.

Expect a van in front of your house ;)
Anonymous No.105619510 >>105622149 >>105629913
Learn lisp instead of wasting your time with these obscure nothing-to-give born-obsolete programming languages.
Anonymous No.105619617 >>105629561
I always liked bunnies.
Anonymous No.105620010 >>105620158
Since I don't see any other low level generals online at the moment, I thought I might ask, does anyone know how compilers translate lambdas/closures (with capturing) into assembly?
I cannot wrap my head around it.
Anonymous No.105620158 >>105620930 >>105629235
>>105620010
Function pointers.
https://godbolt.org/z/o53qjdnnj
Anonymous No.105620443
>>105604160
Good riddance lmao.
Anonymous No.105620930 >>105631125
>>105620158
I don't quite get it. Of course for a normal lambda you can just construct a random-name function and take it's pointer, but what about capturing lambda? Especially in langauges like Go, where a lambda can capture a local variable on the stack and then use it even after the variable goes out of scope. How the fuck can Go do that?
Anonymous No.105621781 >>105626149 >>105637471
>>105617876
Yes! and it looks very similar to how you would do it in OCaml too.
You can also do, as I did here fn x(...) type = expression, and expression doesn't have to be {}
use math;
use fmt;

type circle = struct { radius: f64 };
type rectangle = struct { width: f64, height: f64 };
type triangle = struct { base: f64, height: f64 };

type shape = (circle | rectangle | triangle);

fn area(s: shape) f64 = match (s) {
case let circ: circle => yield math::PI * math::powf64(circ.radius, 2.0);
case let rect: rectangle => yield rect.width * rect.height;
case let tria: triangle => yield 0.5 * tria.base * tria.height;
};

export fn main() void = {
const s = circle { radius = 4.5 };
fmt::println("area", area(s))!;
};
Anonymous No.105622149
>>105619510
Hare has manual MM, Lisp has a GC, they don't even compete. Lisp has zero usecases in areas where Hare is useful
Anonymous No.105622856
chug?
Anonymous No.105623029 >>105623062 >>105623079
>>105618890
Drew is a janny here now. Be careful what you say.
Anonymous No.105623062 >>105623125
>>105623029
Wait, what?
Anonymous No.105623079 >>105623125 >>105625339
>>105623029
Anonymous No.105623125 >>105623168 >>105628849
>>105623062
>>105623079
>thread deleted
https://desuarchive.org/g/thread/105622669/
Anonymous No.105623168 >>105623270
>>105623125
>make an off topic thread
>it gets (rightfully) deleted
>JANNY DREW, DREW IS A JAAAAAANIE
Anonymous No.105623270 >>105623377 >>105625853
>>105623168
Sway and Sourcehut aren’t off topic and if hare is off topic so is this thread. And Drew is as on topic as an RMS thread
Anonymous No.105623377 >>105625669
>>105623270
>hare is off topic
u wot m8?
Anonymous No.105624217 >>105627038
Yeah, you can build QBE in seconds while LLVM takes minutes to build or maybe one hour
But does that really matter? What is the usecase for QBE?
Anonymous No.105625339 >>105625696
>>105623079
I think I saw that same shizo on Drew's kiwi thread ...
Anonymous No.105625669
>>105623377
>esl
what does "if" mean retard?
Anonymous No.105625696
>>105625339
oh yeah, what's his username?
Anonymous No.105625853 >>105625866
>>105623270
>Hare is offtopic on a programming board
Anonymous No.105625866 >>105625872
>>105625853
That's the point. It's not. The thread I made was about all of Drew's creations and that faggot said it was off topic and now you and the rest of the "just pretending to be retarded" army is here.
Anonymous No.105625872 >>105625881
>>105625866
Explain how a programming language is off topic?
Anonymous No.105625881 >>105625894
>>105625872
How is a thread about sway, sourcehut AND Hare off topic then faggot?
Anonymous No.105625894 >>105625900
>>105625881
4chan is not the farms, you are not allowed to make lolcow threads here. And poisoning the well is not allowed either
Anonymous No.105625900
>>105625894
>drew/newfag
Yeah, there are never threads here about tech personalities. lol.
Anonymous No.105625919
Drew deleted all of his social media for a while (Sir Childporn) and now he's back.
Anonymous No.105626149
>>105621781
Holy shit that looks awesome
Anonymous No.105626553
>Hare does not support threads
Not true at all. Hare supports everything C supports except Macros. Hare's batteries-included stdlib is not reentrant, but you can still link with glibc which IS reentrant and then use threads.
Anonymous No.105627017
>>105617681
>Drew is not an expert in C
WTF bitch? He literally coded everything in C prior to inventing Hare
Anonymous No.105627038
>>105624217
usecase for QBE is it lets you build Hare
hard to think of a better usecase for software
Anonymous No.105627059 >>105627067
>>105604073 (OP)
Buy an ad.
Anonymous No.105627067 >>105633825
>>105627059
Fuck off. This is a technology board and Drew is one of the leading FOSS developers and Hare is an excellent language.
Go back to /mlp/ rustranny
Anonymous No.105627391
>>105617641
Hare fixes C's rough edges while maintaining loyality to C's principles
Anonymous No.105627491 >>105629273
How do you debug a Hare program?
GDB says it can't find the source file.
Help.
Anonymous No.105627681
>>105617623
>QRD on tagged unions?
See >>105617876
They are quite powerful for dynamic dispatch without vtables
Anonymous No.105628048
>>105616108
I think Hare is a great learning language
Anonymous No.105628203
>all of the features of C with one millionth of the user base as C
wow, sign me up
Anonymous No.105628321 >>105628394 >>105628614
Can I make games with Hare?
Anonymous No.105628394
>>105628321
Not on Windows.
Anonymous No.105628404
>>105604073 (OP)
Hello Drew
Anonymous No.105628614 >>105628962
>>105628321
You sure can. There is plenty bindings for both 2D and 3D

Rendering:
https://git.sr.ht/~evantj/hare-raylib
https://git.sr.ht/~sircmpwn/hare-sdl2
https://sr.ht/~vladh/hare-gl
https://sr.ht/~vladh/hare-vulkan

Math:
https://sr.ht/~vladh/hare-glm
https://git.sr.ht/~sircmpwn/hare-vec

Resource parsing:
https://sr.ht/~vladh/hare-obj
Anonymous No.105628849
>>105623125
Good riddance.
Anonymous No.105628962 >>105631083
>>105604073 (OP)
>>105612871
>>105628614
buy an ad
Anonymous No.105629235
>>105620158
When will Godbolt support Hare so I can compare optimizations?
Anonymous No.105629273
>>105627491
Did you use the -g flag?
Anonymous No.105629286
NOOOOOOOO DO NOT SURVEIL MEINE BUNNEI
Anonymous No.105629561
>>105619617

Based bunny lover
Anonymous No.105629729 >>105629893
>>105604507
In order to implement incremental compilation they need their own custom backends and linkers, so they can't use QBE.
Anonymous No.105629893 >>105647816 >>105648488
>>105629729
I see. I was certain that QBE supports compiling to .o files though, and aren't .o files incremental compilation?
Anonymous No.105629913 >>105630609
>>105619510

(((Lisp)))
Anonymous No.105630609
>>105629913
Lisp is great for gamedev tho ...
Anonymous No.105631083 >>105633825
>>105628962
Drew shouldn't have to buy an ad to post on a technology board. We should all be thanking him for his wonderful inventions and his efforts to keep the tech community safe.
Anonymous No.105631125
>>105620930
If a variable in Go is captured by a lambda it doesn't actually get allocated on the stack. The compiler figures out what should get allocated on the heap instead of the stack through escape analysis. It does that for lambdas, but also for stuff like returning a pointer to a variable declared in a function.
Anonymous No.105631133 >>105631161 >>105638297
Comfy Hare Users Discussion

You were so close
Anonymous No.105631161
>>105631133
Hare is goverened by a no-chud coc
Anonymous No.105631510 >>105631675 >>105632939 >>105637965
Buy an ad or actually work on Hare.
Can't even run on Windows and Mac port is dead. It's maintainer has stopped using Github where it's hosted. Hare repo looks very quiet too. LSP dead as well.
Literally they spend more time shitposting here than actually developing Hare.
Anonymous No.105631675 >>105632016 >>105632760 >>105646999
>>105631510
Are you retarded? He already said it won't be officially ported to closed source OSs
Anonymous No.105632016 >>105632366
>>105631675
Drew says all kinds of things, like 14yos girls should be forced to put IUD in their pussies. Doesn't mean it's a good idea
Anonymous No.105632366 >>105633178 >>105633212 >>105633855
>>105632016
Drew never said that. This is just the lengths rustrannies will go to stop Hare.
Anonymous No.105632760
>>105631675
Officially, yes. But there will be unoficial ports
Anonymous No.105632939 >>105633041
>>105631510
I managed to compile harec on Windows but none of the standard library and runtime works right now.
Anonymous No.105633041 >>105636434
>>105632939
Can you share? Does QBE even support PE format yet?
Anonymous No.105633178 >>105634113
>>105632366
Are you a newfag or what? It was everywhere around a year ago. Because it came out Drew stopped spamming his stuff for months.
Anonymous No.105633212 >>105634113 >>105637253
>>105632366
https://dmpwn.info/
Seems it's still up. Around halfway on the page you can find it
Anonymous No.105633303 >>105633440 >>105637631 >>105639662
>However, the upstream standard library does not make reentrancy guarantees, so you are solely responsible for not shooting your foot off.

Is this language a joke?
Anonymous No.105633440
>>105633303
Yep. Drew has some good stuff but he is also deranged and won't do the boring stuff. He works a lot to make a cool thing, then drops it, spams it everywhere and hopes someone else fixes it and does the boring stuff.
Anonymous No.105633825
>>105631083
>>105627067
Lmao, are you even trying Drew?
Anonymous No.105633855 >>105633907 >>105634113
>>105632366
Holy shit, the samefag (actually Drew, btw) is spamming this thread
Anonymous No.105633907 >>105634139
>>105633855
The only spammer I see ITT is the DDS spammer
Anonymous No.105633914
>>105604073 (OP)
pedo language
Anonymous No.105633995 >>105634022 >>105639968
>>105604073 (OP)
Buy an ad Drew
Anonymous No.105634022 >>105636921
>>105633995
Drew already buyed an add. See https://www.youtube.com/watch?v=2E3E_Rh3mvw
Anonymous No.105634113 >>105635226 >>105638012 >>105640510
>>105633178
>>105633212
>>105633855
I told you, that's just a rustranny op to ruin Drew's good name. You're falling for it. Maybe it's the mixture of HRT and AIDS swirling around your dumb fucking brain preventing you from reading what I said.
Anonymous No.105634139 >>105636194 >>105640525
>>105633907
Right? What is it about Drew that makes all of these crabs freak out. It seems like they just cannot handle someone not using their language, just like how they freak out when you don't use their pronouns.
DDS is real and everyone that has it should rethink their life. You will never contribute as much to FOSS as Drew.
Anonymous No.105635226
>>105634113
Why can't they get their own generals?
Anonymous No.105636194 >>105636799
>>105634139
They will never be Drew. They will always be nocoders.
Anonymous No.105636434
>>105633041
QBE outputs assembly.
Anonymous No.105636799
>>105636194
Nocoders and Rustrannies, yes.
Anonymous No.105636921
>>105634022
I love tsoding so much bros ...
Anonymous No.105637253
>>105633212
Holy autism
Anonymous No.105637471 >>105639330
>>105621781
Do we have namespaces? or do the individual types need to pollute global
Anonymous No.105637631
>>105633303
Why would that mean it is a joke?

Threads are advanced usecase and in such usecase, you can simply link with glibc and use the cstdlib.
Anonymous No.105637940 >>105639330
> we have no features out of c
> we have tagged unions
> implemented exactly like it is in c
retarded language
Anonymous No.105637965
>>105631510

Do you know where you are? Why would anyone on /g/ run windows or mac?
Anonymous No.105638012 >>105638066 >>105641120
>>105634113
Are you an unironic schizo or what? Crabs rent free in your head? Drew dropped and abused you but you think if just defend him long enough he'll come back?
Even Drew dropped Hare already. Lately he's chimping about labour laws and unions. Maybe he plans to go into politics
Anonymous No.105638066 >>105638121
>>105638012
I mean.. he has a point, though. unironically a good idea.
Anonymous No.105638068 >>105639394 >>105639458 >>105639465 >>105639495 >>105640497
>>105617876

Neither Rust nor Hare will ever be cleaner than

enum Shape {
case circle(radius: Double)
case rectangle(width: Double, height: Double)
case triangle(base: Double, height: Double)


func area() -> Double {
switch self {
case .circle(let radius):
return Double.pi * pow(radius, 2)
case .rectangle(let width, let height):
return width * height
case .triangle(let base, let height):
return 0.5 * base * height
}
}
}
Anonymous No.105638121
>>105638066
That's acceptable opinion yeah. Calling it fake to ruin Drew's good name isn't, which is the usual Drew bot tactic
Anonymous No.105638297
>>105631133
/chug/ sounds better than /chud/
Anonymous No.105639330 >>105639403
>>105637940
In C you don't have match and | you retarded zoomer
>>105637471
Yes there is namespaces using the same system as in Go
Anonymous No.105639394
>>105638068
perfection
Anonymous No.105639403 >>105639450
>>105639330
MATCH AND |?
We gotta start a new fucking language for this holy hell
Anonymous No.105639450 >>105641961
>>105639403
Yes, actually. You are a dumb nocoder but these two features alone are a life changer
Anonymous No.105639458
>>105638068
Hare looks cleaner because it separates declarations
Anonymous No.105639465 >>105639495
>>105638068
In Kotlin, this is just
sealed class Shape {
data class Circle(val radius: Double) : Shape()
data class Rectangle(val width: Double, val height: Double) : Shape()
data class Triangle(val base: Double, val height: Double) : Shape()

abstract fun area(): Double
}

fun Shape.area(): Double {
return when (this) {
is Shape.Circle -> Math.PI * radius * radius
is Shape.Rectangle -> width * height
is Shape.Triangle -> 0.5 * base * height
}
}
Anonymous No.105639495 >>105646881
>>105639465
>>105638068
>OOP
Fucking yikes.
Anonymous No.105639498 >>105646432 >>105646917
Why is Hare spammed nonstop but there is no development on Hare? It's a cool language if they actually worked on it and improved it but they never do. Too much is "out of scope" to actually be useful for anything.
Anonymous No.105639662
>>105633303
No, 99% of programs for systems dev don't need threads anyway
Anonymous No.105639968
>>105633995
This is not reddit
Anonymous No.105640363
I refuse to call myself a harist
Anonymous No.105640497 >>105640555
>>105638068
in lean4 it is

inductive Shape where
| circle : Float -> Shape
| rect : Float -> Float -> Shape
| tria : Float -> Float -> Shape

def Shape.area : Shape -> Float
| .circle radius => pi * (radius ^ 2)
| .rect w h => w * h
| .tria b h => 0.5 * b * h
Anonymous No.105640510 >>105641120
>>105634113
You seem ignorant about Drew, he's the trannies leader
Anonymous No.105640525 >>105641120
>>105634139
What? You're talking about the same Drew I know?
Anonymous No.105640555 >>105640570
>>105640497
>language is called lean
>check inside
>bloat
Nice meme.
Anonymous No.105640570 >>105640607
>>105640555
where ?
Anonymous No.105640607 >>105640733 >>105646039
>>105640570
>cmake is involved
>docker and nix options
That's not lean at all.
>b-b-b-but
BLOAT
Anonymous No.105640709 >>105640739
>>105604073 (OP)
How come that only Russians seem to use this language? I keep seeing Vlads and then there is Tsoding too
Anonymous No.105640733
>>105640607
okay retard
Anonymous No.105640739
>>105640709
`p possesion is legal in russia
Anonymous No.105641120 >>105641137 >>105641144
>>105638012
>>105640510
>>105640525
Drew derangement syndrome is real. (You) keep coming here to spread these conspiracy theories, obviously part of the Crab Internet Defense Force that is triggered by a superior C replacement.
Anonymous No.105641137
>>105641120
>Crab Internet Defense Force (CIDF)
KEK
Anonymous No.105641144 >>105642750
>>105641120
They are afraid that a language with 1000x smaller team using an entirely new experimental QBE backend will completely BTFO their unreadable slop of a language
Imagine how humiliating that would be for crabsisters ...
Anonymous No.105641473
>>105604073 (OP)
We should do the next AoC in Hare together /chug/ bros ...
Anonymous No.105641961 >>105642081 >>105643486
>>105639450
and instead of working to get them in new c versions you made a new language? also c has bitwise or unless I'm misunderstanding what you mean by |
Anonymous No.105642081
>>105641961
The | in Hare is more like | in Ocaml. It tells the list of types that a tagged union can contain
Also C will never get rid of headers and it will never have namespaces because it would break old code. Also, Hare doesn't use glibc which should make Hare programs much more stable. I can compile a Hare program and it will work on any Linux system!
Anonymous No.105642750 >>105645494
>>105641144
Only Nixon can go to China and only Drew can BTFO Rustrannies.
Anonymous No.105643486 >>105644837
>>105641961
>o get them in new c versions you made a new language
In order to support pattern matching and anonymous tagged unions you have to either rewrite parts of C compiler or modify the runtime

If you also want to add the module system, slices and nonullable pointers you basically are writing a new language and you end up with hare
Anonymous No.105644837
>>105643486
This. It would be hard
Anonymous No.105645494
>>105642750
This.
Anonymous No.105646039
>>105640607
>CMAKE
Jesus, do people still use this thing?
Anonymous No.105646322 >>105659330
>>105608970
Stunning, brave and in-your-face even!
Anonymous No.105646432
>>105639498
There is a lot of development on Hare. check out the blog
Anonymous No.105646881
>>105639495
So?
Anonymous No.105646917
>>105639498
There will be a functioning kernel in Hare before there is one in Rust. Screencap this.
Anonymous No.105646999 >>105647017 >>105658805
>>105631675
That's because Drew is too dumb to work directly on the QBE codebase and is pretending he is taking some sort of moral stand when in reality his choice of backend didn't support it to begin with. There's also few people capable or interested in doing the work to add it to QBE, a codebase with almost zero comments and obfuscated with lots of single letter variables. It is also utterly dependent on GCC since all QBE can generate is AT&T assembly text. What a winning choice to base anything remotely serious on.

Most of the shills here pushing this must surely be irony posting.
Anonymous No.105647017 >>105647042 >>105647764 >>105658352
>>105646999
When has drew EVER made anything for Windows?
Anonymous No.105647042
>>105647017
Gee, Truecraft had Windows builds. Nice try, but you're trying to deflect from the fact he built his house on a dogshit dildo and couldn't do it even if he 'wanted to'.
Anonymous No.105647084 >>105657879
>Andrew depedo
Nah he's gonna get v& eventually and this will be abandoned
Anonymous No.105647764
>>105647017
His Minecraft clone
Anonymous No.105647816 >>105648709
>>105629893
Zig is implementing incremental compilation at an extremely granular level, they compile the entire program as a single compilation unit, and they'll also patch the binary in-place instead of re-emitting a whole binary.
Anonymous No.105648488 >>105650800 >>105657452
>>105629893
QBE only generates AT&T assembly text. It is inherently tied to the GCC compiler. It's a really dumb thing for you to tie your language to, but the retards on this board have the 'LLVM is slop' meme and blindly cling to alternatives without realizing their own shortcomings.
Anonymous No.105648709
>>105647816
>they compile the entire program as a single compilation unit
The whole program is one .o file??
Holy shit what retardation.
Anonymous No.105648713
>>105604073 (OP)
So what is the use case for hare?
Anonymous No.105648719 >>105649469
>>105604472
>Russia
>he him
I see even the trad and based Russia cannot escape the pronoun boys
Anonymous No.105648725
Is this the thread in which US posters pretend to be oh so Russian fans?
Anonymous No.105649469 >>105650159 >>105656991
>>105648719
>NOOOOO LE BASED DADDY PUTIN WHO SAYS THE WEST HAS FALLEN WOULD NEVER ALLOW THIS REEEEEEEEEEEEEEEEEEEE THIS IS F-FAKE LIBTARDED POZZED KIKE NEWS MOOOOOOOOOOOOOOOODS DELETE THIS NOW
Anonymous No.105650159 >>105651595 >>105651821
>>105649469
Why does he make you mad so much?
Most people on 4chan like Putin, especially non western posters
Anonymous No.105650800 >>105658464
>>105648488
I am pretty sure I saw some .o files when installing hare with make
Anonymous No.105650819 >>105652049 >>105652063
I was thinking about rewriting the C programming book but for Hare. Anyone want to help?
buy and ad No.105651091 >>105656373
see name
Anonymous No.105651595
>>105650159
>n-nn-no this is my sekrit Z fag club!!
>NOOOO
Anonymous No.105651821 >>105652473 >>105652890
>>105650159
>the "people" in question
Anonymous No.105652049
>>105650819
Holy based
Anonymous No.105652063 >>105653309 >>105655785
>>105650819
yeah chatgpt probably interested. this isnt the exciting kinda endeavour anymore
Anonymous No.105652473 >>105652640
>>105651821
you will not win any hearts with blatant racism, ukiebro
Anonymous No.105652640 >>105655046
>>105652473
lmao, sneed zigger
Anonymous No.105652890
>>105651821
>>the "people" in question
Anonymous No.105653309 >>105654223 >>105658255
>>105652063
I doubt chatGPT can help you produce a high quality (or any quality in this case) textbook of such an obscure language
Anonymous No.105654223
>>105653309
o3 + research definitely can
Anonymous No.105654742
Hare just works??
Anonymous No.105654891
That seems pretty good.
Anonymous No.105655046 >>105657629
>>105652640
>sneed
You have to be 18+ to post here
Anonymous No.105655785
>>105652063
Why is it not exciting?
Anonymous No.105656373
>>105651091
Do you post this in other lang threads? No? you have DDS
Anonymous No.105656991
>>105649469
I mean he is based ...
Anonymous No.105657452
>>105648488
Holy shit I didn't even know AT asm existed. What a mess.
Anonymous No.105657629
>>105655046
t. newfag
Anonymous No.105657879
>>105647084
Two more weeks sister!
Anonymous No.105658144 >>105658232 >>105662901
>>105604073 (OP)
>no support for windows and macos
Dead on arrival. And I say that as a Linux user. Damn shame.
Anonymous No.105658167
>>105609218
I mean, if the compiler gives you an error when you try to use it wrong then that's more than enough to be a useful language feature.
Anonymous No.105658232
>>105658144
C has no official Windows support either. Anybody can support it.
Anonymous No.105658255
>>105653309
But it doesn't have to. The text book is already made. You just need to make some small substitutions and maybe an extra chapters
Anonymous No.105658352
>>105647017
No, and that is a good thing.
Anonymous No.105658464 >>105659026 >>105659170
>>105650800
I am pretty sure you didn't bother to look at QBE at all nor read the Makefile for Hare which uses an external cc, as and ld. You must have also skimmed Hare's docs and thought nothing of it.

> https://c9x.me/compile/
> compile it with: qbe -o out.s file.ssa && cc out.s

> https://harelang.org/documentation/install/bootstrap.html#bootstrap
> Hare depends on the following: A POSIX-compatible environment with a C11 compiler

> https://harelang.org/documentation/install/packaging.html
> Hare depends on a POSIX-compatible C11 environment, and our compiler backend, qbe.
Anonymous No.105658805
>>105646999
That would be funny if that was the case, but drew did fight a lot for FOSS so I don't think he is joking.
Anonymous No.105659026 >>105668015 >>105669839
>>105658464
>depends on C11
Anonymous No.105659170
>>105658464
This is harec. I meant the tool chain which is written in Hare
Anonymous No.105659330 >>105659427 >>105664068
>>105646322
You cannot gorepost on blue board ...
Anonymous No.105659427
>>105659330
This
Anonymous No.105659602 >>105660313
>>105604073 (OP)
Hare will be the next big thing
Anonymous No.105660313 >>105660758 >>105663013 >>105669555
>>105659602
Next to no substancially unique features
No windows support
No LLM knows the language, syntax, ecosystem like python/js

next big thing my ass
Anonymous No.105660758 >>105661304 >>105679323
>>105660313
LLM are overrated and the good ones will know anyway...
Anonymous No.105661263
>>105604140
Zig is doing badly.
Anonymous No.105661304 >>105669017 >>105678994
>>105660758
If the project truly commits to Being complete at version 1 then The LLM would never have to learn a new Thing ever again. We could have the singular programming LLM that just Knows. No "This function was deprecated use this instead"

but really the same can be said of c which likely will also never change (At least as Much as the javaScript / react EcoSystem)
Anonymous No.105662901 >>105670211
>>105658144
This is actually a feature, not a bug
Anonymous No.105663013 >>105663517 >>105666918 >>105668392
>>105660313
ANGRY crab can't VIBECODE
Anonymous No.105663517 >>105665452 >>105678571
>>105663013
huh? no one vibe codes outside of web dev and single file simple programs
Anonymous No.105663710 >>105671160
>>105604073 (OP)
hi chug!
Anonymous No.105664068 >>105668741 >>105678219
>>105659330
Huh, what gore? He's clearly having fun, it's comfy, it says so right there in the banner.
Anonymous No.105664908
Use case?
Anonymous No.105664937 >>105671586
>>105606523
truew zig is obsessed w/safetey
Anonymous No.105665452 >>105666918
>>105663517
Then why do you care that muh llms don’t support it?
Anonymous No.105665861
>>105604073 (OP)
Hare is a great language honestly.

It is insane how just a small ammount of syntactic sugar makes C into a God tier language.
Anonymous No.105666789
What are you working on, /chug/?
Anonymous No.105666918
>>105663013
Does you language truly not have a usp? am i invading a safe space for people who got bullied out of rust?

>>105665452
for adoption. people don't create stack overflow questions anymore and "how to do complex thing in new language" is not something the llm knows/will know at least for a while after at least some adoption and data creation
Anonymous No.105668015 >>105677862
>>105659026
Yes?
Anonymous No.105668392
>>105663013
Kek, true
Anonymous No.105668741 >>105673714 >>105676265 >>105677497
>>105664068
Why do you have gay memes saved on your computer, """straight""" bro?
Anonymous No.105669017
>>105661304
Yes, I like projects like that. "evolution, not revolution" as C3 dev said. Not like Zig and Rust who can't decide on what they want to be and change everything with every minor release.
Anonymous No.105669555
>>105660313
>next to none new features
Stopped reading there. Hare has plenty of new features.
Anonymous No.105669839
>>105659026
Are you familiar with bootstrapping?
Anonymous No.105669911
Cute mascot
Anonymous No.105670211
>>105662901
Pretty much. It allows the language to focus on important parts. Once Hare gets wedely addopted (not if but when), there will be 3rd party support for Windows as well.
Anonymous No.105671160
>>105663710
Nice car, what brand?
Anonymous No.105671586 >>105677076
>>105664937
Yes, it is becoming a second Rust ...
Anonymous No.105672194 >>105676688
>>105604140
I literally came to /g/ to ask this question. i am glad i dipped it when they made unused variables error.
Anonymous No.105673714 >>105675844
>>105668741
It's based and trad, not gay.
Comfy even, dare I say?
Anonymous No.105674322
Bump
Anonymous No.105675844
>>105673714
Why does Russia make you seethe SO MUCH??
Anonymous No.105676265
>>105668741
Kek
Anonymous No.105676688
>>105672194
I don't get why this should be an error
Anonymous No.105677076
>>105671586
This. It makes it very hard to prototype.
Anonymous No.105677497 >>105680413
>>105668741
Because /k/ is a gay central ...
Anonymous No.105677862
>>105668015
???
Anonymous No.105678219
>>105664068
>what is gore?
actual retard
Anonymous No.105678253 >>105678572 >>105680405
itt: a bunch of mod-supported shills gaslight /g/ into thinking this retarded vanity project has any relevancy or a future
Anonymous No.105678571
>>105663517
Oh you sweet summer child ...
Anonymous No.105678572
>>105678253
>mod supported
???
Anonymous No.105678994
>>105661304
Yes, it is very important that Hare 1.0 is completed.
Anonymous No.105679034 >>105680416
Hare 0.25.2 has just released. Thoughts?
Anonymous No.105679323
>>105660758
This.
Anonymous No.105679492 >>105680401
forgive me for pessimism but wouldn't it be funny if we never reached the 1.0 release that locks the language features? i would laugh. like i would go hahaha
Anonymous No.105680401
>>105679492
No, that woudln't be funny, it would be sad.
Anonymous No.105680405
>>105678253
Hare has exactly as much future as there are people willing to work in it. I am willing.
Anonymous No.105680413
>>105677497
LMAO aint that the truth
Anonymous No.105680416
>>105679034
Holy shit, you are correct! Can't wait to check it out
Anonymous No.105680461
NEW THREAD

>>105680443
>>105680443
>>105680443
Anonymous No.105680516
A drewish trick??