Skip to content

Compute Cache API and Hash API #98

Merged
AdrianEddy merged 14 commits intovirtualritz:masterfrom
mobile-bungalow:compute_cache_hash
Apr 23, 2026
Merged

Compute Cache API and Hash API #98
AdrianEddy merged 14 commits intovirtualritz:masterfrom
mobile-bungalow:compute_cache_hash

Conversation

@mobile-bungalow
Copy link
Copy Markdown
Contributor

This is preliminary work for the comptue cache API, which i'm convinced is almost vestigial in terms of it's performance gains. There was a real lack of examples of effects which do long running simulations. The adobe particle effects are all deterministic afaict. There is a closed source rust plugin called stipple which uses the compute cache to great advantage and I wanted to see how far the benefits of intermittent caching could get us.

out2.webm

For this to work we would need to update the bindgen and release it.

Todo:
[ ] - update windows bindgen
[ ] - test on windows

@mobile-bungalow mobile-bungalow marked this pull request as draft December 22, 2025 20:40
@AdrianEddy
Copy link
Copy Markdown
Collaborator

I updated the bindings to the latest SDKs. Is this PR ready otherwise?

@mobile-bungalow
Copy link
Copy Markdown
Contributor Author

I believe so. After work I will back out the wrapper updates and test on windows then prep it for review.

@mobile-bungalow
Copy link
Copy Markdown
Contributor Author

Once the after-effects-sys bindings are released under a new version on crates IO this should be fine to merge, I've tested it on my machines. But unfortunately this will not compile until the new bindings are somewhere the main crate and pull.

@mobile-bungalow mobile-bungalow marked this pull request as ready for review April 23, 2026 05:51
@AdrianEddy AdrianEddy merged commit d233f56 into virtualritz:master Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants