| How would you implement curl-like functionality in arc? I.e. make http requests, pass cookies, follow redirects, etc. It doesn't seem like it's impossible to implement the basic features, but I was wondering how you would go about doing it. On the other hand, how does ffi.arc work? It seems like it's supposed to do things like this (i.e. include foreign functions ;) but I don't know how to use it. That would probably be easier than implementing it myself, and arguable more useful in the long run. |