this post was submitted on 01 Nov 2023
97 points (100.0% liked)

Programming

423 readers
2 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

Assume mainstream adoption as used by around 7% of all github projects

Personally, I'd like to see Nim get that growth.

top 50 comments
sorted by: hot top controversial new old
[–] burliman@lemm.ee 57 points 1 year ago (10 children)
[–] maegul@lemmy.ml 12 points 1 year ago (2 children)

Sorry to say, but once I realised how euro-centric, and to my ear/eye, latin-centric esparanto is I completely lost interest.

I don't know if anyone has tried, but something which similarly draws influences from the languages that the vast majority of the world speak would be wonderful.

[–] burliman@lemm.ee 12 points 1 year ago (1 children)

You made me think of that xkcd about standards.

Anyway, the eurocentrism argument, while perhaps true due to the Latin root, seems to be a little bit of a savior complex don’t you think? China itself pushed for Esperanto to be used as a business language internally late last century as I recall.

[–] maegul@lemmy.ml 4 points 1 year ago (3 children)

savior complex

I don’t see that at all.

It’s about making a language that the maximum amount of cultures can see themselves in, can have at least some familiarity with, and feel like they’ve been acknowledged in the making of a global language … all of which is intended to get maximum buy in around the world to establish a truely international language rather than a Lingua Franca derived from hegemony.

Maybe China was interested in Esperanto for a bit, but I’m betting like most stories like that it’s heavily exaggerated or outright bogus.

load more comments (3 replies)
[–] Hawk@lemmynsfw.com 4 points 1 year ago

Who cares if it's European sounding, it's still an interesting language that is relatively easy to learn, even for people from non-romance backgrounds.

[–] match@pawb.social 11 points 1 year ago (1 children)
load more comments (1 replies)
[–] TheV2@programming.dev 4 points 1 year ago

What disrupted the fun for me:

  • the rules for articles before languages, countries and their people
  • everything sounds the same / easy to be misunderstood
  • not nearly as internationally approachable as it could be, though obviously that's almost impossible
[–] tun@lemm.ee 3 points 1 year ago

I think OP means programming language. Not the languages used by human to communicate each other.

[–] anothermember 3 points 1 year ago
load more comments (4 replies)
[–] tatterdemalion@programming.dev 43 points 1 year ago* (last edited 1 year ago) (3 children)

If we're saying 7% is the bar for mainstream, then Rust is my vote.

C# is not even mainstream by that standard.

I'd also like to see Julia used more.

[–] Hawk@lemmynsfw.com 3 points 1 year ago (4 children)

I personally find multiple dispatch far more challenging to use than OOP. I'd reach for Torch over Flux any day.

Although, I really like that the majority of the Flux stack is Julia rather than a collection of Cpp.

load more comments (4 replies)
load more comments (2 replies)
[–] copygirl@lemmy.blahaj.zone 26 points 1 year ago (2 children)

Zig hasn't been mentioned yet, so I'm just going to drop that here.

I personally have enjoyed the meta-programming, the ease of integrating with C libraries, and like that it's pretty straight-forward to compile.

[–] thingsiplay@kbin.social 7 points 1 year ago

Came here for Zig too. I never programmed anything in it other than hello world stuff. I think the world is waiting for the 1.0 release with complete tooling and package manager and a solid foundation that won't change too soon. I watched talks from Andrew and what this guy and his team is doing is amazing. It's a small team.

[–] otl@lemmy.sdf.org 6 points 1 year ago

Zig is what I thought Rust would be like when I first heard of Rust. I'd love to try Zig for some hobby things but can't get it running on OpenBSD (yet!).

Haskell. I think that more people being familliar with Haskell concepts would be good for programing culture and it would increase the odds of me being able to write Haskell professionally, which is something I enjoy a lot when writing hobby code at least. Having more access to tooling and a bigger eco system would be nice as well.

I'm not a 100% sure about my answer though. For one, I might grow to resent Haskell if I had to use it at work, and there's also a risk that it would be harder to do cool innovative stuff with the language when more big companies depend on it.

[–] kleenbhole@lemy.lol 19 points 1 year ago (2 children)
[–] ICastFist@programming.dev 5 points 1 year ago

You monster

load more comments (1 replies)
[–] loics2@lemm.ee 19 points 1 year ago (1 children)

Elixir... please I want an Elixir job

[–] TQuid 4 points 1 year ago (2 children)

The most beautiful language. Why doesn’t every language have pipes?

[–] ICastFist@programming.dev 4 points 1 year ago

Why doesn’t every language have pipes?

Mario's favorite character

[–] morrowind@lemmy.ml 4 points 1 year ago (2 children)

I find Universal Function Call Syntax a much nicer solution than pipes, although I don't think it's quite as broad.

