Re:Introducing Google Cloud Container Builder
by kmicklas on Monday March 06, 2017 @06:32PM
(#13807076)
Agreed, Nix the language is probably unnecessary. (The main benefit I can think of is avoiding depending on the moving target that is basically any other scripting language they could have tried to co-opt.)
[ Parent
| on HN ]
Re:Introducing Google Cloud Container Builder
by dottedmag on Tuesday March 07, 2017 @03:29AM
(#13809050)
To be fair, Nix language is completely different from other languages out there -- it employs only immutable data structures -- so using another language would not be possible.
It does not excuse Nix to have such a braindamaged^W esoteric syntax.
Re:Introducing Google Cloud Container Builder
by kmicklas on Tuesday March 07, 2017 @02:59PM
(#13814139)
> To be fair, Nix language is completely different from other languages out there -- it employs only immutable data structures -- so using another language would not be possible.
I don't think the immutability is actually important. Only derivations (which are basically language agnostic) need to be immutable/hashable.
> It does not excuse Nix to have such a braindamaged^W esoteric syntax.
What's so bad about it? The main pain point I've found with it is the lack of documentation for builtin functions. The syntax seems fine to me.
Re:Introducing Google Cloud Container Builder
by derefr on Friday March 10, 2017 @06:49PM
(#13843156)
A programming language that "employs only immutable data structures" is effectively a macro processor language, no? Like https://en.wikipedia.org/wiki/M4_(computer_language) .
Re:Introducing Google Cloud Container Builder
by ithkuil on Tuesday March 07, 2017 @11:53AM
(#13811984)
Jsonnet is the closest I could find.
Re:Introducing Google Cloud Container Builder
by arghimonmobile0 on Monday March 06, 2017 @10:03PM
(#13807959)
I feel like I should plug Guix at this point. Pretty much similar to Nix, but the config language is Guile, which is Scheme.