208 private links
- Smaller footprint for the mutexes
#[derive(Default)]
- cargo add similar to yarn add 👍
- The x86_64-unknown-none target has been promoted to Tier 2
A framework for building a web app in Rust 🤔
May be useful someday.
It's true that the Rust ecosystem is growing and tools are coming. But we lack the knowledge of how we can put things together. Here it fills the gap.
But for macOS only :/
Everyone complains about them [common pain points shared accross programming languages] all the time, but there’s no solution to all of them. With Rust, you’re hearing about a technology that can solve all of them.
It’s hard to measure how much Rust improves things.
That is to say solving it in less than 0.7 seconds
A list of resources on Rust and Wasm :D
Ok so you can write Rust for Node applications ? :D
Another one ! :D
Going down into the mechanics with interesting stuff indeed.
A project to check email, because it is hard to do it by hand !
Une bonne exerience.
« Comme pour le C++, il est quasiment impossible d'écrire un Rust idiomatique sans utiliser de templates, ce qui fait que vous avez des binaires gonflés et des temps de compilation lents. Toutes ces vérifications à la compilation ont également un coût. De plus, si vous réécrivez quelque chose, vous perdez l'ancienne base de code mature, et il n'y a aucune chance que vous puissiez produire une base de code de qualité similaire dans un temps raisonnable - il est bien mieux d'étendre, plutôt que de réécrire, le programme en Rust. Il vaut mieux étendre le programme plutôt que de le réécrire en Rust », explique un ingénieur logiciel.
D'après lui, c'est pour cette raison que les développeurs de Linux, notamment Linus Torvalds lui-même, ont rejeté l'idée de réécrire tout le noyau en Rust. « Mettez un peu de travail pour créer des liaisons sûres, puis écrivez le code supplémentaire en Rust, et vous pourrez toujours profiter de ce code mature. (C'est ce que fait Linux - il y a des efforts pour ajouter la possibilité d'écrire un module de noyau en Rust) », a-t-il ajouté.
Éviter la réécriture complète, mais plutôt améliorer ou ajouter des fonctionnalités en Rust au code éprouvé langage
Avec le lien du projet sur Github: https://github.com/nuta/kerla
Meant to share and edit code online.
Support code highlighting and light/dark theme. The design is a mix of SublimeText and VSCode
and an overview to compiler (AST) part is built.
An error is directly inserted in the AST !
Scalar types are types representing a single value. Moreover primitive types contains scalar types and some others. See: https://doc.rust-lang.org/std/index.html#primitives
Types that have the copy traits are said to have copy semantics. What this means is that when you pass them into a function, you pass a copy of that value into that function.
Non-primitive types do not have the Copy trait by default. This means they are subject to move semantics. When you pass them into a function, you move the value into that function. Without going into details (that I am still learning about myself), this pretty much means that when the function scope ends, the value is destroyed.
There are ways to deal with this, using a reference for instance.
It is the symbol &
that says take the reference
does not compile after a specific condition! Nice 👍