News

Julia v1.2 releases with support for argument splatting, Unicode 12, new star unary operator, and more

2 min read

Yesterday, the team behind Julia announced the release of Julia v1.2. It is the second minor release in the 1.x series and has new features such as argument splatting, support for Unicode 12 and a new ⋆ (star) unary operator. Julia v1.2 also has many performance improvements with marginal and undisruptive changes.

The post states that Julia v1.2 will not have a long term support and “As of this release, 1.1 has been effectively superseded by 1.2, which means there will not likely be any further 1.1.x releases. Our good friend 1.0 is still currently the only long-term support version.”

What’s new in Julia v1.2

  • This version supports Argument splatting (x…). It can be used in calls to the new pseudo-function in constructors.
  • Support for Unicode 12 has been added.
  • A new unary operator ⋆ (star) has been added.

New library functions

  • A new argument !=(x), >(x), >=(x), <(x), <=(x) has been added to assist in returning the partially-applied versions of the functions
  • A new getipaddrs() function is added to return all the IP addresses of the local machine with the IPv4 addresses
  • New library function Base.hasproperty and Base.hasfield

Other improvements in Julia v1.2

Multi-threading changes

  • It will now be possible to schedule and switch tasks during @threads loops, and perform limited I/O.
  • A new thread-safe replacement has been added to the Condition type. It can now be accessed as Threads.Condition.

Standard library changes

  • The extrema function now accepts a function argument in the same way like minimum and maximum.
  • The hasmethod method can now check for matching keyword argument names.
  • The mapreduce function will accept multiple iterators.
  • Functions that invoke commands like run(::Cmd), will get a ProcessFailedException rather than an ErrorException.
  • A new no-argument constructor for Ptr{T} has been added to construct a null pointer.

Jeff Bezanson, Julia co-creator says, “If you maintain any packages, this is a good time to add CI for 1.2, check compatibility, and tag new versions as needed.”

Users are happy with the Julia v1.2 release and are all praises for the Julia language.

A user on Hacker News comments, “Julia has very well thought syntax and runtime

I hope to see it succeed in the server-side web development area.”

Another user says, “I’ve recently switched to Julia for all my side projects and I’m loving it so far! For me the killer feature is the seamless GPUs integration.”

For more information on Julia v1.2, head over to its release notes.

Read Next

Julia co-creator, Jeff Bezanson, on what’s wrong with Julialang and how to tackle issues like modularity and extension

Julia announces the preview of multi-threaded task parallelism in alpha release v1.3.0

Mozilla is funding project for bringing Julia to Firefox and the general browser environment

Vincy Davis

A born storyteller turned writer!

Share
Published by
Vincy Davis

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago