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.

Julia 1.9

276 pointsby kristoffercabout 2 years ago

23 comments

acalmonabout 2 years ago
I will go against the trend here and give a big thanks to the whole Julia team for all their wonderful work.<p>I&#x27;ve been a heavy Julia user for +4 years and adore this ecosystem. I use Julia for parallel computing, modeling and solving large-scale optimization problems, stochastic simulations, etc. During the last year or so, creating plots and dashboards has become much easier too.<p>Julia makes it surprisingly easy to go from &quot;idea&quot; to &quot;large-scale simulation&quot;. I&#x27;ve used it in production and just for prototyping&#x2F;research. I can engage with Julia as deeply as I would with C code or as &quot;lightly&quot; as I engage with Matlab&#x2F;R.<p>I&#x27;m excited to see what comes next.
branczabout 2 years ago
My favorite change (even though it&#x27;s not listed in the changelog), is that just-in-time compiled code now has frame pointers[1], making Julia code much more debuggable. Profilers, debuggers, etc. all can now work out of the box.<p>Extra excited that the project I happen to work on (the Parca open source project[2]) influenced this change [3][4]. Shout out to Valentin Churavy for driving this on the Julia front!<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;JuliaLang&#x2F;julia&#x2F;commit&#x2F;06d4cf072db24ca6df9187af2eaf290f6d0ac8c2">https:&#x2F;&#x2F;github.com&#x2F;JuliaLang&#x2F;julia&#x2F;commit&#x2F;06d4cf072db24ca6df...</a><p>[2] <a href="https:&#x2F;&#x2F;parca.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;parca.dev&#x2F;</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;parca-dev&#x2F;parca-demo&#x2F;pull&#x2F;37">https:&#x2F;&#x2F;github.com&#x2F;parca-dev&#x2F;parca-demo&#x2F;pull&#x2F;37</a><p>[4] <a href="https:&#x2F;&#x2F;github.com&#x2F;JuliaLang&#x2F;julia&#x2F;issues&#x2F;40655">https:&#x2F;&#x2F;github.com&#x2F;JuliaLang&#x2F;julia&#x2F;issues&#x2F;40655</a>
aborsyabout 2 years ago
Matlab users should switch to Julia. It’s a real programming language, and better in many ways.<p>I provide the option of Julia in my tutorials. Students are lazy, and don’t want to explore something new. Most of them stick with matlab.<p>What prevents matlab users from switching? The syntax is similar.
评论 #35885136 未加载
评论 #35885151 未加载
评论 #35886247 未加载
评论 #35884871 未加载
评论 #35885112 未加载
评论 #35886725 未加载
评论 #35884694 未加载
评论 #35884649 未加载
评论 #35885431 未加载
评论 #35884638 未加载
评论 #35888319 未加载
评论 #35885953 未加载
jbielerabout 2 years ago
This makes a big difference in usability, before loading a big project was almost in the &quot;coffee time&quot; category, now it&#x27;s more &quot;wait a few seconds&quot;. It helps a lot to make the tool feel more responsive.
评论 #35886328 未加载
jakobnissenabout 2 years ago
Congratulations on the release! Package extensions and package images are a huge boost to the usability of Julia.<p>To all Julia users: Go forth, and make use of PrecompileTools.jl in your packages! The latency only drops if you actually make use of precompilation, and it&#x27;s pretty easy to use. I can&#x27;t wait for more of the ecosystem to start making use of it.
npalliabout 2 years ago
Nice improvements<p>----------------------------<p>JULIA 1.8.5<p>julia&gt; @time using Plots<p>11.341913 seconds (14.83 M allocations: 948.442 MiB, 6.88% gc time, 12.73% compilation time: 62% of which was recompilation)<p>julia&gt; @time plot(sin.(0:0.01:π))<p>3.342452 seconds (8.93 M allocations: 472.925 MiB, 4.44% gc time, 99.78% compilation time: 78% of which was recompilation)<p>-----------------------------------<p>JULIA 1.9.0<p>julia&gt; @time using Plots;<p>2.907620 seconds (3.43 M allocations: 195.045 MiB, 7.52% gc time, 5.61% compilation time: 93% of which was recompilation)<p>julia&gt; @time plot(sin.(0:0.01:π))<p>0.395429 seconds (907.48 k allocations: 59.422 MiB, 98.54% compilation time: 74% of which was recompilation)
majoeabout 2 years ago
I really like &quot;Julia, the programming language&quot; and had a great experience using it on the few occasions, where it made sense. But whenever a colleague asks me, if I can recommend it, I have to say &quot;no&quot;. The crux is, that its &quot;just-ahead-of-time&quot; compiler disqualifies it for a lot of use cases: I actually would prefer it over Python for small scripts, but the compilation overhead is too long. On the other hand I would use it over C++ for some applications, when it could easily produce portable binaries.<p>With the steady progress in improving precompilation, I&#x27;m optimistic to use it more often in the future, though.
评论 #35887556 未加载
评论 #35891184 未加载
评论 #35898832 未加载
joelthelionabout 2 years ago
I feel this release might finally make Julia worth considering again. Previously loading time for something as simple as opening a csv and plotting it was a deal breaker.
huijzerabout 2 years ago
I used to have a reasonably simple notebook for a paper which took about 35 minutes to compile on an old university-provided CPU; even when opening it for the second time.<p>Therefore, I‘m really excited for the improvements in code caching! Thanks to Tim Holy, Jameson Nash, Valentin Churavy, and others for your work
评论 #35884651 未加载
mrsoftyabout 2 years ago
we had a big julia push this month after 2 years of just messing around. It&#x27;s better than APL to read ( so is Sanskrit) but we hit a SCREECHING halt when we realized that it wasn&#x27;t going to happen that we could our streaming data with Pluto notebooks on the web. Pluto Notebooks are wonderful and can handle streaming data just not on a hosted web page with multiple people using it. We tried to use Stipple.jl ( part of GENIE.jl) and that kept freezing ( we suspect because of pacing issues so 1 sec plus should be fine). The point of all of this is that we have found julia to be GREAT to build the back end stuff but not for manipulation of streaming data on the web. We can easily fix this with ZMQ and send the data to Python but julia was supposed to be a 1 language solution. We&#x27;re trying to dodge the web side of things with Humane so maybe we&#x27;ll be happier bunnies in 2024
评论 #35886126 未加载
评论 #35897546 未加载
sundarurfriendabout 2 years ago
&gt; Users can also create custom local &quot;Startup&quot; packages that load dependencies and precompile workloads tailored to their daily work.<p>That&#x27;s big! Now I can add packages to my startup.jl without having to worry that every single REPL startup will be slowed down by them. This also eases the pain of things being moved away from the standard library, since we can just add them back to the base environment and load them at startup, making it basically the same thing.
评论 #35886165 未加载
sundarurfriendabout 2 years ago
Two very nice additions to the REPL that weren&#x27;t mentioned in the highlights:<p>* `Alt-e` now opens the current input in an editor. The content (if modified) will be executed upon exiting the editor<p>* A &quot;numbered prompt&quot; mode which prints numbers for each input and output and stores evaluated results in Out can be activated with REPL.numbered_prompt!() (basically `In[3]` `Out[3]` markers like in Mathematica&#x2F;Jupyter).
评论 #35888187 未加载
ddragonabout 2 years ago
I&#x27;m quite interested in the interactive thread pool (although I assume it works based on conventions of everyone playing nice). Julia seems to have a powerful parallelism model but it couldn&#x27;t apply it to responsive GUI and web frameworks that requires low latency, so it is nice if you indeed can have for example the tasks handling HTTP request focusing on handling it as fast as possible while the background working threads dealing with larger computations use all the speed of the Julia language without being constantly interrupted.
sundarurfriendabout 2 years ago
&gt; Pkg.add can now be told to prefer to add already installed versions of packages (those that already have been downloadedd onto your machine)<p>&gt; set the env var `JULIA_PKG_PRESERVE_TIERED_INSTALLED` to true.<p>How is this different from setting `Pkg.offline(true)` and then doing the `add`? I don&#x27;t know the intricacies of how it works, but that&#x27;s what I&#x27;ve been doing when I just need to try something out in a temp environment.
评论 #35885407 未加载
sundarurfriendabout 2 years ago
&gt; We came to the conclusion that a global fastmath option is impossible to use correctly in Julia.<p>I&#x27;d assumed that global fastmath was a bad idea <i>in general</i>, and assumed that was the reason for making this a no-op. Is there a reason it&#x27;s particularly bad in Julia, some assumptions the standard library makes or something?
评论 #35886414 未加载
评论 #35885802 未加载
评论 #35885831 未加载
评论 #35885904 未加载
kdheepakabout 2 years ago
I’m very excited for this release! Congrats to everyone that worked so hard on this and the language in general!
singularity2001about 2 years ago
&quot;Together with PrecompileTools.jl, Julia 1.9 delivers many of the benefits of PackageCompiler without the need for user-customization.&quot;<p>does it mean I still have to invoke special workflows and commands to get compilation benefits or does it work out of the box for normal julia invocations?
评论 #35885065 未加载
arijunabout 2 years ago
Does anyone know what the units are for TTL and TTFX? I can’t tell how significant those results are. Label your graphs, people!
评论 #35884758 未加载
tastyminerals2about 2 years ago
I like to explore alternatives to Python and Julia has been one of the tools I am waiting to become mature enough to actually invest some time in. But every time I start reading threads, I see the comments from actual users reporting about half an hour minutes and “coffee time” project compilation. Then the dreaded ecosystem problem. Then I think to myself, well, it’s not the time yet.<p>Also, I wish Julia was as popular in Europe as it is overseas.
评论 #35886865 未加载
评论 #35886883 未加载
评论 #35895744 未加载
评论 #35886680 未加载
NeuroCoderabout 2 years ago
I didn&#x27;t even know some of these things were being worked on until recently. I totally understand why devs don&#x27;t treat development like a Twitter feed, posting every thought that pops into their head instead of working. However, it would be really interesting to follow some of these developments without having to deep lurk all the PRs.<p>Sorry, pretty shallow complaint. Great work!
评论 #35886005 未加载
评论 #35886168 未加载
评论 #35885921 未加载
评论 #35887676 未加载
评论 #35885970 未加载
dekhnabout 2 years ago
The remaining issues I had are: I heard there are still bugs in the standard library regarding changing index offsets (from 1 to 0 for example), and IIRC also the language build depends on a fork of LLVM (<a href="https:&#x2F;&#x2F;github.com&#x2F;JuliaLang&#x2F;llvm-project">https:&#x2F;&#x2F;github.com&#x2F;JuliaLang&#x2F;llvm-project</a>)<p>Are both of those still true? I&#x27;m a zero-index guy, but having index offsets is fine as long as the standard library is high quality. As for LLVM, I&#x27;d prefer it not need a fork but that&#x27;s less important.
评论 #35889578 未加载
g0wdaabout 2 years ago
Incredible release!
sundarurfriendabout 2 years ago
&gt; To analyze your heap snapshot, open a Chromium browser and follow these steps: right click -&gt; inspect -&gt; memory -&gt; load. Upload your .heapsnapshot file, and a new tab will appear on the left side to display your snapshot&#x27;s details.<p>Can the same be done with Firefox&#x27;s `about:memory`&#x27;s `Load...` button, or is it Chromium specific?
评论 #35886779 未加载