207 private links
Outline:
Using a BKTree data structure to identify and correct typos
Writing the Business Logic to Perform Typo Corrections
Pulling from Redis and caching it with lazy_static!
Identifying english words (among others, BKTree Search for Non-Dictionary Words)
Webassembly components that can be reused in other programs 😲
The component standard is defined on https://github.com/WebAssembly/component-model/
This might be one of the unavoidable side quests if you are trying to tenaciously make a living from working on (and only on) open source. More than a year ago I wrote a blog post detailing my motivation for the things I have been doing and having a "grindset".
sharing, engaging with the community, enjoy programming again
A rust web app framework similar to Rails
A partial lisp-implementation in Rust.
I’m a bit biased, but IMHO writing a minimal lisp interpreter is a great project to learn a great variety of features of any programming language.
Since Rust 1.65:
let Some(user) = get_user() else {
return Err("No user".into());
};
The option can also be handled with .ok_or()
if it's recoverable.
The last solution is to use the match
statement.
Rust is the first language in a long tome being able to compete with C or C++.
Rust also built a market around it. Orner languages of the same category did not.
Here’s the pitch: a motivated group of talented Rust OS developers could build a Linux-compatible kernel, from scratch, very quickly, with no need to engage in LKML politics. You would be astonished by how quickly you can make meaningful gains in this kind of environment; I think if the amount of effort being put into Rust-for-Linux were applied to a new Linux-compatible OS we could have something production ready for some use-cases within a few years.
Tips and guideline about writing your own API in rust.
Welcome to the Rust Forge! Rust Forge serves as a repository of supplementary documentation useful for members of The Rust Programming Language. If you find any mistakes, typos, or want to add to the Rust Forge, feel free to file an issue or PR on the Rust Forge GitHub.
Everything should be written in #Rust
, but not everything deserves it.And that’s when I reach for #Go
And in the end I get paid to write #JavaScript
and #PHP
Rust biggest weakness: it needs a strong ecosystem of libraries. This ecosystem is fragmenting over time.
Sylvain recommends however four use cases for Rust:
- rewriting from C/C++ to Rust
- optimizing and securing the icome if the development can take two
- passionate that are already Rust experts and who are not counting their hours
- while starting a compagny that will vertically integarte a lot of different systems, from embedded devices to web services, i.e. https://oxide.computer/
That being said, if Rust may not be the best choice to build servers, Rust shines every time you would have picked C if it didn't exist such as crafting shellcodes and building other security tools.
Also called german strings. This is a great data structure that explains how handling strings can be diverse.
Interesting debate here