-
Notifications
You must be signed in to change notification settings - Fork 11
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
refactor: use std::vector instead of bespoke Array class #7
refactor: use std::vector instead of bespoke Array class #7
Conversation
@tearfur also requesting review from you since you've been so active in the C++ code lately, but GitHub doesn't give me that option in the Reviewers list. Possibly it only shows people who have been previously active in the repo 🤔 Along that same rationale, I'm not sure if @'ing you here will show up in your notifications. I guess if you don't pong here I'll ping you in another PR instead 😸 |
If we're forking it for good, might make sense to pull bittorrent#127 so that we're not completely blind here. |
Agreed. @mikedld Can you copy libutp/pull/127 into a PR in this repo?
The last upstream commit was six years ago; but even so, forking isn't my first choice. Looks like the last maintainer comment in a PR was in 2019; however, it was by @arvidn who is still very active on libtorrent, so maybe there's hope. Arvid, do you have any thoughts on landing PRs in https://github.com/bittorrent/libutp? @mikedld IMO even if we fork we should keep changes compatible w/upstream and try to upstream them, e.g. PRs like bittorrent#132 or this one, e.g. housekeeping & small fixes, not big changes or protocol changes. |
It's already there in |
If it's not the fork-fork yet, did you mean to target |
3495df1
to
d9d3754
Compare
@mikedld, agreed. I've updated the branch to target |
build: bump C++ std from 98 to 17
I'm fine with it, was under the impression that @ckerr is waiting out for something or maybe doing some more testing. |
I guess I've been holding back on this PR because it really belongs upstream. As mentioned above, there are a couple of followups to this. I hope all of them make it upstream someday -- I'm not going to make any big breaking changes. |
Part one of a three-part series to use
std::
tools instead of bespoke ones. Part three will fix #6.Unfortunately there don't seem to be any real tests for libutp, so the need to manually test is even greater than usual.