rust

Css Light and Dark Theme

2 minute read Published: 2023-03-28

Dark themes provide significant benefits for user experience and accessibility, particularly for users who experience eye strain from bright displays This document details a robust approach to implementing theme switching in Rust web applications without relying on heavy UI frameworks.

Rust Ownership

3 minute read Published: 2020-12-20

Program execution requires persistent storage of intermediate results to support sequential instruction execution. This stateful memory must be carefully managed across concurrent program executions, a task traditionally handled by operating systems through system calls (e.g., brk/sbrk). Programming languages provide abstractions over these mechanisms to enable safer memory management strategies.