Misc¶
https://docs.python-guide.org/writing/gotchas/
https://stackoverflow.com/questions/101268/hidden-features-of-python
- The
int
type in Python 3 is unbounded, which means that there is no limit on the range of integer numbers that anint
can represent. However, there are still various integer related limits in Python 3 due to the interpreter's word size (sys.maxsize
IDE for Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Visual Studio Code
-
The rust-analyzer extension seems to be a good option.
-
Rust extenstion (rust-lang.rust) is another posssible extension for Rust but does not work as well as rust-analyzer .
RustRover …
Write Unsafe Code in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Unsafe Rust: How and when (not) to use it
Rust's Unsafe Code Guidelines Reference
Unsafe Code Guidelines https://github.com/rust-lang …
Take Screenshot in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
scrap
scrap makes screen capture easy!
captrs
captrs is a library for cross-platform screen capture in Rust. Uses dxgcap for capture on Windows via the Desktop Duplication API, and X11Cap for …
Async in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
- Combining asynchronous code with synchronous code that can cause blocking is never a wise choice.
When calling asynchronous code from a synchronous context,
use
futures::executor::block_on
and spawn the async …
Dev Tools for Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Online Tools
Rust Dev Tools
cargo-show-asm
cargo-show-asm is a cargo subcommand showing the assembly, LLVM-IR and MIR generated for Rust code …