• 0 Posts
  • 53 Comments
Joined 1 year ago
cake
Cake day: June 3rd, 2023

help-circle









  • I’d say no. Programming safely requires non-trivial transformation in code and a radical change in style, which afaik cannot be easily done automated.

    Do you think that there’s any chance to convert from this to this? It requires understanding of the algorithm and a thorough rewrite. Automated tools can only generate the former one because it must not change C’s crooked semantics.






  • Spore@lemmy.mltoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    8 months ago

    It kinda fills a niche.

    I use fish for simple command pipelines as well. But traditional shells are not as good when I need to do anything “structured”, because they treats almost any value as a string and don’t have anonymous functions. The first problem means that you have to parse a string again and again to do anything useful, the second means that when both pipe and xargs fails you are doomed.
    Nu solves both of the big problems that matters when you want to do rather complex but ad-hoc processing of data. And with a rather principled design, nu is very easy to learn (fish is already way better than something POSIX like bash though).

    Personally another important reason is that I have a Windows machine at work and nushell is much easier than pwsh.

    Btw fish is also going to be a “tool in rust” soon :)