GregoryConrad / rearch-rs

Re-imagined approach to application design and architecture
https://crates.io/crates/rearch
MIT License
84 stars 4 forks source link

Consider `im` in conjunction with `AtomicPtr` instead of `concread` #2

Closed GregoryConrad closed 1 year ago

GregoryConrad commented 1 year ago

Not sure if this would actually bring any performance improvements, but it is possible it could since the implementation would be entirely lock-free and im has some interesting optimizations. A benchmark would be required.

I doubt I'm going to work on this much, but would be open to PRs.

GregoryConrad commented 1 year ago

Just realized this actually won't make much sense since writes would still need to be guarded by a lock to prevent overwrites