this post was submitted on 01 Nov 2023
138 points (96.6% liked)

Programming

16769 readers
100 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 [email protected]



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
[–] [email protected] 61 points 9 months ago (8 children)
[–] [email protected] 11 points 9 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 9 points 9 months 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.

[–] [email protected] 12 points 9 months 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)
[–] [email protected] 6 points 9 months ago
load more comments (4 replies)
[–] [email protected] 58 points 9 months ago* (last edited 9 months 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)
[–] [email protected] 32 points 9 months ago (2 children)
[–] [email protected] 8 points 9 months ago

You monster

load more comments (1 replies)
[–] [email protected] 31 points 9 months 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.

[–] [email protected] 8 points 9 months 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.

[–] [email protected] 6 points 9 months 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!).

[–] [email protected] 25 points 9 months 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)
[–] [email protected] 25 points 9 months ago (2 children)

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

[–] IAm_A_Complete_Idiot 9 points 9 months 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)
[–] [email protected] 8 points 9 months ago* (last edited 9 months 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)

[–] [email protected] 25 points 9 months ago

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.

[–] [email protected] 21 points 9 months ago (1 children)

Elixir... please I want an Elixir job

load more comments (1 replies)
[–] [email protected] 19 points 9 months ago* (last edited 9 months 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

[–] [email protected] 19 points 9 months 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)
[–] [email protected] 17 points 9 months ago (1 children)

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

https://www.ponylang.io

[–] [email protected] 7 points 9 months 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)
[–] [email protected] 17 points 9 months ago (4 children)

Some LISP going mainstream woulb be great!

load more comments (4 replies)
[–] [email protected] 14 points 9 months ago (1 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

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

Hi there! Looks like you linked to a Lemmy community using a URL instead of its name, which doesn't work well for people on different instances. Try fixing it like this: [email protected]

load more comments (1 replies)
[–] BigDanishGuy 14 points 9 months 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)
[–] [email protected] 13 points 9 months ago (1 children)

Clojure deserves more love.

load more comments (1 replies)
[–] [email protected] 12 points 9 months 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.

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

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

load more comments (1 replies)
[–] [email protected] 12 points 9 months ago* (last edited 9 months ago)
{-# LANGUAGE OverloadedStrings #-}

import qualified Data.Text as T (Text)

correctAnswer :: T.Text
correctAnswer = "Haskell"
[–] [email protected] 11 points 9 months ago
[–] [email protected] 10 points 9 months ago* (last edited 9 months 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)
[–] [email protected] 10 points 9 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 9 points 9 months ago

I would LOVE for Nim to get more web stuff

[–] [email protected] 8 points 9 months ago* (last edited 9 months 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)
[–] [email protected] 8 points 9 months 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)
[–] [email protected] 8 points 9 months ago (1 children)
[–] [email protected] 6 points 9 months ago

most of the apps written in Klingon would have the "today is a good day to die" directive, which means no exception handling at all and bringing the whole OS down in glory if needed

[–] [email protected] 8 points 9 months ago
load more comments
view more: next ›