Operating system interaction - environment variables, hostname, OS information, and CPU count.
All functions are backed by the Rust runtime.
Retrieves the value of the environment variable name. Returns an empty string if not set.
Sets the environment variable name to value. Returns true on success.
Returns the system hostname.
Returns the operating system name (e.g., "linux", "macos", "windows").
Returns the number of logical CPUs available on the system.
load std.os
let path = os.get_env("PATH")
let ok = os.set_env("MY_VAR", "value")
let host = os.hostname()
let osn = os.os_name()
let cpus = os.cpu_count()