Emacs 27.1 Adds Native JSON Parsing
Written by Kay Ewbank   
Tuesday, 25 August 2020

Emacs has been updated with native support for JSON parsing, built-in support for arbitrary-size integers, and text shaping with HarfBuzz.

Emacs is the GNU project’s text editor. It can be extended and customized, and comes with an interpreter for Emacs Lisp. GNU Emacs was created  in the 1980s by Richard Stallman as a free software alternative to the proprietary Gosling Emacs. It is based around a Lisp interpreter and has been under constant development for over 30 years. It was last updated in 2018.

emacs

The improvements to the new release start with the native support for JSON parsing. This comes as part of the support for version 13 of the unicode standard, and while you could get JSON support in Emacs before this, it is now enabled by default, and there are some new JSON functions for serialisation, insertion, parse string and parse buffer, all of which are much faster than the equivalent Lisp predecessors.

The second improvement is a move away from ImageMagick for basic image transformations to using HarfBuzz, which is a tool that is also in use in GNOME, KDE, and Android for text rendering. Using the HarfBuzz library allows programs to convert a sequence of Unicode inputs into properly formatted and positioned glyph output. ImageMagick has also been dropped for displaying images due to 'security concerns'. Instead, Emacs now supports standard transformations without the library., though users of GNU and Unix systems will need to use either Cairo or the XRender extension to be able to perform image transformations. 

Cairo, GNU's vector graphics library. has been moved to be the default drawing tool rather than being experimental. Elsewhere, Emacs now works with arbitrary-size integers, and uses the GNU Multiple Precision library GMP by default. There are also new commands in the editor for easier working with the tab bar and lines.

The final change of note is that Emacs now supports the XDG convention for init files, and has added support for an early init file that can be used to customize how your package system is initialized.

emacs 

 

More Information

Emacs 27 Release Announcement

Related Articles

//No Comment - Vim And EMACs

Which Code Editor Do Devs Prefer?

GNU Emacs 24.4 Released  

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


Valkey's Expanding Ecosystem
10/10/2024

Valkey, heralded as a better alternative to Redis, has taken the industry by storm. Reinforcing its superiority, a rapidly growing ecosystem is being built around it.



Mastering LLMs With Experts
22/10/2024

A freely available set of workshops and talks on the essentials of LLMs, taught by practitioners. The topics include Evals, Retrieval-augmented-generation (RAG), Fine-tuning etc.


More News

espbook

 

Comments




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

Last Updated ( Tuesday, 25 August 2020 )