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

Figure out the minimum browser requirements #21

Open
guregu opened this issue Oct 8, 2022 · 1 comment
Open

Figure out the minimum browser requirements #21

guregu opened this issue Oct 8, 2022 · 1 comment

Comments

@guregu
Copy link
Owner

guregu commented Oct 8, 2022

This project is using a lot of bleeding edge WebAssembly stuff so it does not have good compatibility with old browsers.
I am mostly interested in supporting evergreen browsers (the latest versions) but I would like to support older ones if it's possible without too much pain.

Current situation:

I would also like to use top-level await which pushes Firefox to 89, but I am not sure which tooling that might break so I'll hold off on it for now. With top-level await, we can remove the necessity for the load() function and let people call new Prolog() as soon as the import resolves.

@guregu
Copy link
Owner Author

guregu commented Oct 8, 2022

Also worth mentioning, we use FinalizationRegistry if we can. This is from Firefox 79. If we start using top-level await we can remove the compatibility check here.
This functionality isn't strictly necessary but it can help clean up memory from leaked queries.

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

No branches or pull requests

1 participant