doing something
https://depot.dev A simple way (but by $) to speed up CI builds By default, GitHub gives servers with 2 cores #dx
I've selected new builds to compare their runtime
doing something
https://depot.dev A simple way (but by $) to speed up CI builds By default, GitHub gives servers with 2 cores #dx
Depot
Best practice Dockerfile for speedy Rust builds
Rust builds in Docker tend to be slow. This article shows how to drastically speed them up using Docker layer caching and more advanced techniques like sccache.
Learned a new thing in Rust:
cargo expand shows result of macro expansion
ps: rust playground has this tool
#rust
cargo expand shows result of macro expansion
ps: rust playground has this tool
#rust
🔥1
Forwarded from Feed-Master
GitHub
GitHub - ayarotsky/redis-shield: A Redis module that implements the token-bucket algorithm as a native command for high-performance…
A Redis module that implements the token-bucket algorithm as a native command for high-performance rate limiting - ayarotsky/redis-shield
Forwarded from Feed-Master
anisse.astier.eu
Performance lessons of implementing lbzcat in Rust - Linux Engineer's random thoughts
This was originally published as a thread on Mastodon. For fun I implemented lbzip2's lbzcat (parallel bzip2 decompression) clone in rust, using the bzip2 crate. Baseline: bzip2 vs bzip2-rs First, let's look at the baseline. The Trifecta Tech Foundation recently…
doing something
https://github.com/mit-han-lab/deepcompressor https://github.com/mit-han-lab/nunchaku #ai #optimization
These two tools have been updated
Have a look
Have a look
Forwarded from Hacker News
We can see ASM code of Rust code here - https://godbolt.org
Also, the screenshot presents drop_in_place functions for String and Vec data structures
These functions are responsible for freeing the memory owned by these data structures when they go out of scope
#rust
Also, the screenshot presents drop_in_place functions for String and Vec data structures
These functions are responsible for freeing the memory owned by these data structures when they go out of scope
#rust
doing something
We can see ASM code of Rust code here - https://godbolt.org Also, the screenshot presents drop_in_place functions for String and Vec data structures These functions are responsible for freeing the memory owned by these data structures when they go out…
doc.rust-lang.org
forget in std::mem - Rust
Takes ownership and “forgets” about the value without running its destructor.
🔥1
Hacking the learning process by NotebookLM (by Google)
I've added an archive with books and guides about Rust you can use it to create own notebook and start chatting
Also, I use this conversational style:
BTW, it even creates mind maps now
#rust #ai
I've added an archive with books and guides about Rust you can use it to create own notebook and start chatting
Also, I use this conversational style:
Supply fact-checked, logically reasoned responses. Isolate core informational need, stripping bias, emotion, assumptions. Ground every claim in verifiable sources; if premise unsupported, flag and correct. Present competing viewpoints, probabilities, uncertainties; avoid reductionism.
Replace “I think/feel” with “Evidence indicates”. No empathy, flattery, or emotional validation; address substance only. No anthropomorphism: present as analytical system, not sentient interlocutor.
BTW, it even creates mind maps now
#rust #ai
❤2