226 private links
This paper presents a comparative study between C and Rust in terms of performance and programming effort
That’s where the main usage of #[inline] comes from — it enables cross-crate inlining.
The benefit is not without a cost — the compiler implements this by compiling a separate copy of the #[inline] function with every crate it is used in, significantly increasing compile times.
Okay 👌
And 5 tips about good inlining
I don't think rustc has ever met a function it didn't like to inline.
🤣
LLVM's inlining heuristic is "yes".
I recall finding out that Servo's style system ends up being mostly a 100k-loc assembly function because of this.
🤯
Could be useful. The simple way to run all tests in one thread only via -- --test-threads 1
, or only some tests via the serial_test crate.
Ever added a todo based on an open issue (perhaps in one of your dependencies)? Track the issue and be warned when it is closed!
Rust is officially supported on GNU/Linux. The project is hosted on Github
👍
Generate a regex based on examples 👍
Transform a regex to a filesystem 😮
For fun only !
Similar to BeautifulSoup ! ❤️
Some arguments against, because it is good to have different point of view; or at least knowing what can be improved 😄
Don't start leaning Rust by implementing a doubly linked list or a graph !
Un autre article expliquant les premiers concepts de Rust. Pour une fois, c'est de la pratique en évitant l'ownership/borrowing, lifetime, etc...
An faster alternative to nvm !
Small but efficient post !
Rust is between C and C++, close to the c++.
Maybe programs contributed to the project as part of a concerted language advocacy and marketing strategy, benefit from more programmer hours spent on program optimization.
We don't know yet.
Chaque langage à ses avantages et a été crée pour une raison ! Les deux langages sont passées ici en revu