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

Programming

17424 readers
72 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.

you are viewing a single comment's thread
view the rest of the comments
[–] 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.

[–] Hawk@lemmynsfw.com 4 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.

[–] tatterdemalion@programming.dev 3 points 1 year ago (3 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.

[–] Hawk@lemmynsfw.com 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@programming.dev 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.

[–] Hawk@lemmynsfw.com 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).

load more comments (1 replies)
load more comments (1 replies)
load more comments (3 replies)