TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why is Julia so underrated?

10 pointsby nigamanthabout 2 years ago
I&#x27;ve just started exploring Julia and I&#x27;m really impressed by how efficient it is compared to Python and R. Julia is probably as fast if not faster than C++.<p>It&#x27;s also completely mathematical, just like Machine Learning is. One reason may be the complexity but for most of the machine learning use cases in Python or R you still need a good understanding of Math (linear regression, polynomial regression).<p>It also has the same modules (Transformers.jl, Flux.jl, Torch.jl)<p>Despite all of this, Julia is not the go-to language for ML. For non-commercial it&#x27;s Python and for commercial it&#x27;s R. Do people not know about Julia?

4 comments

jakobnissenabout 2 years ago
I&#x27;ve been thinking about this a bunch, and I honestly still don&#x27;t know. Julia SHOULD be very popular, but it isn&#x27;t.<p>One issue is that if you ask 10 people why it&#x27;s not, you get 11 different answers, each of them being confident that their particular problem with the language is the universal reason. Nonetheless, by listening to sufficiently many people&#x27;s complains, we can draw a picture:<p>* The latency and memory consumption overhead makes Julia unsuitable for a large group of tasks, including many CLI applications.<p>* Julia is hard to &quot;deploy&quot; since it can&#x27;t generate standalone binaries, and it&#x27;s not preinstalled on most systems.<p>* Multiple dispatch, it&#x27;s system of abstract inheritance and lack of static analysis and tooling makes it very difficult to write correct code. It&#x27;s even hard to read Julia code due to dispatch labyrinths, macros that obfuscate IDEs, and lack of good IDE tooling.<p>I think these are the major issues of Julia that prevents adoption, apart from simply inertia. Most users bump into points 1 and 2 nearly immediately - only later do they realise point 3.
评论 #35242478 未加载
snicker7about 2 years ago
Julia is my favorite language by far. The biggest issue is the tooling.<p>- Promotes REPL driven development, but can’t even redefine types without restarting the session. - Language is very permissive (both by semantics and by convention). Very difficult to write correct code. Poor IDE experience. The shining light atm is - Poor support for abstractions. Julia’s abstract types are very limited. Best practice is to use traits (not even a language feature, but a tacked on convention), but afaict, there is no IDE support for this. - High latency due to compilation (Julia is an AoT language masquerading as a JITed language, eg V8 JavaScript). Julia 1.9 (beta) is first release I found tolerable latencies.<p>I do Java for my day job. That language is garbage in comparison to Julia. But the tooling makes it far more tolerable.
aiquantumedgeabout 2 years ago
These are all the companies&#x2F;organization using Julia <a href="https:&#x2F;&#x2F;juliahub.com&#x2F;case-studies&#x2F;" rel="nofollow">https:&#x2F;&#x2F;juliahub.com&#x2F;case-studies&#x2F;</a> <a href="https:&#x2F;&#x2F;nerdsapps.com&#x2F;python-vs-r-vs-julia-which-is-better&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nerdsapps.com&#x2F;python-vs-r-vs-julia-which-is-better&#x2F;</a> Lots of Academics and Research are using Julia.
nextosabout 2 years ago
Julia is great for statistics, especially if you need to implement custom methods, and scientific ML, e.g. inferring ODEs from data.<p>But Python, which I dislike as a language, has unbeatable differentiable ML libraries (TF, Torch, JAX). Julia&#x27;s are quite impressive given the few man-hours they have received, but will give you a lot of trouble if you try to do non-trivial things.