Show HN: CEL by Example

celbyexample.com

48 points by bufbuild 5 hours ago


d4mi3n - 4 hours ago

I've seen but haven't used CEL. Anybody with experience with competing tech have any strong opinions? I've used OPA, know CEL used by GCP and Kyverno, but otherwise haven't seen anything compelling enough to move away from the OPA ecosystem.

hamandcheese - 4 hours ago

Does CEL have any way to import other files? i.e. could it serve as a general purpose config language like jsonnet?

madduci - 2 hours ago

CEL is used a lot in FHIR as Path Expressions

bossyTeacher - 3 hours ago

I would love if languages like Scala, Swift or F# had something like Cel but running at compile time so your program was evaluated against those restrictions. I believe a language called Idris has something like this

IshKebab - 3 hours ago

It seems weird to require an entirely new programming language for this tbh. They make the claim that it is special because it's not Turing-complete, but that's nonsense. Turing completeness is almost never a property that is important. I think in this case they're equating Turing incompleteness with "doesn't take a long time to execute" but that isn't really the case at all.

The property you really want is "can be cancelled after a certain amount of compute time - ideally a deterministic amount", and you can obviously do that with Turing complete languages.