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

Replace native code with https://koffi.dev/index #25

Open
CMCDragonkai opened this issue Oct 16, 2023 · 0 comments
Open

Replace native code with https://koffi.dev/index #25

CMCDragonkai opened this issue Oct 16, 2023 · 0 comments
Labels
development Standard development r&d:polykey:supporting activity Supporting core activity

Comments

@CMCDragonkai
Copy link
Member

Specification

There's minimal native code here, it might be more maintainable with just https://koffi.dev/index.

Not sure though. I'm thinking about applying this to fd-lock and js-file-locks too.

Additional context

There's a minor amount of overhead using dynamic FFI as compared to statically compiled binaries. But I don't think this is a major issue for mdns usage? Could there be other native code we would want to run in the future?

Also this may not be a good idea if we want js-mdns to work on Android and iOS, I don't know if it would work.

Tasks

  1. ...
  2. ...
  3. ...
@CMCDragonkai CMCDragonkai added the development Standard development label Oct 16, 2023
@CMCDragonkai CMCDragonkai added the r&d:polykey:supporting activity Supporting core activity label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Standard development r&d:polykey:supporting activity Supporting core activity
Development

No branches or pull requests

1 participant