For example, taking the example from elixir's home page:

"Elixir" |> String.graphemes() |> Enum.frequencies()

would be

"Elixir".graphemes.frequences

in something like D

load more comments (2 replies)
[–] simonced@lemmy.one 17 points 1 year ago (1 children)

Some LISP going mainstream woulb be great!

[–] crimsonpoodle@pawb.social 3 points 1 year ago (1 children)

(defun clever-comment (comment) (if (equal (count-parentheses comment) (* 2 (count-letters ’LISP))) ’Clever ’Not-Clever))

[–] mtchristo@lemm.ee 4 points 1 year ago (2 children)
[–] derpgon@programming.dev 6 points 1 year ago

Not many people know LISP actually stands for "Lots of Irritating and Stupid Parentheses"

[–] lolcatnip@reddthat.com 4 points 1 year ago

It's really not bad, just unfamiliar.

[–] superb@lemmy.blahaj.zone 16 points 1 year ago (1 children)

Pony! Its actor based, with a really interesting type system

https://www.ponylang.io

[–] sjpwarren@programming.dev 7 points 1 year ago (1 children)

It's a pity there is not 1 code example on the Front Page. I spent a few minutes trying to find a page with some code and all I found was Why, Why Not, what is different etc and not any code examples so I am out. Look at Zig within seconds I can see if I like the syntax, does it make sense to me. I would love to know what Pony lang looks like. I might like it but it seems like

load more comments (1 replies)
[–] ada@programming.dev 13 points 1 year ago

I would like to see Ada grow. Its clean syntax, rich expressive capabilities, and early error detection by the compiler due to strict typing create a very pleasant experience during development. This year, the language got a new standard. Recently, a package manager and a community index were created. There's an extension/LSP for vscode, etc. Along with great educational materials on learn.adacore.com, it's easy to pick up and start using this language.

PS I created a community on p.d two days ago: https://programming.dev/c/ada

#adalang

[–] rutrum@lm.paradisus.day 12 points 1 year ago* (last edited 1 year ago)

Futhark: a functional language that can be compiled to run in parallel on cpu or gpu. (No need to write cuda directly) https://futhark-lang.org

[–] WatTyler@lemmy.sdf.org 10 points 1 year ago* (last edited 1 year ago)
{-# LANGUAGE OverloadedStrings #-}

import qualified Data.Text as T (Text)

correctAnswer :: T.Text
correctAnswer = "Haskell"
[–] danhab99@programming.dev 9 points 1 year ago (1 children)

Go. I love writing go, its so simple and predictable and the accessability of multithreading and being allowed to create as many "threads" as I want make me feel smart as fuck.

[–] otl@lemmy.sdf.org 4 points 1 year ago (1 children)

Would you say Go is popular enough to be called mainstream?

[–] morrowind@lemmy.ml 5 points 1 year ago

Go is definitely mainstream imo, and it's backed by google.

[–] bnjmn@programming.dev 9 points 1 year ago

I would LOVE for Nim to get more web stuff

[–] tfkhdyt@lemmy.my.id 8 points 1 year ago
[–] RiikkaTheIcePrincess@kbin.social 7 points 1 year ago (5 children)

Some fun stack-based concatenative language (like Forth or Min) :3 I like playing with odd/new-to-me things that change how I have to approach things in some way. ... Also I wanna find a Forth community I can stand 😅 That or maybe a similar low-level language, I suppose. I was thinking of using it for a project but... eegh. Bleh. Et cetera. Still might, but purely on my own terms I guess.

Also, more Haskell please >:3 Or something else like it. We must spread the glory of FP nerdery @.@ ...And maybe get some more useful (and maintained) packages to work with instead of just kinda having to wonder what even builds any more v.v

load more comments (5 replies)
[–] Kolanaki@yiffit.net 6 points 1 year ago* (last edited 1 year ago) (2 children)

I've heard of one I don't know the name of that is trying to make it so you can just write the program with natural English kind of like how AI works off of prompts. Having grown up watching Star Trek and seeing how they would "write" holodeck programs by just giving the computer a detailed explanation of the program they wanted to run always made me wish we could do that IRL.

[–] tastysnacks@programming.dev 5 points 1 year ago (1 children)

If AI ever solves the DWYM problem, we're in trouble. Fortunately, it'll probably solve it the way a programmer does.

load more comments (1 replies)
load more comments (1 replies)
[–] little_hermit@lemmus.org 6 points 1 year ago (2 children)
load more comments (2 replies)
[–] CIAvash@programming.dev 6 points 1 year ago
[–] Kimusan@feddit.dk 4 points 1 year ago (1 children)
[–] silas@programming.dev 3 points 1 year ago (1 children)

I think we can all agree on JavaScript
/s

load more comments
view more: next ›