Apple just launched a new open-source programming language

coding
(Image credit: Shutterstock / Gorodenkoff)

Apple has released Pkl, a new open source ‘embeddable configuration language’, hoping to take the stress out of ‘small to large, simple to complex, ad-hoc to repetitive configuration tasks’.

Launched on February 1 2024 into version 0.25, the tech giant’s team have provided a quick tour of the language in a text post on the Pkl documentation website.

Per that tour, Pkl is designed around a key value structure, in a manner akin to JSON, rather than imperative instructions like many other traditional programming languages, Apple has designed Pkl to specialise in configuration, along with a few neat quality-of-life features to turn heads. Indeed, Pkl supports JSON, XML, and YAML property lists at launch to generate static configuration files.

The Jumbo 2023 Javascript Bundle Was $371 Now $39.99 at StacksocialSave 89%

The Jumbo 2023 Javascript Bundle Was $371 Now $39.99 at Stacksocial
Save 89% Get 7 courses covering hundreds of lessons  and 42 hours of video training delivered by expert trainers from Skillsuccess and accessible anywhere and at anytime.

But wait, there’s more

However, Pkl wants to be more than just a helping hand in your configuration pipeline, and claims that Pkl can stand on its own as a ‘safe, easy, and enjoyable to use’ configuration library. Although it’s only been four days, at time of writing, since Pkl’s first version release, language support is available for Java, Kotlin, Swift and Go, with more, with any luck, on the way.

“In the future, we hope to add support for other popular languages and platforms, realizing our vision of a polyglot config solution based on a single config language.”

Apple seem very excited about something so very niche, but good for them, I suppose. It does seem like a novel way of setting out a programming language, so even if we’re not talking about Pkl in however many years the same way we do Python (which you should learn, actually, as it’s surprisingly down to Earth and very versatile), we can at least note here, now, that it’s a creative solution to what I’m sure is someone somewhere's problem.

Hello, Apple marketing department, can you hear me?

Yes, okay, this is very niche stuff, but for anything to be successful, it’s helpful to have a unique name or acronym. ‘Pkl’ is cute, we all like pickles, and, to be fair, it’s easily memorable on that basis. But will something this niche ever supplant the dreaded Google SEO for the Pro Kabaddi League, or a place in the UK that will do up your kitchen? Only time will tell.

So far, only searching ‘pkl apple’, which I only knew to do because this story was there in our news list when I staggered in this morning, gets you the one we’ve all been waiting for: the Github page for the language, containing a link to the relevant documentation for getting started with the Pkl command line interface, available on macOS, Linux, Alpine Linux, and Java.

While Java will ensure multi-platform support, this comes with caveats: it ‘requires a Java 8 (or higher) runtime on the system path, has a noticeable startup delay, and runs complex Pkl code slower than the native executables.’

More from TechRadar Pro

TOPICS
Luke Hughes
Staff Writer

 Luke Hughes holds the role of Staff Writer at TechRadar Pro, producing news, features and deals content across topics ranging from computing to cloud services, cybersecurity, data privacy and business software.

Read more
Apple’s new Invites app gives iCloud Plus subscribers an easier way to organize parties – and Android fans are invited too
I tried Apple's new AI-powered Invites app, but I'm not sure why anyone else would
Ai tech, businessman show virtual graphic Global Internet connect Chatgpt Chat with AI, Artificial Intelligence.
Apple is the biggest winner of DeepSeek’s new AI breakthrough
Apple Intelligence screenshots
How to use Apple Intelligence: Get started with Apple AI
Pika on iOS
One of the best AI video generators is now on the iPhone – here's what you need to know about Pika's new app
Parallels Desktop 20.2
This software may finally kill Windows on desktops for good, and I think Apple should buy it now
Computer programming code. Programming code abstract technology background of software developer and Computer script.
Best text editor of 2025
Latest in Pro
Finger Presses Orange Button Domain Name Registration on Black Keyboard Background. Closeup View
I visited the world’s first registered .com domain – and you won’t believe what it’s offering today
Racks of servers inside a data center.
Modernizing data centers: an efficient path forward
Dr. Peter Zhou, President of Huawei Data Storage Product Line
Why AI commonization is so important for business intelligent transformation and what Huawei’s data storage has to offer
Wix automation
The world's leading website builder aims to save businesses time with new tool
Data Breach
Thousands of healthcare records exposed online, including private patient information
China
Juniper patches security flaws which could have let hackers take over your router
Latest in News
A super close up image of the Google Gemini app in the Play Store
It's official: Google Assistant will be retired for phones this year, with Gemini taking over
Quordle on a smartphone held in a hand
Quordle hints and answers for Sunday, March 16 (game #1147)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Sunday, March 16 (game #378)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Sunday, March 16 (game #644)
Three iPhone 16 handsets on show
Apple could launch an iPhone 17 Ultra this year – but we've heard these rumors before
Super Mario Odyssey
ChatGPT is the ultimate gaming tool - here's 4 ways you can use AI to help with your next playthrough