guzba / zippy

Pure Nim implementation of deflate, zlib, gzip and zip.
MIT License
246 stars 29 forks source link

Any plans to make this avaible for the JS backend? #17

Closed halloleo closed 3 years ago

halloleo commented 3 years ago

As a pure Nim implementation, are there any plans to make this available for the JS backend?

guzba commented 3 years ago

It is something I'd like to be able to do in the future, but it is not a quick thing right now. Zippy goes to great lengths to be fast since compressing and decompressing are pretty performance critical things. Targetting JS greatly limits what can be done so I'd have to write a JS path for many areas. It may happen someday, but it would come after a next major release where I supported streams and other functionality improvements first.

guzba commented 3 years ago

Adding this here for record: https://github.com/guzba/zippy/issues/14

halloleo commented 3 years ago

Fair enough. After all there are JS zip libraries which can be wrapped in Nim.