this post was submitted on 01 Nov 2023
139 points (96.0% liked)

Programming

17374 readers
447 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.

you are viewing a single comment's thread
view the rest of the comments
[–] tatterdemalion 61 points 1 year ago* (last edited 1 year ago) (2 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.

[–] [email protected] 4 points 1 year ago (1 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.

[–] tatterdemalion 3 points 1 year ago (1 children)

What do you find challenging about multiple dispatch? I don't use Julia for my job, so I can't say I've had enough experience to have a strong opinion. MD seems like a valuable tool though.

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

Simply, the lsp is far less useful. An object might have a dozen methods that act like verbs or some attributes that act as adjectives.

In Julia there is a huge number of functions, that work differently for different types and different combinations of types. So finding the documentation involves finding the right name for a function that does different things for different types, then scrolling down the docs for the the behaviour that corresponds to the specific combination of inputs.

I moved from R/Py to Julia for a while before moving back to Py (and a little bit of Rust).

I love how fast Julia is and the 1-index is fine for me, but I still prefer py for the oop.

[–] tatterdemalion 2 points 1 year ago (1 children)

So there's no LSP function to just show all of the multi-methods that accept a specific type? That's a pretty serious tooling limitation.

Maybe Julia sounds better in theory than in practice, if the tooling still isn't ready for production use.

[–] [email protected] 2 points 1 year ago

Well it's there, in one loooong print out. It's not as bad as I'm making it out to be, however, I went back to python unfortunately.

The crucial issue with Julia, no error messages.

So I use Julia for things that need to be fast (e.g. moving hdf5 to SQL and ffts) but I use python for everything else (except ggplot).

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

Where kind I find statistics for this?

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

The guy behind the youtube channel Context Free (about programming languages) made this site that tracks language popularity based on github/stack overflow: https://tjpalmer.github.io/languish