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

cross-platform version #5

Open
RJVB opened this issue Apr 5, 2018 · 3 comments
Open

cross-platform version #5

RJVB opened this issue Apr 5, 2018 · 3 comments

Comments

@RJVB
Copy link

RJVB commented Apr 5, 2018

Hi,

Have you ever considered making this code cross-platform by hiding the kernel-related code behind #ifdefs?

I'd be interested in looking into that, but only if there's a real interest to this compression scheme in itself AND the assembly code doesn't do anything Mac-specific. What can you say about that?

Thanks,
R.B.

@gingerbeardman
Copy link

@RJVB I understand @Piker-Alpha now works for Apple so I think we will not get a response due to company policy

@RJVB
Copy link
Author

RJVB commented Sep 4, 2018

Well, that'd s*ck, wouldn't it ... but maybe it'd also answer the implicit question whether there's a real interest to the compression scheme ;)

@Artoria2e5
Copy link

Artoria2e5 commented Dec 22, 2019

Apple's open-source lzfse implementation at https://github.com/lzfse/lzfse contains a LZVN encoder and decoder. It reads by bytes and looks reasonably cross platform.

For external APIs, see https://github.com/inikep/lzbench/tree/master/lzfse (lzvn_decode.c) and lzfse/lzfse#26.

@RJVB Would you like to try porting afsctool to a forked version of LZFSE instead? It's a good thing to point people to a better source.

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