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

question about utf-8, etc. #1

Open
williamstein opened this issue Sep 21, 2022 · 0 comments
Open

question about utf-8, etc. #1

williamstein opened this issue Sep 21, 2022 · 0 comments

Comments

@williamstein
Copy link

Hello Tom,

I was about to implement a port of diff-match-patch to Zig, since I need it to optimize the realtime sync algorithm in https://cocalc.com/, and I found your project. I realize you just wrote this, it's alpha quality, and maybe you're not going to look at it again...

Are you happy with trying to do utf-8 directly, rather than using a library like https://github.com/jecolon/zigstr

I'm trying to decide to what extent to start from scratch using zigstr, or try to work on what you've written here. Skimming your code, I'm wondering the extent to which trying to deal with utf-8 directly in the context of []u8 and the zig core library started to become really painful or not.

Thanks for any comments at all!

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

1 participant