vi, to random
@vi@mastodon.social avatar

Welp... got distracted with learning last night and started porting my password/otp manager "fulla" to hare from go. So far I only implemented parsing an .fsv file.

Looks like I get to be impatient waiting for 32-bit arm support in hare as well now.

mallory, to random

Rust has rustaceans, Go has gophers. What are users of called?

gregorni, to programming
@gregorni@fosstodon.org avatar

What does your development environment look like right now?

(IDE/Text Editor? Terminal Multiplexer? Package Manager? Shell? Programming Language? Containerization? Command Runner? Terminal Emulator?)

blainsmith,
@blainsmith@fosstodon.org avatar

@gregorni

Editor:
Terminal emulator: terminal
Terminal multiplexer:
Shell:
Linux Desktop: @system76 !
Langs:
DB:
Containerization:
SCM:

modev, to programming
@modev@emacs.ch avatar

Personally, I have nothing against the emergence of new languages. This is cool:

  • the industry does not stand still;
  • competition allows existing languages to develop and borrow features from new ones;
  • developers have the opportunity to learn new things while avoiding ;
  • there is a choice for beginners;
  • there is a choice for specific tasks.

But why do most people dislike the :clang: so much? But it remains the fastest among high-level languages. Who benefits from C being suppressed and attempts being made to replace him? I think there is only one answer - companies. Not developers. Developers are already reproducing the opinion imposed on them by the market. Under the of hype and the opinions of others, they form the idea that C is a useless language. And most importantly, oh my god, he's unsafe. Memory usage. But you as a are (and must be) responsible for the you write, not a language. And the one way not to do bugs - not doing them.

Personally, I also like the :hare_lang: . Its performance is comparable to C, but its syntax and elegance are more modern.

And in general, I’m not against new languages, it’s a matter of taste. But when you learn a language, write in it for a while, and then realize that you are burning out 10 times faster than before, you realize the cost of memory safety.

This is that cost:

holgerschurig,

@modev

Personally, I also like the :hare_lang: . Its performance is comparable to C, but its syntax and elegance are more modern.

That exactly why I like https://nim-lang.org/ --- it's IMHO much more mature than Hare and offers more targets (e.g. compile to C, C++, JavaScript, WASM or various embedded devices).

hare, to archlinux
@hare@fosstodon.org avatar

Hare v0.24.0 released on Arch Linux AUR.

https://aur.archlinux.org/packages/hare

Try Hare today.

sekenre, to random
@sekenre@fosstodon.org avatar

I made some noise!

Value Noise that is...

#HareLang #Raytracing #recreationalprogramming

blainsmith, to random
@blainsmith@fosstodon.org avatar
omenos, to programming
@omenos@fosstodon.org avatar

Decided to try and compare the general base program size of several languages. I wrote a handful of Hello World programs, and stripped them of everything. Here's the final results in KiB:

strip -s -o ${lang}_strip
du *_strip

C: 16
C++: 76
Go: 1204
Hare: 220
Rust: 352

#c

blainsmith, to random
@blainsmith@fosstodon.org avatar

Really good video about Hare from @drewdevault

The more I see stuff like this the more I believe in the future of the language.

https://www.youtube.com/watch?v=42y2Q9io3Xs

bins, to random
@bins@mamot.fr avatar

Hey @hare,

The latest blog post made me look back at Hare. This is getting nicely together.

One thing came up while rereading the docs : what's the story or plans wrt multithreading and coroutines ?

hare, to random
@hare@fosstodon.org avatar

Hare 0.24.0 released, and Hare's new release policy
February 16, 2024 by Drew DeVault @drewdevault
https://harelang.org/blog/2024-02-16-hare-0.24.0-released/

drewdevault, to random
@drewdevault@fosstodon.org avatar

Writing a little finger client & server is a good exercise for anyone thinking about their first program

hare, to random
@hare@fosstodon.org avatar

New debugging features coming to Hare
February 1, 2024 by Drew DeVault @drewdevault
https://harelang.org/blog/2024-02-01-debugging-features/

rmathew, to zig
@rmathew@mastodon.social avatar

A little too cursory, but still interesting:

