the.bay.news

Does rust abstract file operations incorrectly?

Rust Internals
Does rust abstract file operations incorrectly?
Introduction I recently got into building a wayland client in rust on linux to get a feel for both linux windowing and rust IPC. I ended up getting stuck on step #1 which was to open a unix socket to a wayland compositor process because part of the requirement for properly doing that involved checking an optional environment variable and (potentially) using the int that would presumably be the value associated with it to acquire a file descriptor (see here). I aimed to do this in a safe (or at l...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.