Seems like an interesting language, but I'm very disappointed that my first attempt to view example code took 5 clicks. The most important part of any programming language website is a short example snippet: put it above the fold on the front page!
Cue – A language for defining, generating, and validating data
31–40 of 167 posts
Re: Cue – A language for defining, generating, and validating data
#32How does this compare to jsonnet or hocon? Why would someone choose this over generating configuration files with a “scripting” language like python?
Both Jsonnet and CUE have their origin in GCL internally at Google. Jsonnet is basically GCL, as I understand it. But CUE is a whole new thing.
Re: Cue – A language for defining, generating, and validating data
#33Re: Cue – A language for defining, generating, and validating data
#34my time at Google has made me hate GCL so much.
I was going to say, this looks a lot like GCL. Dynamic scope, recursive lookup in parent scopes, templates [1], everything. GCL is neat and all, but I'd almost rather write my job configs by building thin python or lisp scripts to emit json or protos. 1: https://github.com/cuelang/cue/blob/master/doc/tutorial/basi...
Re: Cue – A language for defining, generating, and validating data
#35Earlier quoted context omitted.
So it’s a google branded yaml? Let’s raise a glass to our blue eyed comrades who’ll adopt this fully, only for google to decide in 2-3 years to completely and aggressively kill it again for no apparent reason.
Pardon for slamming my ignorance down on the table here: I know Google has a tendency of killing products but I’m not familiar with many of their engineering tooling being similarly sunset with comparable frequency. Any named examples? I’m sure there are-and likely they just elude me at present, maybe seeing their names will jog the memory probably?
Re: Cue – A language for defining, generating, and validating data
#36This might cause confusion with cuesheets, which already exist and have the same extension: https://en.m.wikipedia.org/wiki/Cue_sheet_(computing)
Re: Cue – A language for defining, generating, and validating data
#37Seems like an interesting language, but I'm very disappointed that my first attempt to view example code took 5 clicks. The most important part of any programming language website is a short example snippet: put it above the fold on the front page!
I couldn't find anything after like a minute of searching. Unless we're counting the gif that slowly shows you an example project letter by letter.
Re: Cue – A language for defining, generating, and validating data
#38The post title is misleading. This is a more of 20% project, not an officially Google supported one.
There's no difference.
Re: Cue – A language for defining, generating, and validating data
#39my time at Google has made me hate GCL so much.
I was going to say, this looks a lot like GCL. Dynamic scope, recursive lookup in parent scopes, templates [1], everything. GCL is neat and all, but I'd almost rather write my job configs by building thin python or lisp scripts to emit json or protos. 1: https://github.com/cuelang/cue/blob/master/doc/tutorial/basi...
This is what Facebook does: Python emitting JSON.