TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why is Julia so underrated?

10 点作者 nigamanth大约 2 年前
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 条评论

jakobnissen大约 2 年前
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 未加载
snicker7大约 2 年前
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.
aiquantumedge大约 2 年前
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.
nextos大约 2 年前
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.