Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Is this repository used? #93

Open
devoncarew opened this issue Jun 2, 2022 · 3 comments
Open

Is this repository used? #93

devoncarew opened this issue Jun 2, 2022 · 3 comments

Comments

@devoncarew
Copy link

devoncarew commented Jun 2, 2022

Hi - I have some general questions about this repo. My understanding was that it was a proof-of-concept for pulling much of dart:io out into regular dart code - potentially making dart:io smaller and only relying on some pieces that had to be native, like sockets.

I don't believe that this project is active anymore however. I do see that this repo is dep'd into the dart sdk, and that its tests are run on the bots (https://github.com/dart-lang/sdk/blob/main/DEPS#L343 / /third_party/pkg_tested/http_io). This repo isn't actually consumed by anything however?

Adding in @zanderso @bkonyi and @a-siva who may all have context here (and cc @kevmoo).

@bkonyi
Copy link
Contributor

bkonyi commented Jun 2, 2022

AFAIK, this repo was originally meant to host the package that's currently dart:_http, but that never really got anywhere. The code here is probably out of date and I don't think there's any reason to keep the repository active.

@zanderso
Copy link
Contributor

zanderso commented Jun 2, 2022

Some history:

  • Initially, the dart:io Http implementation used to use a bunch of calls into the runtime.
  • I migrated it to be based only on the Socket API.
  • One motivation for package:http_io was to be the new home for dart:io Http. The other was to ensure that it continued to be possible to implement an http client using only the Socket API (that is, without calling into the runtime.)
  • The concerns and the package are probably obsoleted by dart:ffi, so I'd say it's safe to nuke it.

@mit-mit
Copy link

mit-mit commented Jun 2, 2022

Thanks, I'll go ahead and archive it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants