228 private links
Nice done!
Pain in C++
- tools and compiler/platform differences
- ergonomics and (thread) safety
- community
Why Rust?
- fun & cool: better for a hobby project. It is a need.
- Great tooling
- Options are easier to use than C++'s pointers
use
system over#include
- simpler dependency management
- killer feature is Send and Sync, statically enforcing rules around threading.
Ship of Theseus strategy for the rewrite: component by component. The fish app should work exactly the same.
So if you are trying to draw any conclusions from this, consider the context: A group of people working on a thing in their free time, diverting some effort to work on something else, and deciding that after the work is finished it actually isn’t.
Gripes with Rust
- portability between OS: it allows to miss systems and ignoring version differences
- string translation and localization: format! are checked at compile-time
- building to other targets: "it is often better to use if
cfg!(...)
instead of#[cfg(...)]
because code behind the latter is eliminated very early, so it may be entirely wrong and only shows up when building on the affected system.
They also report mistakes they made.
There are good with quick-wins of the port to Rust. There is also some sad ones: CMake is not removed yet. Cargo is missing some features to install third dependencies (.fish scripts, 130 pages of documentation, the web-config tool and the man page generator).
Cygwin is not a supported platform.
Trouvé via https://www.bortzmeyer.org/whois-mobi.html
Cela peut être un bon entraînement de le réécrire en #rust #RIIR.
Oh wait https://gitlab.rd.nic.fr/afnic/code-samples/-/tree/main/API/Rust/src?ref_type=heads
Idea : rewrite it as a rust command :)
Rewrite JS projects in Rust with WebAssembly
Build a CLI tool, check with the other existing tools and make a UI for it. It can include a preview for example.
The project is no longer maintained, and a comparison exists with other tools: https://github.com/coolwanglu/pdf2htmlEX/wiki/Comparison
Record your terminal and generate animated gif images or share a web player.
Available at https://github.com/faressoft/terminalizer
Edit: the project is slowly maintained. #RIIR ?
Créer une sauvegarde selon un fichier de config dans le dossier concerné semble être une bien bonne idée ! 👍
L'outil est toujours maintenu (dernière version de 2022).
Lien de la documentation: https://autoarchive.sourceforge.io/doc/user/index.html
:o
timefind lets you find the exact moment that something was added to a website.
It quickly flips through Web Archive snapshots using binary search, pinpointing the date of the modification.
👍
An faster alternative to nvm !