255 private links
Compiling Rust with GCC?
Follow up: https://blog.antoyo.xyz/development-rustc_codegen_gcc-2
I didn't read but it can be useful someday.
Source code: https://github.com/rust-adventure/lets-code-cli-config/blob/main/src/main.rs
Idea from the comments: Look into unwrap or default and implement the default trait, it cleans up the clutter from where you call unwrap_or
A small crate to check which directory
The library provides the location of these directories by leveraging the mechanisms defined by
- the XDG base directory and the XDG user directory specifications on Linux,
- the Known Folder system on Windows, and
- the Standard Directories on macOS.
It can be a good idea.
How the ZIP format has exceptions and sans-io is justified.
Sans-IO is a programming design does not dictate how the implementation runs, but only what to do (as far as I understand).
The dependency inversion principle says that policies (what to do) should not depend on implementation details (how to do it) ‒ https://www.firezone.dev/blog/sans-io#:~:text=the%20dependency%20inversion%20principle%20says%20that%20policies%20(what%20to%20do)%20should%20not%20depend%20on%20implementation%20details%20(how%20to%20do%20it)
First things first, you’ll need an account on crates.io to acquire an API token. To do so, visit the home page and log in via a GitHub account (required for now).
Free software is too dependent on MicrosoftHub but for Rust libraries, it is worse, a MicrosoftHub account is mandatory: "log in via a GitHub account (required for now)" I believe it is the only big programming language in that case?
(via https://mastodon.gougere.fr/@bortzmeyer/114008682103118141)
So dynamic-linking saves us about 11%11% of build time in incremental case.
This time dynamic-linking saves us 0.25 seconds, or about merely 5%5%.
A blazingly fast, open-source backend with type-safe REST & realtime APIs, built-in JS/ES6/TS runtime, SSR, authentication, and admin UI built on Rust, SQLite & V8.
Simplify with fewer moving parts: an easy to self-host single-executable with everything you need to focus on your mobile, web or desktop application. Sub-millisecond latencies eliminate the need for dedicated caches, no more stale or inconsistent data.
About the new Anki algorithm to schedule flashcard reviews. I didn't read it yet, but it can become handy.