this post was submitted on 01 Nov 2023
128 points (95.7% liked)

Programming

17364 readers
158 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 62 points 1 year ago (9 children)
[–] match@pawb.social 8 points 1 year ago (1 children)
load more comments (1 replies)
[–] maegul@lemmy.ml 6 points 1 year ago (3 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 9 points 1 year ago (4 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.

load more comments (4 replies)
load more comments (2 replies)
[–] TheV2@programming.dev 5 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
load more comments (4 replies)
[–] tatterdemalion@programming.dev 55 points 1 year ago* (last edited 1 year ago) (7 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.

load more comments (7 replies)
[–] kleenbhole@lemy.lol 31 points 1 year ago (2 children)
[–] ICastFist@programming.dev 7 points 1 year ago

You monster

load more comments (1 replies)
[–] copygirl@lemmy.blahaj.zone 28 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 8 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 (4 children)

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!).

load more comments (4 replies)

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.

[–] redempt@lemmy.world 25 points 1 year ago (8 children)

Rust. I've been using it for a while, and I've been using more software written in it lately. Stuff you make with it is just better in most ways. In other languages, you have to go above and beyond to make your code fully correct, safe, user friendly, and every trait I value in software. Rust makes those things easy, and so people are more willing to do them, and so things that get made in it are better. Oftentimes it's just a matter of pulling in a crate and adding a few lines of code.

load more comments (8 replies)
[–] caret@lemmy.zip 24 points 1 year ago (2 children)

Rust! Memory leak free code would make our world a better place!

[–] philm@programming.dev 8 points 1 year ago* (last edited 1 year ago)

At this point, I think it's almost mainstream, and it's still growing fast (and it's getting better, rust-analyzer is really awesome these days, I was there at the beginning, no comparison to today...))

I may be biased, but I think it'll be the next big main language probably leaving other very popular ones behind it in the coming decade (Entry barrier and ease of use got much better over the last couple years, and the future sounds exciting with stuff like this)

[–] IAm_A_Complete_Idiot@sh.itjust.works 8 points 1 year ago (10 children)

Rust doesn't guarantee the lack of memory leaks anymore then java/C++ does, so sadly not sure if it would help here. :)

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

Elixir... please I want an Elixir job

load more comments (6 replies)
[–] rutrum@lm.paradisus.day 18 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

[–] alflennik@lemmy.world 17 points 1 year ago (4 children)

I’m obsessed with an extremely little known language called Grain. It’s not quite ready for production but it has an insanely intuitive functional syntax that I want to use noww.

load more comments (4 replies)
[–] superb@lemmy.blahaj.zone 14 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 14 points 1 year ago (2 children)

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

load more comments (2 replies)
[–] BigDanishGuy@sh.itjust.works 13 points 1 year ago (4 children)

Assembly, which flavor IDK but some RISC architecture.

If everyone spoke assembly the world would be a very different experience. I'm not saying that it would be better or worse, but it'd definitely be different.

load more comments (4 replies)
[–] danhab99@programming.dev 12 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 6 points 1 year ago (1 children)

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

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

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

[–] tfkhdyt@lemmy.my.id 11 points 1 year ago
[–] cashews_best_nut@lemmy.world 11 points 1 year ago

Clojure deserves more love.

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

import qualified Data.Text as T (Text)

correctAnswer :: T.Text
correctAnswer = "Haskell"
[–] abhibeckert@lemmy.world 9 points 1 year ago* (last edited 1 year ago) (1 children)

Swift.

It's a wonderful language, it's general purpose, it's cross platform, and it's open source (Apache license). I wish it was a mainstream language outside the of the Apple universe.

What I love the most is it's so flexible. It's a full featured OOP language, a full featured Procedural language, a full featured Functional language, a full featured declarative language, and you can relatively easily make it work with anything else you can think of.

It also has the best concurrency system I've ever seen - and with high performance computing relying so much on parallel computing these days that's a must and often what I miss the most in other languages.

A lot of other languages do some things just as well as Swift, but Swift does everything really well.

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

I would LOVE for Nim to get more web stuff

[–] little_hermit@lemmus.org 8 points 1 year ago (2 children)
load more comments (2 replies)
[–] AlmightySnoo@lemmy.world 8 points 1 year ago (1 children)
load more comments (1 replies)
[–] RiikkaTheIcePrincess@kbin.social 8 points 1 year ago (6 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 (6 replies)
[–] CIAvash@programming.dev 7 points 1 year ago
[–] rockSlayer@lemmy.world 7 points 1 year ago* (last edited 1 year ago) (1 children)

Super niche, but I wish wren caught on. It's a language very similar to lua, but indexes start at 0. Also it has some cool features too, but mostly the index thing.

load more comments (1 replies)
[–] WillyWonksters@lemmy.world 6 points 1 year ago* (last edited 1 year ago) (2 children)

Rosie Pattern Language, which is an alternative to regular expressions.

Edit: Here is a presentation by the creator

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

An alternative to regex sounds interesting, too bad their site lacks proper examples and, more importantly, side by side examples of equivalent regex, that's the best way to sell such an idea.

load more comments (1 replies)
load more comments
view more: next ›