Web Programming in D
aberba
karabutaworld at gmail.com
Tue May 21 03:37:11 UTC 2024
https://forum.dlang.org/post/gpbfaobcmwjdprkxzzre@forum.dlang.org
On Tuesday, 6 February 2024 at 15:27:31 UTC, Sergey wrote:
> On Thursday, 22 June 2023 at 06:15:47 UTC, Web Dev wrote:
>> I think Hunt is no longer in development but Vibe.D continues
>> to be developed.
>
> It seems that Hunt is dead yes.
>
>> Has anyone done a web project with Vibe.D before? What are the
>> positive and negative aspects?
>
> Some people are using D for web projects.
> For example this one looks nice: https://myst.rs/
>
> Mostly you have 2 frameworks with many features:
> * Vibe.d
> * Arsd CGI
>
> Vibe has many integrations with different packages (oauth,
> oneapi, graphql).
> CGI is the fastest (at least in benchmarks).
>
> If you need simpler solution (just a server):
> * handy
> * serverino
> * lighttp (not maintained, but still worked)
>
>> Does it make sense to use the D language on the web for now?
>
> Like there is no any sense to use D in general, not
> specifically in web.
> But if you like D, you can use it for web as well.
>
> For production I think it is save to choose Go.
>
> I think current level of D frameworks won't provide any "killer
> features" compare to other popular solutions and have more cons
> (lack of users, documentation, adoption for deployment, etc)
> than pros (D is fun and great for your hobby project).
>
> But you can try it for something simple and see if it works for
> you :)
For backend only webdev, I see no issue with using vibe.d besides
not getting more options of third-party library for cloud
services in D.
The major complaint was that vibe.d has a slow html templating
library (diet) but that was about it.
These days, front-end libraries/frameworks ( react, angular, vue,
svelte) are often used anyways.
I personally would consider vibe.d for backend only when building
"large" apps due to the von mentioned above.
More information about the Digitalmars-d
mailing list