www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Integrating vibe.d with Japronto?

reply James Lu <jamtlu gmail.com> writes:
https://github.com/squeaky-pl/japronto

Japronto is a Python library for HTTP networking primarily 
written in C. It boasts incredible performance, beating Go, 
Node.js, and other Python libraries by one magnitude:

https://github.com/squeaky-pl/japronto/raw/master/benchmarks/results.png

Since it is written in C, can we fork it and integrate it with D?
Feb 19
parent bachmeier <no spam.net> writes:
On Friday, 19 February 2021 at 15:30:07 UTC, James Lu wrote:
 https://github.com/squeaky-pl/japronto

 Japronto is a Python library for HTTP networking primarily 
 written in C. It boasts incredible performance, beating Go, 
 Node.js, and other Python libraries by one magnitude:

 https://github.com/squeaky-pl/japronto/raw/master/benchmarks/results.png

 Since it is written in C, can we fork it and integrate it with 
 D?
The readme - last updated in 2018 - says it's unfinished software that is not under active development. The benchmark results are limited to a "hello world" app. That said, the C code includes Python bindings. You should in principle be able to call those bindings directly from D (I haven't used pyd). That would allow you to determine if it brings anything useful to the table for the D community.
Feb 20