Elektrine lite

← Feed

@asaj@types.pl

2024-01-17 15:12 UTC

I finished watching, and I really have to say something, as I have so many opinions! https://www.youtube.com/live/YCCp-mIFFAw My main opinion (brought on by recent work on Luau, not Memory Models) is that Human Aspects are super important. There's currently work on types (hi @JonathanAldrich, @mcoblenz and @wilbowma) but it would be nice to see that on memory models. There's been work on this by @peter_sewell_ which mainly shows how hard this is. Our work based on pomsets and event structures, was trying to build simple models, but we kept hitting the difficulty of existing hardware and existing optimizations. In particular optimizations moving loads and stores out of loops were difficult while keeping models understandable for humans. For languages with UB (e.g. C) or languages which are functional (e.g. OCaml), it all seems sensible, or a least as sensible as UB can be. But for languages which are UB-free and imperative (e.g. Rust or Wasm) and are programmable by regular humans, then 🤷‍♂️. More research is needed!

Replies (0)

No replies.