Julia 1.10 Updates Parser
Written by Kay Ewbank   
Tuesday, 09 January 2024

Julia 1.10 has been released with improvements including an updated parser that provides better diagnostics and faster parsing.

Julia is a dynamic language for technical computing optimized for running MATLAB and R-style programs. Development began on Julia at MIT in 2009, and has increased in popularity, recently becoming one of the top six languages for machine learning projects on GitHub.

.julialogo1

The change to the updated parser, JuliaSyntax.jl, as the default will provide better diagnostics and faster parsing according to the Julia team. The previous parser was written in Scheme, whereas the new version is written in Julia. The ream says it provides significantly better performance for parsing code. It also offers detailed syntax error messages that provide more specific information, pinpointing the exact location of syntax issues. The parser also provides more advanced source code mapping. It generates expressions that track their position in the source code, making it easier to precisely locate errors. The team says this will also be useful for tools such as linters.

The new release also provides improvements in stacktrace rendering. When an error occurs Julia prints out the error together with a stacktrace that contains information including the method name, argument names and types, and the location of the method in the module and file. This can include a lot of information, and the new release has improvements to make stacktraces less verbose.

Other improvements include the addition of parallel garbage collection and the addition of profiling integration for the Tracy and Intel VTune ITTAPI. The profilers are now capable of reporting notable events such as compilation, major and minor GCs, invalidation and memory counters.

Julia recently made it into the TIOBE ratings top 20 for the first time. The TIOBE Index ranks languages in terms of their popularity and ratings, calculated using Google, Bing, Yahoo!, Wikipedia, Amazon, YouTube and Baidu are based on the number of skilled engineers world-wide, courses and third party vendors. Its stay in the Top 20 was brief and at the moment it is ranked 33, even so for a young language it was a laudable achievement and it only has to increase its rating by a small margin to regain and keep a TIOBE top-twenty slot.

Julia 1.10 is available now.

julialogo1

More Information

Julia Website

Related Articles

Julia Makes Its Debut in TIOBE Top 20

Julia 1.9 Adds Native Code Caching

Julia 1.8 Improves Apple Silicon Support

Julia 1.7 - Better Performance On Several Fronts

Julia 1.5 Improves Struct Layout Support

Julia Improves Multithreading

Julia Language Creators Awarded Numerical Software Prize

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Action Figure Craze Overruns OpenAI
13/04/2025

If you're on social media, you'll probably have seen a lot of 'action figure' posts, where people show off images of themselves, their dog or their cat in the form of an action figure, complete with s [ ... ]



Google Adds Open-Source Development Kit To Vertex AI
15/04/2025

Google has added an Agent Development Kit (ADK) to Vertex AI, along with an agent engine and an Agent2Agent protocol that provides agents with a common, open language for collaboration.  The anno [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info