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

[FR] - Webassembly build target support #616

Open
carbolymer opened this issue Aug 13, 2024 · 6 comments
Open

[FR] - Webassembly build target support #616

carbolymer opened this issue Aug 13, 2024 · 6 comments
Assignees

Comments

@carbolymer
Copy link
Contributor

carbolymer commented Aug 13, 2024

Internal/External
Internal if an IOHK staff member.

Area
Other Any other topic (Delegation, Ranking, ...).

Describe the feature you'd like
Make cardano-api buildable into WASM.

Describe alternatives you've considered
TBD

Additional context / screenshots
TBD

Blocked on:

@carbolymer carbolymer self-assigned this Aug 13, 2024
@smelc
Copy link
Contributor

smelc commented Aug 13, 2024

cc @florentc

@florentc
Copy link

This is nice 👍 We might experiment with running cooked-validators in the browser in the future.

This comment was marked as outdated.

@github-actions github-actions bot added the Stale label Sep 14, 2024
@carbolymer
Copy link
Contributor Author

carbolymer commented Sep 16, 2024

cardano-api relies on plutus, which uses template haskell heavily. This is a blocker for this issue, because TH isn't supported by GHC WASM backend yet.

Related issue and MR:

If the required parts of cardano-api could be refactored out, without the dependency on Plutus TH bits, this could be achievable, but with a different scope. For this reason I'm closing this issue for now.

(explanation from @amesgen , taken from Slack )

@carbolymer
Copy link
Contributor Author

TH support added in GHC 9.12 https://mail.haskell.org/pipermail/ghc-devs/2024-November/021821.html
Needs investigation if this issue becomes feasible now.
Blocked on:

@carbolymer carbolymer reopened this Nov 12, 2024
@github-actions github-actions bot removed the Stale label Nov 13, 2024
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

@github-actions github-actions bot added the Stale label Dec 13, 2024
@smelc smelc removed the Stale label Dec 13, 2024
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