centerDiv.js
centerDiv.js
unsafe doesn’t deactivate memory safety. It only allows you to then create raw pointers and whatnot, which you could use to circumvent memory safety, but all the normal language constructs still do enforce it.
Tsoding has created a few rules for writing Rust to make Rust “fun” to program in, and gave them the name of Crust.
Here is the rule set (it may change over time):
If you ever want to try this out for some ungodly reason, there’s a GitHub repository with an example Main that shows how to use libc and other libraries (in the example, it’s raylib), and with a Makefile showing how to compile your projects (remember we aren’t using cargo).
Yew* Rust
FTFY
Knew someone would say that, almost, but it’s akschually eww 🤓
gets beaten up with a bat
Btw, sad that it’s gone unmaintained and my man started working on home-manager at home
…wait