On Friday, 8 May 2020 at 06:41:59 UTC, Jan Hönig wrote:
What is the difference between hunt and vibe-d?

Hunt and Vibe are important series frameworks in D language ecology, but there is no connection between the two frameworks.

1.hunt library (https://github.com/huntlabs/hunt) contains the abstraction of cross-platform network io, as well as functions such as binary serialization and json object binding. ( hunt library is currently the best performing network io in D languages.)

2.hunt-net (https://github.com/huntlabs/hunt - net) is a network protocol library based on hunt library implementation that contains abstract encoder and decoder support.

3.hunt-http (https://github.com/huntlabs/hunt - http) is a hunt-net implementation-based http library that contains both http1.1、http/2 and websocket support and powerful HttpClient implementations.

4.hunt-database (https://github.com/huntlabs/hunt - database) is an abstraction of a database, and the bottom layer also uses hunt-net for network communication. the protocol parsing part of PostgreSQL and MySQL two databases is realized completely using the language of D, which includes the implementation of asynchronous operation interface and database connection pool.

5. hunt-redis (https://github.com/huntlabs/hunt-redis) is a redis client implementation that sends and receives network data based on hunt-net and also supports connection pooling.

6.hunt-amqp (https://github.com/huntlabs/hunt-amqp) is a amqp 1.0 implementation, mainly let D language native support RabbitMQ, network layer is also based on the creation of.

7.hunt-entity (https://github.com/huntlabs/hunt-entity) is a ORM implementation, similar to php doctrine2 and java JPA..

8.hunt-framework (https://github.com/huntlabs/hunt-framework) is currently the most fully functional web framework, in the language close to practical frameworks such as springboot、laravel、django, built-in template engines like jinja2 and twig, just through the configuration file to make the entire framework run smoothly.

One of our demo projects is a forum project called `dicoth`, which is based on hunt-framework. Of course, this project is currently a sample code, but it doesn't prevent you from seeing how hunt-framework use it, project address (https://github.com/dicoth/dicoth).

Summary: HuntLabs entire hunt framework-related ecosystem contains most of the tools needed for the server, but also draws on a lot of excellent content from languages such as java and php, hoping that the D language can occupy part of the server market.

Reply via email to