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.

My favorite things that are coming with Julia 1.0

227 pointsby oxinaboxabout 7 years ago

16 comments

ScottPJonesabout 7 years ago
The creators of Julia have been focusing on technical, numerical, scientific computing first, however, the language was always intended to also be a good general purpose programming language (which it is) [I was lucky enough to attend Jeff Bezanson's Ph.D. thesis defense at M.I.T. 3 years ago - and was able to ask him that question there]. I used to be a full-time C/C++ programmer, focused on performance of large systems, however, since learning Julia I haven't had to go back to writing C or C++ even once in over 3 years, since I can write even the sort of low-level code I typically do in Julia, faster and easier than in other languages, and get the same performance.
评论 #17211326 未加载
twicabout 7 years ago
&gt; It will be interesting to see exactly how <i>nothing</i> and <i>missing</i> play out in-practice. I feel like if all things go well, then in most circumstances operating with a <i>missing</i> should return a missing (i.e. properation), and operating with a <i>nothing</i> should throw an error (Much like a NullReferenceError).<p>We all know that having a null value in your language is a mistake, but i have to admit that it had not occurred to me that the fix was to have <i>two</i> null values.
评论 #17204522 未加载
评论 #17204462 未加载
parvenu74about 7 years ago
What is the target market or prime use case for Julia? What makes it better than alternatives? I&#x27;ve _heard_ of this language but haven&#x27;t studied it; I&#x27;m trying to understand if this is more of a niche language or something which could see more mainstream adoption like Go or Rust.
评论 #17205034 未加载
评论 #17205623 未加载
评论 #17204455 未加载
评论 #17205602 未加载
评论 #17204663 未加载
评论 #17204415 未加载
评论 #17210097 未加载
评论 #17204900 未加载
评论 #17210407 未加载
nooberminabout 7 years ago
I&#x27;m surprised the author didn&#x27;t touch on the massive changes to Pkg. Now Pkg is a lot more like npm, allowing for &quot;project&quot; level packages rather than requiring global packages.
评论 #17204194 未加载
评论 #17208737 未加载
评论 #17205444 未加载
dyu-about 7 years ago
Great ffi perf too! From the benchmark over at github.com&#x2F;dyu&#x2F;ffi-overhead, julia is on par with luajit.
评论 #17217721 未加载
_jordanabout 7 years ago
Phenomenal language. compiles applications to a single binary which makes it super convenient to move around environments
评论 #17204409 未加载
adrianhelabout 7 years ago
I had a look at Julia like 2-3 years ago and thought it seemed really nice to use.<p>The performance is of course also awesome.<p>So I hope we get more traction for Julia as a general purpose language. But for now I&#x27;m sticking with Node.
a-dubabout 7 years ago
Can you run it with the plotting libraries loaded and have whos() return in less than 10 seconds yet?<p>I was excited about v0.6 but then when I learned it took &gt;15s to do whos(), I completely gave up...
评论 #17215696 未加载
sidcoolabout 7 years ago
And we are struggling to connect Julia to Postgres DB.
评论 #17205376 未加载
hellofunkabout 7 years ago
Would anyone recommend using Julia for things like web servers? Python is used for web servers, and is slow. But Julia doesn’t really seem marketed to that application domain, despite that I would expect it to do a better job with the demands on a server due to its performance.<p>I know web frameworks exist for Julia, but I’m wondering how practical it is to actually use this language for that purpose?
评论 #17207643 未加载
评论 #17210710 未加载
评论 #17207661 未加载
评论 #17208162 未加载
评论 #17207789 未加载
评论 #17208207 未加载
jb1991about 7 years ago
Honest question, just how fast is Julia anyway? Because performance is typically the main reason anyone would want to use it over alternatives. A lot of people justify Julia because, as noted in other comments, it is both high-level yet claims to be nearly as fast as C:<p>&gt; &quot;Julia is the fastest modern open-source language for data science, machine learning and scientific computing...with the speed, capacity and performance of C, C++...&quot; [4]<p>That&#x27;s a bold claim! And there is much evidence to the contrary. I often find that the language falls into a similar trap of many other languages where the creators are evangelists not quite sharing the whole picture. Writing fast Julia code is not always a pleasant experience as you often need to fight the easier idioms. It is marketed as fast, but really, how fast is it?<p>[0] <a href="http:&#x2F;&#x2F;www.zverovich.net&#x2F;2016&#x2F;05&#x2F;13&#x2F;giving-up-on-julia.html" rel="nofollow">http:&#x2F;&#x2F;www.zverovich.net&#x2F;2016&#x2F;05&#x2F;13&#x2F;giving-up-on-julia.html</a><p>&quot;What’s disappointing is the striking difference between the claimed performance and the observed one. For example, a trivial hello world program in Julia runs ~27x slower than Python’s version and ~187x slower than the one in C.&quot;<p>[1] <a href="https:&#x2F;&#x2F;www.ibm.com&#x2F;developerworks&#x2F;community&#x2F;blogs&#x2F;jfp&#x2F;entry&#x2F;A_Comparison_Of_C_Julia_Python_Numba_Cython_Scipy_and_BLAS_on_LU_Factorization?lang=en" rel="nofollow">https:&#x2F;&#x2F;www.ibm.com&#x2F;developerworks&#x2F;community&#x2F;blogs&#x2F;jfp&#x2F;entry...</a><p>&quot;We can code in Julia in a way similar to Python&#x27;s code. However, that code is slower than it should. One way to speed Julia is to take into account the Fortran ordering it uses by looping on j before looping on i in the second loop. We also add decorators to speed up the code.&quot;<p>[2] <a href="https:&#x2F;&#x2F;www.codementor.io&#x2F;zhuojiadai&#x2F;julia-vs-r-vs-python-string-sort-performance-an-unfinished-journey-to-optimizing-julia-s-performance-f57tf9f8s" rel="nofollow">https:&#x2F;&#x2F;www.codementor.io&#x2F;zhuojiadai&#x2F;julia-vs-r-vs-python-st...</a><p>&quot;...comparing R&#x27;s sorting speeds to Julia&#x27;s is not the complete story, even though on the surface R appears faster, and from a users&#x27; perspective, (once the data is loaded) R is still the king of speed.&quot;<p>Stackoverflow has quite a few user posts [3] from folks trying to get their code to perform at the advertised speed vs popular alternative languages. It&#x27;s not so easy.<p>[3] <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;20613817&#x2F;julia-julia-lang-performance-compared-to-fortran-and-python" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;20613817&#x2F;julia-julia-lan...</a><p>[4] <a href="https:&#x2F;&#x2F;juliacomputing.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;juliacomputing.com&#x2F;</a>
评论 #17204765 未加载
评论 #17205976 未加载
评论 #17204812 未加载
评论 #17205363 未加载
评论 #17204801 未加载
评论 #17209405 未加载
d--babout 7 years ago
Where are we compared to then (<a href="http:&#x2F;&#x2F;www.zverovich.net&#x2F;2016&#x2F;05&#x2F;13&#x2F;giving-up-on-julia.html" rel="nofollow">http:&#x2F;&#x2F;www.zverovich.net&#x2F;2016&#x2F;05&#x2F;13&#x2F;giving-up-on-julia.html</a>)?
评论 #17205727 未加载
abakusabout 7 years ago
One thing I always dislike about julia is the .+ .* .&lt; ... all those dots for element-wise operations. It is inherited from Matlab, but is a bad design because more common usage should have shorter operators.
评论 #17210691 未加载
评论 #17209270 未加载
Bromsklossabout 7 years ago
Ooo, it must be zero-based indexing! Right?!
评论 #17225451 未加载
mafmabout 7 years ago
Upvote because I think this is the 1st time a posting from the ucc website has made the HN front page.
wirrbelabout 7 years ago
Julia always was one of the languages I wondered whether I should have a closer look at (do python data-science stuff mostly, so it is an interesting project). However, reading Dan Luu writing about his experiences with members of the Julia community <a href="https:&#x2F;&#x2F;danluu.com&#x2F;julialang&#x2F;" rel="nofollow">https:&#x2F;&#x2F;danluu.com&#x2F;julialang&#x2F;</a> I try my best to not get anywhere near it. Directly cited:<p><pre><code> Update: this post was edited a bit to remove a sentence about how friendly the Julia community is since that no longer seemed appropriate in light of recent private and semi-private communications from one of the co-creators of Julia. They were, by far, the nastiest and most dishonest responses I&#x27;ve ever gotten to any blog post. Some of those responses were on a private discussion channel; multiple people later talked to me about how shocked they were at the sheer meanness and dishonesty of the responses. Oh, and there&#x27;s also the public mailing list. The responses there weren&#x27;t in the same league, but even so, I didn&#x27;t stick around long since I unsubscribed when one the Julia co-creators responded with something bad enough that it prompted someone else to to suggest sticking to the facts and avoiding attacks. That wasn&#x27;t the first attack, or even the first one to prompt someone to respond and ask that people stay on topic; it just happened to be the one that made me think that we weren&#x27;t going to have a productive discussion. I extended an olive branch before leaving, but who knows what happened there? Update 2, 1 year later: The same person who previously attacked me in private is now posting heavily edited and misleading excerpts in an attempt to discredit this post. I&#x27;m not going to post the full content in part because it&#x27;s extremely long, but mostly because it&#x27;s a gross violation of that community&#x27;s norms to post internal content publicly. If you know anyone in the RC community who was there for the discussion before the edits and you want the truth, ask your RC buddy for their take. If you don&#x27;t know any RC folks, consider that my debate partner&#x27;s behavior was so egregious that multiple people asked him to stop, and many more people messaged me privately to talk about how inappropriate his behavior was. If you compare that to what&#x27;s been publicly dredged up, you can get an idea of both how representative the public excerpts are and of how honest the other person is being._</code></pre>
评论 #17205353 未加载
评论 #17205091 未加载
评论 #17205562 未加载
评论 #17205046 未加载
评论 #17205437 未加载