3 ms·
As someone who is new to configuration-based langages, how is Jsonnet different from Dhall? Do they fill the same niche? Does Jsonnet offer similar guarantee of
by rrampage 8y ago
As someone who is new to configuration-based langages, how is Jsonnet different from Dhall? Do they fill the same niche? Does Jsonnet offer similar guarantee of termination of the config programs like DHall?
- ithkuil 8y agounlike DHall, Jsonnet is Turing complete and untyped. In a way that might make it a bit easier to approach but harder to reason about your configs.
- sparkprime 8y agoTermination is a red herring, the real problem you want to be worried about is configs that take more CPU / RAM than you have spare. Restricting to primitive recursion does not help there. See https://landing.google.com/sre/workbook/chapters/configuration-specifics/#guarding-against-abusive-configuration https://landing.google.com/sre/workbook/chapters/configurati...