News for hackers. Stuff that matters.
Re:Apple releases Pkl – configuration as code language by snom380 on Saturday February 03, 2024 @07:28AM (#39239708)
Why assume it's a greenfield project? I would think most open source software that comes out of companies have lived internally for a while before going public?
Re:Apple releases Pkl – configuration as code language by OJFord on Saturday February 03, 2024 @07:42AM (#39239824)
Fair point.
Re:Apple releases Pkl – configuration as code language by rcarmo on Saturday February 03, 2024 @08:37AM (#39240214)
This. I’m willing to bet I talked to one of the people who use this internally at Apple a few years back when I interviewed there (before they decided to do away with remote hires). They didn’t mention it, but it fits the context.
Re:Apple releases Pkl – configuration as code language by p10jkle on Saturday February 03, 2024 @09:03AM (#39240417)
Yes, I was using it when I joined Apple in mid 2020
Re:Apple releases Pkl – configuration as code language by 3np on Saturday February 03, 2024 @10:36AM (#39241283)
Don't leave is hanging, how was your experience?

(Pkl, not Apple :p)

Re:Apple releases Pkl – configuration as code language by p10jkle on Saturday February 03, 2024 @11:56AM (#39242169)
I absolutely loved it and I’ve been extremely impatient to see its release. I used it to generate k8s manifests, Terraform, all infra config files. Very flexible and fun to use
Re:Apple releases Pkl – configuration as code language by flumpcakes on Saturday February 03, 2024 @05:22PM (#39245363)
Do you know of any public resources about it's use cases?, other than the one linked in this submission of course.

What bout Pkl made it easier to write Terraform/K8s manifests/etc.?

Re:Apple releases Pkl – configuration as code language by cduzz on Sunday February 04, 2024 @08:52PM (#39256413)
I looked around and couldn't make sense of how to write out random config files like I manage with puppet and ERB files.

Are there any reasonable examples of such?

Re:Apple releases Pkl – configuration as code language by giancarlostoro on Saturday February 03, 2024 @09:45AM (#39240783)
Additionally I cant think of other such projects from Apple. They tend to build things that get used extensively till the end of their life is consumed.

I wish Apple would continue to open source much more. Especially old software much like Microsoft does. I would kind of enjoy a Linux Distro that can natively run old Apple software and tools.

Re:Apple releases Pkl – configuration as code language by samatman on Saturday February 03, 2024 @02:10PM (#39243657)
Clang leaps to mind. Most of LLVM was developed under Apple's auspices, although the project predates Apple hiring Chris Latner. Swift is also open source, although in practice it's almost always used in a macOS context. Which I think is a shame, it's a great language for writing the sorts of servers for which people usually reach for Go.

That's not a complete list of programs Apple has open-sourced, although clearly open-source software isn't what they're best known for. But clang alone is a worthy contribution which deserves to be recognized.

Re:Apple releases Pkl – configuration as code language by stock_toaster on Saturday February 03, 2024 @03:07PM (#39244228)
FoundationDB was open sourced a few years after they bought it too.