In the age of microservices and networking in general, were D is at?
ryuukk_
ryuukk_ at gmail.com
Sun Sep 13 20:58:10 UTC 2020
On Sunday, 13 September 2020 at 20:52:28 UTC, IGotD- wrote:
> On Sunday, 13 September 2020 at 19:52:52 UTC, ryuukk_ wrote:
>>
>> Out of the box, D has:
>>
>> Socket - without proxy support
>>
>> HTTP client - with the help of CURL
>>
>
> That was not quite complete.
>
> Further we have.
>
> A curl wrapper that works quite well. Curl is often the
> underlying library for microservices regardless if you use it
> directly or via an additional layer.
>
> Vibe.d, a very complete web application framework.
>
> Hunt framework is also available which is supposed a very
> complete framework.
>
> https://wiki.dlang.org/Web_Development_Libraries
>
>
> Also, out of the box is not really fair here. Many other
> languages has very good frameworks as well but they are 3rd
> party like Actix for Rust.
Rust isn't used that much on that field, i was mainly aiming at
GOLANG
Concerning vibe.d, i'm worried about the dependencies it pulls,
also the benchmark:
https://www.techempower.com/benchmarks/#section=data-r19&hw=ph&test=fortune&l=zijoc7-1r
GO vs D, it performs quite poorly
Concerning hunt, unfortunately the simple fact of having import
hunt.http; increase compile time from 2 to 8 seconds.. wich is
not desirable at all..
Right now the blocker is a simple HTTP listener, there is no such
thing in the std lib
Maybe that is the one thing i can contribute in the near future,
just for the sack of having something out of the box
Java, C#, Go, all have that, out of the box, seems to be a good
way to retain people i think
More information about the Digitalmars-d
mailing list