nucleic / kiwi

Efficient C++ implementation of the Cassowary constraint solving algorithm
https://kiwisolver.readthedocs.io/en/latest/
Other
693 stars 89 forks source link

TypeScript and AssemblyScript port. #111

Open trusktr opened 3 years ago

trusktr commented 3 years ago

Hello! I've continued work on Kiwi here: https://github.com/lume/kiwi

It is currently TypeScript that compiles to plain JS (thanks to @IjzerenHein), and I am planning on making it compatible with AssemblyScript (TypeScript to Wasm compiler) for use in Wasm apps.

Qix- commented 3 years ago

Hey @trusktr :) Worlds collide.

Also worth mentioning, the Kiwi implementation also works in WebAssembly applications (I've gotten it to compile fine). But would love to see an AS version as well!

MatthieuDartiailh commented 3 years ago

At one point I started a rust implementation of kiwi if I ever finish I will try to compile to wasm. It would be fun to benchmarks the different options.