Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teach Forward Mode about Effects and Zeros #156

Open
oxinabox opened this issue May 24, 2023 · 3 comments
Open

Teach Forward Mode about Effects and Zeros #156

oxinabox opened this issue May 24, 2023 · 3 comments
Labels
enhancement New feature or request forward-mode

Comments

@oxinabox
Copy link
Member

In forwards mode, if you can prove code is effect free, then it is safe to not execute it if you are just pushing forward zeros & you don't need the primal result.
There might be some other things we can do with effects here too.

Probably worth cross-referencing what is happening in Dex-land with effects.

@oxinabox oxinabox added enhancement New feature or request forward-mode labels May 24, 2023
@oxinabox
Copy link
Member Author

Related: #109

@oscardssmith
Copy link
Member

what's the relation?

@oxinabox
Copy link
Member Author

I still don't properly understand #109 but one of the cases Keno thinks it is illegal is if it is used on code with side-effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request forward-mode
Projects
None yet
Development

No branches or pull requests

2 participants