MITB Banner

Julia v1.5 Released: Brings Lots of New Features And Better Performance

Share

Julia language, which has grown to become one of the most loved languages among data scientists and developers has released a new version to its earlier Julia 1.4. The new version offers a ton of new features and performance improvements for the developer community. 

It has brought a lot of new developments such as struct layout and allocation optimisations, multithreading API stabilisation and improvements, latency improvements, fixing bugs and more. It has also brought about some impressive algorithmic improvements for some popular cases such as generating normally-distributed double-precision floats. 

As the blog post states, this release brings one of the major and long-desired optimisations that can significantly reduce heap allocations in some workloads. The earlier version had a significant limitation when it came to layout optimisations for immutable objects — if an immutable object pointed to a heap-allocated, mutable object, it would itself need to be heap-allocated. This has been fixed in Julia 1.5 as it allows the compiler to track multiple roots inside object fields.

Improving upon its support for parallelism, it has introduced multithreading API stabilisation and improvements. The company said that with this release, they are marking most of the thread API as stable. It offers improved thread-safety of some top-level expressions such as type definitions, global assignments, modules and more. It also offers improvements to task switch performance and more. 

It has also released convenient shorthand that has already become popular in several other languages, such as TypeScript

As the blog post notes, after a lengthy discussion and several designs considered and prototyped, it has settled for the following solution in v1.5 such as making the REPL behave like IJulia, and Julia versions 0.6 or earlier, keeping the 1.0 behaviour in files, to avoid breaking anybody’s code, printing a warning if code in a file would behave differently than in the REPL and more.

The new release has made Pkg protocol the new default, which allows downloading new versions of package registries, package tarballs and artefacts—everything that’s needed to install and use packages from a single place. Now by default, everything is downloaded from https://pkg.julialang.org. It avoids challenges such as vanishing resources, lack of insights, firewall problems, performance and more. 

Julia recently hosted JuliaCon allowing the attendees to deep-dive into the latest developments brought by them. 

Share
Picture of Srishti Deoras

Srishti Deoras

Srishti currently works as Associate Editor at Analytics India Magazine. When not covering the analytics news, editing and writing articles, she could be found reading or capturing thoughts into pictures.
Related Posts

CORPORATE TRAINING PROGRAMS ON GENERATIVE AI

Generative AI Skilling for Enterprises

Our customized corporate training program on Generative AI provides a unique opportunity to empower, retain, and advance your talent.

Upcoming Large format Conference

May 30 and 31, 2024 | 📍 Bangalore, India

Download the easiest way to
stay informed

Subscribe to The Belamy: Our Weekly Newsletter

Biggest AI stories, delivered to your inbox every week.

AI Courses & Careers

Become a Certified Generative AI Engineer

AI Forum for India

Our Discord Community for AI Ecosystem, In collaboration with NVIDIA. 

Flagship Events

Rising 2024 | DE&I in Tech Summit

April 4 and 5, 2024 | 📍 Hilton Convention Center, Manyata Tech Park, Bangalore

MachineCon GCC Summit 2024

June 28 2024 | 📍Bangalore, India

MachineCon USA 2024

26 July 2024 | 583 Park Avenue, New York

Cypher India 2024

September 25-27, 2024 | 📍Bangalore, India

Cypher USA 2024

Nov 21-22 2024 | 📍Santa Clara Convention Center, California, USA

Data Engineering Summit 2024

May 30 and 31, 2024 | 📍 Bangalore, India

Subscribe to Our Newsletter

The Belamy, our weekly Newsletter is a rage. Just enter your email below.