Skip to content

dodomorandi/lending-async-iterators-rustlab2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploring lending async iterators

This repository contains some code related to the talk given during RustLab 2024.

The video of the talk can be found on YouTube, and the slides on Google Slides.

Important notice: in order to being able to compile the code, you need:

  • a nightly compiler
  • RUSTFLAGS=-Zpolonius environment variable

The nightly compiler is selected automatically (it is specified in the rust-toolchain.toml), but you still need to set the environment variable when running the compiler from CLI and for the rust-analyzer as well.


All the code presented is a proof of concept/proof of work for lending async iterators. Some parts are missing because I did not have enough time to write a totally exhaustive example, some other parts are impossible to write for lending async iterators (i.e.: collect, last, min, max), and other parts simply are very hard to make compile, at least without a lot of unsafe. Hopefully in the future it should be possible to make more cases compile.

About

Some exploratory code for lending async iterators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages