Skip Navigation
Google says replacing C/C++ in firmware with Rust is easy
  • And yet, most of the world still runs on the same five languages: C, Java, C++, C#, JavaScript.

    Did you just assume that those languages exists since the dawn of computing? Or they run the world as long as they came to existence and were never "the new thing"? You are just contradicting yourself at this point to defend yourself from anything you don't want to accept.

  • Google says replacing C/C++ in firmware with Rust is easy
  • mindlessly chanting “tools”

    That's what you were doing in the first place. Instead of evaluating and trying new things, you are putting them in an imaginary cycle, ignoring any actual value that they brings.

    Also Rust has been on your "stage 2" for 10 years. It's now widely used in multiple mainstream operating systems for both components and drivers, driving part of the world's internet stack, and is used to build many of those "shiny and new tools".

  • What are your opinions of Guix?
  • You can use Nix on Guix System and vice versa, but it's like installing them as a package manager on a foreign system. The store and packages currently are completely isolated between the two, although there's a very early plan for a common store interface.

  • Redox OS - an OS built entirely out of Rust
  • I think there's no need to stick with one particular language. It benefits to learn more languages and bring the "good parts" of their design into your code whatever you are writing it in.

    Btw It happens that I've learned a bit of RISC-V, with Rust.

  • Redox OS - an OS built entirely out of Rust
  • 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.

  • Redox OS - an OS built entirely out of Rust
    1. breaks compatibility
    2. breaks compatibility
    3. breaks compatibility
    4. hard to add without breaking compatibility

    Then we arrive at Rust as a natural outcome.

    And it's of course possible to migrate to Rust from C or C++ progressively, fish has almost got it done.

  • Deleted
    *Permanently Deleted*
  • 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 :)

  • [Old 1997 story] The Greatest OS That (N)ever Was
  • A git server don't need to know email to work, and it is not required to have a git server. Email in this workflow is an alternative to a PR: contributor submit a set of commits to the maintainer (or anyone interested). Then the maintainer is free to apply or merge the commits. After that the code can be pushed to any servers.

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)SP
    Spore @lemmy.ml
    Posts 0
    Comments 52