开发者

Porting a Python program to C

开发者 https://www.devze.com 2023-02-03 15:20 出处:网络
I would like to port a program which is using urllib and json (Python 3) to C. My question is which libraries exist to replace urllib and json in C and wh开发者_如何转开发ich are the best (easier, doc

I would like to port a program which is using urllib and json (Python 3) to C. My question is which libraries exist to replace urllib and json in C and wh开发者_如何转开发ich are the best (easier, documented, fast)? If there are not good libraries in C I also accept C++

Thank you all.


For JSON, json.org has a list of implementations for a variety of languages, including C. Most of them should be fairly lightweight and fast.

To replace urllib, you probably want to look at libcURL.

0

精彩评论

暂无评论...
验证码 换一张
取 消