this post was submitted on 27 Mar 2024
48 points (100.0% liked)

chapotraphouse

13198 readers
375 users here now

Banned? DM Wmill to appeal.

No anti-nautilism posts. See: Eco-fascism Primer

Vaush posts go in the_dunk_tank

founded 3 years ago
MODERATORS
 

Seriously. There’s so many floating around. It feels like there’s a cycle of

Random programmer thinks xyz language sucks -> she/he makes a slightly different, slightly faster, slightly more secure version -> by luck this gains mass adoption-> random programmer thinks new xyz language sucks

I propose when the revolution comes and the last guillotine falls we decide a general-purpose programming language that coders should stick to. I vote Lisp or any of the dialects (scheme, clojure, racket), but i also feel something about the Julia language for scientific research. Maybe we can decriminalize using C. Absolutely ban and hunt down the use of any of the hipster languages teenagers are into these days.

Nim? Zig? Crystal?? I am absolutely losing my damn mind. It compiles to bytecode people. Make up ur damn minds. To jail with all of u

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 7 months ago* (last edited 7 months ago) (3 children)

Yeah literally mostly all I want is a better C with less weird quirks and undefined behavior, may as well drop null-terminated strings except for compatibility too, maybe some kind of memory-safety mechanism too, ooh also better support for multi-dimensional arrays

Rust was kinda like that until it became the better C++

Maybe in 10 years someone will be designing a better Rust because they made the same mistakes of C++ and forced so much shit into it it's extremely difficult to write any new, better implementations and port to new systems

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

If you like this idea I've been watching this project closely and you might want to too:

https://harelang.org/

[–] [email protected] 2 points 7 months ago (1 children)

Yeah literally mostly all I want is a better C with less weird quirks and undefined behavior, may as well drop null-terminated strings except for compatibility too, maybe some kind of memory-safety mechanism too, ooh also better support for multi-dimensional arrays

I think maybe Zig fits the bill here? It doesn't seem to have anywhere near the memory safety that Rust has tho.

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago)

Ooh I've heard of this but at some point years ago I decided it wasn't for me for some reason... I'm gonna give it another look though, thank you

It doesn't seem to have anywhere near the memory safety that Rust has tho.

I don't mind tbh, Rust has a ridiculously elaborate but effective compile-time static analyzer that has developed over years and years. Pretty difficult to replicate lol

Edit: I just realized the OP listed Zig as a hipster language teenagers are into oooaaaaaaauhhh

[–] [email protected] 2 points 7 months ago

Zig and Hare are both vying for the better-C category these days.