-
Notifications
You must be signed in to change notification settings - Fork 656
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
Better docs for threading guarantees of futures #197
Conversation
Sources/NIO/EventLoopFuture.swift
Outdated
/// | ||
/// One of the major performance advantages of NIO over something like Node.js or Python’s asyncio is that NIO will | ||
/// by default run multiple event loops at once, on different threads. As most network protocols do not require | ||
/// blocking operation, at least in their low level implementations, this provides enormous speed ups on machines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not a native speaker but I think it should be either speed-ups
or speedups
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Thanks for it. Just one nit that may be wrong as I am not a native speaker ...
a49abe4
to
f4e731c
Compare
LGTM... let us wait for @weissi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, that's great!
Thanks... merged |
Motivation: Sometimes it's useful to be able to print out objects and see their internal state. Somehow, HTTP2Handler can't do this. Modifications: Add a conformance to HTTP2Handler. Result: Awesome debugging output.
Motivation Per SwiftNIO's formal version policy, we are ready to drop support for Swift 5.5. Modifications This patch removes the support for 5.5 and all supporting infrastructure. This includes the test generation functionality, which is no longer required, as well as the files generated by that functionality. It updates the dockerfile for 5.8, and it removes all conditional compilation checks that are now definitionally true. Result A nice, clean, 5.6+ codebase
It occurred to me that we probably needed better narrative docs for the threading guarantees of
EventLoopFuture
, so I whipped these up over the weekend. Take a look, let me know what you think.