Elektrine lite

← Feed

@Ephera@lemmy.ml

2026-10-26 09:49 UTC

Because they take away tons of libraries I normally use. For example, for querying low-level system information (like I imagine you need to do a lot in systemd), I’d normally use the nix library. If I can’t do that, I have to use libc directly. Well, and write a wrapper for it, if they don’t already have one. So, I don’t want to say it would be extremely hard, but it would still mean learning a different way of doing things…

Replies (2)

  • @badmin@lemmy.today 2026-10-26 10:44

    rustix supports no_std. spin too. And there are others. Those are the good low-level crates. A hard dependency on std is itself an indication that a crate is not really low-level. The announcement doesn’t say core only btw. alloc is there too which is very relevant. So this doesn’t filter out anything from the no_std world. But this is all about ecosystem choice subtleties, not some change in how the language itself is used, which is why I found your comment amusing.

    Open ##5254440

  • @Cryxtalix@programming.dev 2026-10-26 11:02

    Are we talking no_std rust or something else?

    Open ##5254622