/explore
|
You are here |
smallcultfollowing.com | ||
| | | | |
borretti.me
A survey of type systems for memory safety. |
|
| | | | | ||
| | | | |
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... |
|
| | | | | ||
| | | | |
www.integralist.co.uk
I've been learning Rust recently. This will probably be my third (lazy) attempt to learn the language. The reason I've failed previously is simply because I had no reason to learn it. Other than the memory safety aspects, which I like a lot, I don't actually like the design of the language at all (but that's a conversation for another day). This time around I want to learn the language as it's pertinent to my job. |
|
| | | | | ||
| | | | |
andreabergia.com
This post is part of the Languages Opinion series. Languages opinion - part one - JVM Languages opinion - part two - Rust ?thispost Languages opinion - part three - Javascript and Typescript Welcome back to my mini-series about programming languages. In this post, we will talk about one of the most interesting programming languages that I have seen in a long while: Rust. |
|
| | | |||