Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yup, all of this.

Rust does at least get static/dynamic dispatch right in this respect but I'd kill for SoA/AoS structure flipping.



It depends a bit on how much sugar you'd like, but it isn't too hard to get Rust to spin things around for you. Here are two implementations, depending on what you need (resp, for serialization, vs traversal). YMMV.

  https://github.com/frankmcsherry/columnar
  https://github.com/antiguru/columnar-rs




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: