rpds: Rust Persistent Data Structures v0.5.0 - Now with fast mutable methods
In my last post, I talked about the new “pinned references” which guarantee that the data at the memory it points to will not, ever, be moved elsewhere.
I explained how they enable giving a safe API to code that could previously only be exposed with
unsafe, and how one could go about proving such a thing.
This post is about another application of pinned references—-another API whose safety relies on the pinning guarantees: Intrusive collections.
It turns out that pinned references can almost be used for this, but not quite.
However, this can be fixed by extending the guarantees provided by pinned references, as suggested by @cramertj.
Recently, a new API for “pinned references” has landed as a new unstable feature in the standard library. The purpose of these references is to express that the data at the memory it points to will not, ever, be moved elsewhere. Others have written about why this is important in the context of async IO. The purpose of this post is to take a closer, more formal look at that API: We are going to take a stab at extending the RustBelt model of types with support for pinning.
Rust-webapp-starter : Rust single page webapp written in actix-web with vuejs.
Async stable Actix-web framework
diesel, postgresql r2d2
SPA CORS JWT
- Vuejs Parcel-bundler
actix-web framework is cool tool for rust web tthings !
An in-depth look at shared references and interior mutability: https://www.ralfj.de/blog/2018/01/31/sharing-for-a-lifetime.html
Join us next Monday for your monthly installment of Rust related talks. https://www.meetup.com/Rust-London-User-Group/events/246637221/ #rustlang #ldn
The Rust HTML sanitizer, based on html5ever, is now stable, with an API that allows extensions and performance tuning in the future.
I’ve written an article that answers questions I’ve been asking when I was working with C library from Rust.
Hey, so I’m working lib rust library that can manipulate FreeBSD’s jails, but in order to do so I have to interact with ZFS and in order to do so I must be able to construct Name/Value lists. Turns out it was a good library to learn about FFI wrappers.
https://github.com/Inner-Heaven/libnv-rs Comments very welcome.
There was a piece of non-Rust spam pushed into Rust Herald and subsequently, Twitter.
We deleted the posting and will monitor for other occurrences.
Berlin Rust Meetup on Wednesday, October 18th https://www.meetup.com/Rust-Berlin/events/243485005/
Learn you some #rustlang Mon 16th https://www.meetup.com/Rust-London-User-Group/events/244021078/
Fun with the Rust
Alloc trait: a custom
Vec implementation backed by elfmalloc