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

update to GCDAsync & ARC #2

Open
danomatika opened this issue Aug 7, 2016 · 2 comments
Open

update to GCDAsync & ARC #2

danomatika opened this issue Aug 7, 2016 · 2 comments

Comments

@danomatika
Copy link

The RunLoop AsyncSocket classes are now deprecated in CocoaAsyncSocket. Maybe @randomblast's fork could be the source for an upgrade? It's working for me.

https://github.com/randomblast/CocoaOSC

@randomblast
Copy link

Hey... yeah, I'll make a PR to merge my fork back in. Fair warning though, I only fixed the bits I care about, so it's by no means complete. There are some useful things in there though.

We actually stopped using this project a good while ago. I wrote an OSC library in C which uses libdispatch/kqueue directly for event-driven networking, and has zero-copy message parsing. I did this because our applications need to handle much more OSC traffic (~1.5mbps when I last measured) than was efficiently possible using CocoaOSC.

I've also started a pure Swift equivalent which I haven't stress-tested in production yet. The aims are the same, but obviously we're relying on the compiler being sensible much more than we do with C, in terms of avoiding copies & allocations.

If these are of interest, I could ask my boss about releasing them. No promises though, our legal department will probably have issues.

@danomatika
Copy link
Author

Small & fast, sounds good! :)

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

2 participants