51
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

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

top 50 comments
sorted by: hot top new old
[-] [email protected] 41 points 1 year ago

When the revolution comes we need to unify tools

Hammer? Screwdriver? Spanner? One of these should be enough

[-] [email protected] 16 points 1 year ago

Single handle with interchangeable heads.

[-] [email protected] 39 points 1 year ago
[-] [email protected] 33 points 1 year ago

All these cutting edge new languages are just wrappers around the same C libraries some anonymous grad students wrote in the 70s funded by some tiny government grants.

[-] [email protected] 25 points 1 year ago

"You could not live with your own failure. Where did that bring you? Back to C."

[-] [email protected] 19 points 1 year ago

All these cutting edge new languages are just wrappers around the same assembly code by Kathleen Booth in the 1940s for her university computer.

load more comments (1 replies)
[-] [email protected] 31 points 1 year ago

part of project 2025 is making javascript the only programming language

[-] [email protected] 14 points 1 year ago

Never thought I'd say this, but we gotta vote Biden.

[-] [email protected] 28 points 1 year ago
[-] [email protected] 6 points 1 year ago
[-] [email protected] 5 points 1 year ago

Rust got trans women's seal of approval, that's how you know it's the real deal.

[-] [email protected] 5 points 1 year ago
load more comments (1 replies)
[-] [email protected] 24 points 1 year ago
load more comments (1 replies)
[-] [email protected] 21 points 1 year ago

Can we ban all tools that aren't hammers while we are here?

[-] [email protected] 17 points 1 year ago

After the revolution we should just unify english. Theres so many spoken languages around.

[-] [email protected] 16 points 1 year ago

Hearies when there's more than one sign language type beat

load more comments (3 replies)
[-] [email protected] 15 points 1 year ago

Language design and theory has made some legitimate gains over the past couple decades. And different languages have different strengths suited for different problems. I think the issue is that even people who agree with this aren’t gonna agree on the language to standardize on. It’s the XKCD comic.

[-] [email protected] 13 points 1 year ago

there are 28 coding languages

"We need to invent a universal language that brings all these together so everybody can just use one"

there are 29 coding languages

load more comments (1 replies)
[-] [email protected] 11 points 1 year ago

And then we can use our unified programming language to write a program so tall it breaches Heaven itself

load more comments (1 replies)
[-] [email protected] 9 points 1 year ago

Yeah I program in WebAssembly, what about it?

load more comments (1 replies)
[-] [email protected] 8 points 1 year ago

learn more languages - it makes the code you write more effective on the human level. like learning Haskell taught me how to conceive of ideas that you would just solve by duplicating code or building a shitty interface that falls apart when you need to combine it with anything else. code is math and code is a means by which you communicate with other people. and you need to learn to express yourself in more ways in order to come to a deeper understanding of both of those facets.

I don't want fewer languages. I want more diversity and more experimentation. I'd love to see more domain-specialized languages that borrow ideas from the more academic languages and refine them. look at Elm and how much ground it broke - so much so that it's impacted how new javascript UI frameworks are designed. but Elm couldn't exist without languages like Haskell and Ocaml. and those couldn't exist without ML, Miranda, etc, etc.

putting limits on human creativity defeats the entire purpose of the left. we dream of being unshackled, of the genuine freedom that can only come from the defeat of capitalism and the dawn of a new, socialist political economy. perhaps if one day I write a better Lean, it will inspire someone to write a web language that brings proofs into the developers' lexicon and we will all have less shitty, poorly conceived, brittle code to maintain. and maybe you'll inspire me with a great idea of your own.

load more comments (1 replies)
[-] [email protected] 6 points 1 year ago* (last edited 1 year ago)

I like Guile with its compiler tower. You can use multiple languages on the same VM, even using libraries from one language on another, which is fucking cool. The core language for Guile is Scheme, and it supports standards from R4RS-R7RS, along with plenty of built-in SRFIs, some implemented out-of-tree and many of its own Guile-specific extensions.

For the compiler tower, so far we've got the aforementioned ballin' Scheme implementation, Emacs Lisp, an unfinished JavaScript implementation that doesn't even fully implement ES3, Brainfuck, Python, wonky Lua, and Guile-specific Clojure. Hopefully there's more to come and there's some I missed.

While the main purpose for the compiler tower is to lower a language into the IR (Tree-IL) (although you can lower a language into another language too, which then itself can be lowered into IR), which gets lowered to more verbose IR (CPS), then bytecode - we can also raise IR through decompilation. For example, Guile-JavaScript compiles Scheme to IR, then decompiles the IR and raises it to JavaScript.

Then there's also Guile Hoot, which I believe lowers the IR into WASM. In theory, when its complete, the above languages could work with Hoot and he compiled to Hoot, but I'm not entirely sure on this.

load more comments (12 replies)
[-] [email protected] 6 points 1 year ago

Terrible take tbh

You can pry Julia out of my cold dead hands but if you make me work with other people in it I'll start sobbing

[-] [email protected] 5 points 1 year ago
[-] [email protected] 4 points 1 year ago

Banning programming languages seems like a bad idea to me, humanity has come to regret all that language standardization and cultural genocide that happened with the imposition of one universal linguistic language. My official (so the communist position) on programming languages is let a thousand alternates to C+ bloom, then crush them all under the jackboot of the communist party. THEY WILL ALL BE THE LANGUAGE OF COMMUNISM!

[-] [email protected] 4 points 1 year ago

In my communist future it's all Torqur3D, Python, and BASIC. No, I do not know any of those.

[-] [email protected] 3 points 1 year ago

I'm only familiar with Python...

[-] [email protected] 7 points 1 year ago

Python will be outlawed unfortunately.

load more comments (1 replies)
[-] [email protected] 3 points 1 year ago

such decisions will be made scientifically, without the liberal farce of the voting ritual.

it's javascript

load more comments
view more: next ›
this post was submitted on 27 Mar 2024
51 points (100.0% liked)

chapotraphouse

13871 readers
766 users here now

Banned? DM Wmill to appeal.

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

Slop posts go in c/slop. Don't post low-hanging fruit here.

founded 4 years ago
MODERATORS