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

sledgehammer -> sledgehammer-bindgen #1429

Open
birkskyum opened this issue Oct 17, 2023 · 2 comments
Open

sledgehammer -> sledgehammer-bindgen #1429

birkskyum opened this issue Oct 17, 2023 · 2 comments

Comments

@birkskyum
Copy link
Contributor

birkskyum commented Oct 17, 2023

The current sledgehammer is archived, which is also why it's present at #1421 , but work is still ongoing in sledgehammer_bindgen - so it would be great to have that present instead.

@birkskyum birkskyum changed the title sledgehammer-bindgen sledgehammer -> sledgehammer-bindgen Oct 17, 2023
@krausest
Copy link
Owner

@ealmloff Are you interested in contributing a new implementation?

@ealmloff
Copy link
Contributor

ealmloff commented Oct 31, 2023

@ealmloff Are you interested in contributing a new implementation?

I would be happy to, but before I implement anything sledgehammer-bindgen is a bit different from the original sledgehammer library. It makes the generates bindings for something like the original sledgehammer. I'm not sure what kind of implementation would be more useful here.

I could implement it similar to the existing sledgehammer and wasm-bindgen version with generalized dom manipulation bindings. Those bindings are similar to what Dioxus or Leptos could use internally.

Or I could implement bindings that are specific to the task that would be more similar to the Vanillajs implementation with WASM doing all of the heavy compute. This would be the kind of bindings that something like Kobold or a svelte implementation in rust could use. This would probably be faster and closer to the optimal wasm web framework baseline, but I don't want to include something that is against the spirit of the benchmark.

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

3 participants