This isn’t Linux, but Linux-like. Its a microkernel built from the rust programming language. Its still experimental, but I think it has great potential. It has a GUI desktop, but the compiler isn’t quite fully working yet.

Has anyone used this before? What was your experience with it?

Note: If this is inappropriate since this isn’t technically Linux, mods please take down.

  • LoETR9@feddit.it
    link
    fedilink
    arrow-up
    1
    arrow-down
    13
    ·
    11 months ago

    I feel like C++ is as competent as Rust for any project and it’s definitely older.

    • xor@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      10
      ·
      11 months ago

      Not sure I can think of anything I’d enjoy less than trying to build a web app in cpp

    • weclaw@lemm.ee
      link
      fedilink
      arrow-up
      7
      ·
      11 months ago

      Before using Rust I was using C++ for most projects and while it is a really powerful language there were some big problems:

      • no standard build system, most projects use cmake or meson and vendor dependencies with the projects. These build systems were really hard to learn (especially cmake, meson is easier). There are package managers these days such as conan and vcpkg but there is not really one standard way to build programs like in rust.
      • error messages were really hard to understand, especially when the project uses templates
      • it felt like 3 languages in one, projects written before c++11 differ greatly from c++11 and up
      • some of the new language features have really weird syntax, for example lambdas
      • some people say that rust is hard, but modern c++ is considerably harder to learn, just look at the list of modern c++ features: https://github.com/AnthonyCalandra/modern-cpp-features, you have to know the different pointer types (unique_pointer, shared_pointer etc.), templates, rvalue references and move semantic, exceptions, constexpressions and the list goes on
    • Wooki@lemmy.world
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      11 months ago

      Rust was created because c++ was so bad. Just take a look at crates they need a whole lot less maintenance because less bugs.

      • LoETR9@feddit.it
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        11 months ago

        My point wasn’t that C++ is good. My point was that C++ can and is used everywhere (desktop applications, web applications, OSs,…) and is older than Rust. So I feel that “this is the first general purpose language that can be used for all projects” is false. Probably “this is the first general purpose language that I (and many others) like to use for all projects” is true, but is a different claim.

        TLDR: You said Rust was first language capable of system, app and web, it isn’t.

        • Wooki@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          11 months ago

          It is good and rust improves on its gaping weaknesses.

          Yeah I never made that claim the threads OP did.