Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A commenter in another thread raises a good point: why not Starlark? https://github.com/google/starlark-go

Starlark is so, so good by comparison to Cue.



I have not used starlark, but to me it looks like a cleaner competitor to hcl. It can be used to generate verbose configs. It doesn't seem to enforce types and constraints on the fields. Surely there must be a way to do that using skylark..?

But in cue types and constraints are just another form of values.

Cue is a nicer jsonSchema competitor in which valid json is also valid cue


I’ve done a lot with Starlark, but my big beef is the lack of types. Cue aspires to be declarative which I never find myself reaching for, but maybe that’s just for lack of experience with the declarative category of tools.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: