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

Use wasm lib #29

Merged
merged 32 commits into from
Feb 22, 2022
Merged

Use wasm lib #29

merged 32 commits into from
Feb 22, 2022

Conversation

bushidocodes
Copy link
Contributor

@bushidocodes bushidocodes commented Feb 19, 2022

  • Modifies exercises to be ESM modules
  • Uses wasm-lib
  • Adds appended instructions with WebAssembly specific stuff
  • Adds bounds checks for multibyte chars during UTF-16 -> UTF-8 conversion
  • Prettier Noise

Jest is capped to max 1 worker because of a Jest concurrency issue for how it handles bigints:
Relevant Issue: jestjs/jest#11617

@bushidocodes bushidocodes marked this pull request as ready for review February 20, 2022 00:16
Copy link
Member

@SleeplessByte SleeplessByte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice.

I would recommend we don't merge this with the github branch for the dependency, but other than that looks great!

Are you also interested in our scripts? I see you wrote your own .sh, but I looked into it and all the JS scripts are compatible as long as your replace require(...) with import at the top. This will also give you the ability to add github actions CI!

@bushidocodes
Copy link
Contributor Author

@SleeplessByte - Reuse sounds attractive! I'll file an issue to do this in a follow-on effort to revisit after the track gets launched.

@SleeplessByte
Copy link
Member

Looking gooood

@bushidocodes bushidocodes merged commit a362d0e into main Feb 22, 2022
@bushidocodes bushidocodes deleted the use-wasm-lib branch February 22, 2022 02:13
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