Live data from Hacker News

How CUE Wins (2021)

blog.cedriccharly.com

1–10 of 44 posts

Re: How CUE Wins (2021)

#3
post #2

I think CUE looks great, but right now it's losing because it can only be installed as a package for Go, MacOS and Arch.

The CUE command line tool is written in Go, and works on pretty much any operating system and architecture supported by Go, which now includes almost everything[0], so I am not sure how you came to that conclusion.

If you want to use CUE as a library, you can only do it from Go at the moment. We are acutely aware of this limitation and we are investigating possible solutions.

[0] https://go.dev/doc/install/source#environment

Re: How CUE Wins (2021)

#5
post #3
post #2

I think CUE looks great, but right now it's losing because it can only be installed as a package for Go, MacOS and Arch.

The CUE command line tool is written in Go, and works on pretty much any operating system and architecture supported by Go, which now includes almost everything[0], so I am not sure how you came to that conclusion. If you want to use CUE as a library, you can only do it from Go at the moment. We are acutely aware of this limitation and we are investigating possible solutions. [0] https://go.dev/doc/install/source#env…

Also, the docs need a lot of work

Re: How CUE Wins (2021)

#8
I've been gradually introducing CUE at my workplace. So far I've used it to generate AWS CloudFormation templates, GitHub Actions workflows, and OCI container configs. I'm also using it in git pre-commit hooks to validate files against existing jsonschemas.

Re: How CUE Wins (2021)

#9
post #5
post #3

Earlier quoted context omitted.

The CUE command line tool is written in Go, and works on pretty much any operating system and architecture supported by Go, which now includes almost everything[0], so I am not sure how you came to that conclusion. If you want to use CUE as a library, you can only do it from Go at the moment. We are acutely aware of this limitation and we are investigating possible solutions. [0] https://go.dev/doc/install/source#env…

Also, the docs need a lot of work

We are painfully aware of this, we are rewriting and improving the documentation as we speak and we are also working on a new web site.
Post reply on HN