_Vi

joined 2 years ago
[–] _Vi@lemmyrs.org 1 points 2 years ago (1 children)

Playground link is mangled as well: I needed to manually replace &s with & to make it load the gist.

[–] _Vi@lemmyrs.org 3 points 2 years ago

I asked in the Rust Discord channels and it seems like my approach is fine. Even the mutable version is okay and doesn’t need to be unsafe if it returns the reference with self’s lifetime.

Then maybe publish it as a mini-crate (e.g. any-slice), ideally with a link to the discussion that proves that it is sound.

[–] _Vi@lemmyrs.org 1 points 2 years ago* (last edited 2 years ago) (3 children)

Note: both code fragments and links contain things like & which makes them inoperable as is.

[–] _Vi@lemmyrs.org 2 points 2 years ago (2 children)

Is anyvec crate of relevance?

[–] _Vi@lemmyrs.org 1 points 2 years ago

Now also as an Android app: https://github.com/vi/wgserve

UI/UX is currently bad, though.

14
submitted 2 years ago* (last edited 2 years ago) by _Vi@lemmyrs.org to c/networking@sh.itjust.works
 

Allows to share network (i.e. act like a VPN server) without root access by combining user-space Wireguard library and user-space TCP/IP stack.

[–] _Vi@lemmyrs.org 6 points 2 years ago* (last edited 2 years ago) (2 children)

Is (or will) Ferrocene be open source?

... exclusive early access to Ferrocene releases ...
exclusive

This phrase look suspicious, as "open source" and "exclusive" typically does not mix well.

Will it be a special version of rustc with private bugfixes, like in ~"we have fixed 19 bugs in rustc that can lead to miscompilations in your missing-critical program, so you better pay us for better private rustc instead of using buggy upstream version"~?

Or will publicly available source code be exactly the same as in certified version of the compiler, with the difference only being the legal warranties?

Or will it follow something like grsecurity model, i.e. technically open source, but please do not distribute (lest lose the subscription).