/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

stefansf.de
| | www.ralfj.de

In my previous blog post on pointer provenance, I have shown that not thinking carefully about pointers can lead to a compiler that is internally inconsistent: programs that are intended to...
39.3 parsecs

Travel
| |
| | www.industrialempathy.com

The Context Tree Design Pattern is broadly used in framework design and fascinatingly appears in seemingly unrelated applications...
15.3 parsecs

Travel
| |
| | tmandry.gitlab.io

In Part 1, we covered how async fns in Rust are compiled to state machines. We saw that the internal compiler implementation uses generators and the yield statement to facilitate this transformation. We also saw that the optimal way to lay out one of these state machines in memory is using an enum-like representation, similar to the following: enum SumGenerator{Unresumed{xs: Vec},Suspend0{xs: Vec,iter0: Iter<'self,i32>,sum: i32 },Suspend1{xs: Vec,iter1: Iter<'self,i32>,sum: i32 },Returned}Each variable s...
36.5 parsecs

Travel
| |
| | temochka.com

Re-discovering the simple joy of parsing formal grammars.
34.9 parsecs

Travel
|