this post was submitted on 14 Feb 2024
19 points (95.2% liked)

Technology

59398 readers
2563 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

Apple released a new open-source programming language, described as: Configuration that is Programmable, Scalable, and Safe.

It can translate the configuration to already existing configuration languages such as JSON, YAML, and others.

You can also embed those configuration files in some programming languages and produce code from them.

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 9 months ago

Is this too much voodoo for the next 20 years? Probably yes!

[–] [email protected] 1 points 9 months ago

You can open source anything, really. This is just not useful in an ecosystem of Apple-only bullshit. Who cares if it's open?

[–] [email protected] 1 points 9 months ago

Just looks like YAML plus JSON to me. What's the big deal?

[–] [email protected] -1 points 9 months ago (1 children)

I wonder if this language has any other purpose other than Apple to have more control over how the applications are written for their platforms

[–] [email protected] 2 points 9 months ago* (last edited 9 months ago) (1 children)

Huh? No. This is a really simple tool - you type text into a file, and save that file on your disk. Other things read the file. Thee's no "control" anywhere to be seen.

Apparently Apple has been using Pkl internally for years, and they've decided to do the world a favour by making it publicly available... probably because they want to use it for public projects too, instead of just their internal ones.

[–] [email protected] 1 points 9 months ago

I doubt Apple open sourced it to the world as a "favour".