Arc Forumnew | comments | leaders | submitlogin
Is there no way to make an http request?
2 points by bh 3947 days ago | 3 comments
I read here [http://arclanguage.github.io/ref/networking.html] that there's no way to make outgoing connections. Is this still the case?

I'm ok if there are no easy-to-use http libraries, but is there going to be support for at least outgoing sockets anytime soon?



2 points by shader 3947 days ago | link

Well, from a cursory glance, there are at least two libraries in the anarki lib directory:

  https://github.com/arclanguage/anarki/blob/master/lib/http.arc
  https://github.com/arclanguage/anarki/blob/master/lib/web.arc
There might be more, but these should get you started.

I should probably mention that most of that documentation is probably targeted at the the vanilla arc 3.1, which is the lowest common denominator at this point for all of the arc implementations. Every other arc implementation has its own set of additional libraries, and usually a way to access libraries from its host language. I.e., anarki also includes multiple ways to call racket code directly.

-----

1 point by bh 3947 days ago | link

I wonder what will happen to Arc now that pg has passed YC on to Sam? How is he going to pick up work again? Will he just keep working on arc 3.1, or will he just contribute to anarki?

-----

1 point by akkartik 3947 days ago | link

If pg ever contributes a line of code to anarki I'll eat my hat :) Not that that's a bad thing; it works perfectly well for each side to port changes from the other.

-----