Seems like this distro is getting a lot of traction recently. Has anyone tried it? Is it any good?

  • Atemu@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    It’s also a proper functional programming languages with all bells ans whistles that brings

    It’s really not. It has no runtime for starters; it’s a pure expression language. It can’t i.e. read stdin, open a socket or do an arbitrary syscall.

    The end result is always data. You could and can turn every sensible evaluation of Nix into JSON.

    There are indeed side-effects but they’re indirect; implied by the data that is the actual end result of an evaluation of Nix expressions. If your expression evals to a derivation (data), Nix will create a .drv file for you for example. They’re well defined and not arbitrary though.