At first glance you can just use static variable of a type supporting interior mutability - RefCell, Mutex, etc…
It looks like you have JavaScript disabled. This web app requires that JavaScript is enabled.
Please enable JavaScript to use this site (or just go read Hacker News).
At first glance you can just use static variable of a type supporting interior mutability - RefCell, Mutex, etc…