-
Hi! Any thoughts on how Pkl compares to
|
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 18 replies
-
I have found "Pkl vs. Other Config Languages" in the documentation. I would like to know whether Pkl is Turing-complete for my list. Is "comparatively powerless" a yes? |
Beta Was this translation helpful? Give feedback.
-
We definitely need to flesh out our comparison page a bit. But, here's some rough thoughts for now: Nickel, Dhall and KCL are the closest in terms of language design. CUE has a different philosophy (types are values, values are types). Jsonnet is also similar, but lacks the ability to express types. I think we have the best IDE experience; it's been around for years and has been polished over time. But, we only have IDE-like editing in JetBrains editors for now, at least until we provide an LSP. One of the things that makes us unique is that we try to target both config generation, and integration into an application. I'm not aware of any other config language that provides codegen for so many different stacks; and our list of supported languages will grow over time. CUE's design is really cool, and is built on some principles that Pkl chose not to have (no turing completeness, and object merging is commutative). On the other hand, Pkl is more focused on ergonomics (we have classes, functions, etc), and writing in Pkl is perhaps more intuitive because of this. And CUE is lacking the IDE-like experience that Pkl provides. |
Beta Was this translation helpful? Give feedback.
-
Hi, this is the author of KCL language. I am glad to see that Pkl is open source. I have read through the Pkl documentation and still really like it. Add some similarities between KCL and Pkl here:
|
Beta Was this translation helpful? Give feedback.
-
Hi, Nickel developer here. Nice to see the configuration language family growing like this! Pkl is very new to me, so I can only give shallow impressions (which might even be wrong, please forgive me if it's the case), but at a first glance:
|
Beta Was this translation helpful? Give feedback.
-
As an outside observer to this space, a comparison to Starlark would also be nice. As far as I can tell Starlark doesn't have types, this seems to be the standout difference, but a general comparison would be great. |
Beta Was this translation helpful? Give feedback.
-
would be nice to see |
Beta Was this translation helpful? Give feedback.
-
Questions for differences with CUE are:
As for code-gen its not built into CUE but there are things being built on top of it to support this: https://github.com/hofstadter-io/hof |
Beta Was this translation helpful? Give feedback.
We definitely need to flesh out our comparison page a bit.
But, here's some rough thoughts for now:
Nickel, Dhall and KCL are the closest in terms of language design. CUE has a different philosophy (types are values, values are types). Jsonnet is also similar, but lacks the ability to express types.
I think we have the best IDE experience; it's been around for years and has been polished over time. But, we only have IDE-like editing in JetBrains editors for now, at least until we provide an LSP.
One of the things that makes us unique is that we try to target both config generation, and integration into an application. I'm not aware of any other config language that provides codegen for so…