Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johngarrett/swal
Swift, Wasm, and Algorithms
https://github.com/johngarrett/swal
algorithms swift webassembly
Last synced: 14 days ago
JSON representation
Swift, Wasm, and Algorithms
- Host: GitHub
- URL: https://github.com/johngarrett/swal
- Owner: johngarrett
- Created: 2020-10-25T19:41:35.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-09T17:57:40.000Z (almost 4 years ago)
- Last Synced: 2024-08-06T00:17:30.305Z (3 months ago)
- Topics: algorithms, swift, webassembly
- Language: Swift
- Homepage:
- Size: 9.67 MB
- Stars: 19
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## SWAL
> Swift, Wasm, and Algorithms
Try it out [here](https://garrepi.dev/swal)
### purpose
really just to explore SwiftWasm in a meaningful way. hopefully, someone finds directly interacting with the algorithms in [this swift library](https://github.com/apple/swift-algorithms) useful
### contributing
feel free to contribute! I have a habit of starting projects and never finishing...
the hosted version of this has to be updated manually by me (running it through my [static site](https://github.com/johngarrett/johngarrett.github.io))
also, `FileManager` and `String.write(to:,_:,_:)` seem to be broken in the wasm fork of swift. because of that, html is directly injected into the DOM. `StaticRenderer` is _suopssed_ to render all the HyperSwift into a html and css file but, without the ability to write, that's not being done.
### status
- [X] Combinations
- [X] Permutations
- [X] Rotations
- [X] Partitions
- [X] Chain
- [X] Product
- [ ] Cycled
- [ ] Random Subset
- [ ] Stable Subset
- [ ] Uniqued
- [ ] Chunked
- [ ] Indexed