Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps¶
- You should avoid using lifetime annotation as much as possible especially in public APIs. Leveraging smart pointers is a good approach to elide lifetime annotations. For more discussions on this, please refer to Smart pointers: The secret to write clean Rust code
Webassembly as An Alternative to Containers
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Global Data in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
The GitHub repository global-data-in-rust has a guide explaining how to use "global data" in Rust.
References
Use Tauri to Build a Desktop Application
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tauri is a framework for building tiny, blazing fast binaries for all major desktop platforms. Developers can integrate any front-end framework that compiles to HTML, JS and CSS for building their …
Develop Macros in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!