“My Impressions Of Hare”, ‘vfoley’ (https://vfoley.xyz/hare/).

Via Lobsters: https://lobste.rs/s/pdivx4/my_impressions_hare

On HN: https://news.ycombinator.com/item?id=39142154

blainsmith, to golang
@blainsmith@fosstodon.org avatar

I'm available for hire. If there is anything you need or anyone else you know needs that I'd be a good fit for then let me know!

http://rblgk.com

sekenre, to random
@sekenre@fosstodon.org avatar

Had some more time to work on my SDF ray-marcher in

Original post: https://fosstodon.org/@sekenre/111392965420478928

I have implemented a couple of noise textures for the sphere. My favourite so far is the spherical Voronoi Noise:

omenos, to random
@omenos@fosstodon.org avatar

Back to work on packaging @hare for @fedora, let's see how much I can bang out in a few hours. The resulting artifacts are going to be fairly simple, but not particularly packager friendly. That's a day-2 project.

omenos,
@omenos@fosstodon.org avatar

@hare @fedora @centos Hot off the press, any volunteers willing to test out the latest toolchain build from my COPR? It provides and builds for , , and .

$ dnf copr enable mroche/hare
$ dnf install hare

Some other changes:

  • New cross-compile meta packages for and dependencies.
  • I've created a convenience script, harex, to switch to non-GNU toolsets. Just set HARE_XCOMPILE_TOOLCHAIN to "llvm". User specified env vars will still be respected.
blainsmith, to random
@blainsmith@fosstodon.org avatar

The final demo I gave at the end of the semester of my text adventure game, Ævintýri.

I cover the basics of the game and the motivation behind doing this project. Hare also gets a highlight at the end.

I'll be doing a longer blog post about more of the details that went into making it and open sourcing it.

https://youtu.be/CWLs5Vb6Wmc?si=ODgLvULwxgvPovT6

blainsmith, to linux
@blainsmith@fosstodon.org avatar

Working ICMP filter CLI you can attach to any interface you give it.

> ./sniff -i 3

https://git.sr.ht/~blainsmith/hare-bpf/tree/main/item/cmd/sniff/main.ha

tristan957, to zig
@tristan957@fosstodon.org avatar

Writing my first code, and I can already tell this is going to be a struggle. So much syntactic sugar. Makes look easy to write in comparison.

All I want is a better C. So far seems like the winner there.

still takes the cake as the worst language I had to write today. Though shoutout to the Perl fediverse community for being helpful people!

changelog, to foss
@changelog@changelog.social avatar

💥 New Changelog interview!

This week we’re joined by @drewdevault, talking about the Hare programming language 🐇

We discuss Hare (of course), why he’s so passionate about all things open source, the state of the language, fostering a culture that values stability, and oddly enough — what it takes to make a peanut butter and jelly sandwich 🥪

We hope you enjoy it! 🎧 https://changelog.fm/569

hare, to random
@hare@fosstodon.org avatar

Porting Hare to OpenBSD
December 1, 2023 by Lorenz (xha) @xha
https://harelang.org/blog/2023-12-01-porting-hare-to-openbsd/

latenightowl, to random

I'm really bad at both Hare and regex, but I assume the stdlib should not be crashing when I put in something that is perfectly valid in Python and regex101, right?

Abort: regex/regex.ha:516:41: slice or array access out of bounds
Aborted (core dumped)

hare, to fedora
@hare@fosstodon.org avatar

Hare on Copr (Fedora) 🐰 ➕ :fedora:

Now available as a Copr package:
https://copr.fedorainfracloud.org/coprs/mroche/hare/

Try Hare today:
https://harelang.org/installation

Add Hare to your distro:
https://harelang.org/distributions/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • rosin
  • ngwrru68w68
  • tacticalgear
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • slotface
  • everett
  • vwfavf
  • kavyap
  • megavids
  • khanakhh
  • anitta
  • GTA5RPClips
  • cisconetworking
  • InstantRegret
  • ethstaker
  • osvaldo12
  • tester
  • provamag3
  • modclub
  • cubers
  • normalnudes
  • JUstTest
  • All magazines