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


Apollo Adds REST APIs For GraphQL
29/10/2024

Apollo has added a simpler way to integrate REST APIs into a federated GraphQL environment. Available now in public preview, can be used to map REST API endpoints to their GraphQL schema using a decla [ ... ]



Prompt Engineering Techniques To Make You An Expert
18/11/2024

Introducing a GitHub repository full of hot tips and instructions on how to build the perfect prompt presented in a collection of Jupiter Notebooks.


More News

espbook

 

Comments




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