Jump to page: 1 2
Thread overview
Which Dub packages are you using?
Jun 26, 2020
aberba
Jun 26, 2020
JN
Jun 26, 2020
aberba
Jun 26, 2020
JN
Jun 26, 2020
Nils Lankila
Jun 26, 2020
Guillaume Piolat
Jun 26, 2020
aberba
Jun 26, 2020
Guillaume Piolat
Jun 26, 2020
Claude
Jun 26, 2020
aberba
Jun 26, 2020
Claude
Jun 26, 2020
Adam D. Ruppe
Jun 26, 2020
aberba
Jun 26, 2020
Adam D. Ruppe
Jun 26, 2020
jmh530
Jun 27, 2020
aberba
June 26, 2020
So I've been doing a tour of dub packages to see whats we've got. I must says here's quite a lot to go through and not everything falls within my comfort zone.

Please help me know the ones you really like and why.

Here are some I like:

Vibe-d, works exactly as how I'm used to from other framework. Has fair rich modules and ecosystem of supported extensions on dub. Has got a clean API and fairly good docs.

Requests, honestly its the best I've come across for HTTP requests.

Mysql-native, was previously into MySQL-lited but this looks much cleaner with a linear flow.


Arsd, by Adam. Just works. Same APIs designs. Well maintained. Few dependencies.

Botan, cus its the only one with rich encryption and hashing algos. It often breaks but it's what I've got. Its quite capable though.

Dxml, I don't do much XML these days but its probably the most powerful. I like the clean API and docs too.

Gtkd, its the best on Linux I've used. Considering I use a GTK+ based DE

Quick mentions
_----------
dlib, dlib-*
Dargon
hunt-*, seriously love the hunt ecosystem and energy

money
BindBC-*, don't use them directly but almost every graphics package on dub uses it. So indirect benefit.
GraphQL-d, seriously, it looks feature rich. Looking to try some graqhQL these days. Glad this one exists.


What's your selection?
June 26, 2020
On Friday, 26 June 2020 at 00:35:42 UTC, aberba wrote:
>
> What's your selection?

BindBC-* also. Most of my projects are gamedev related so I need bindings to those C APIs.

fswatch - cross-platform support for filesystem watching, I use it to monitor changed files while the app is running so that I can reload them with changes

imageformats - very fast image loading capabilities. Used some other library before and it was very very slow

dlib - great library for game development. I use only the linear algebra related capabilities - vectors, matrices, quaternions, but there's much more, like functions for noise and some simple collision detection
June 26, 2020
On Friday, 26 June 2020 at 06:41:18 UTC, JN wrote:

Nice!

> fswatch - cross-platform support for filesystem watching, I use it to monitor changed files while the app is running so that I can reload them with changes
Is it for like some like a game assets that you reload back into the game scene?

>
> imageformats - very fast image loading capabilities. Used some other library before and it was very very slow

Interesting

June 26, 2020
On Friday, 26 June 2020 at 06:41:18 UTC, JN wrote:
> On Friday, 26 June 2020 at 00:35:42 UTC, aberba wrote:
>>
>> What's your selection?
>>>>> an reload them with changes
>
> imageformats - very fast image loading capabilities. Used some other library before and it was very very slow

Yeah it 's a good library, not too small (e.g != isObject) but bringing enough features. I had use it with cairo and as far as I remember there's nothing to say about. It just works. It is a honest package.

Interestingly the author is not even too much into D (neither I am, but he's even less).


June 26, 2020
On Friday, 26 June 2020 at 08:06:30 UTC, aberba wrote:
> Is it for like some like a game assets that you reload back into the game scene?
>

Yes, I track image files for textures, shaders and scene file (json based). In case of textures and shaders, if you modify something (e.g. recolor a texture) and save, the engine catches that and reloads the images. In case of scene file, it reloads the whole scene if you e.g. reposition an object (but it's relatively quick, because loading of meshes/textures is the slowest part and it doesn't need to happen again).
June 26, 2020
On Friday, 26 June 2020 at 00:35:42 UTC, aberba wrote:
> So I've been doing a tour of dub packages to see whats we've got. I must says here's quite a lot to go through and not everything falls within my comfort zone.
>
> Please help me know the ones you really like and why.

- arsd.dom for XML parsing => because it builds and it works
- bindbc-sdl               => dynamic loading is super handy for distribution
- dg2d                     => very fast 2D renderer
- pfft                     => fast FFT, including real-to-complex
- msgpack-d                => used once, was nice for quick serialization

I'm using packages of my own:
- printed                  => make PDF with a canvas API
- commonmark-d             => a port of MD4C
- audio-formats and wave-d => audio decoding


June 26, 2020
On Friday, 26 June 2020 at 08:50:42 UTC, Guillaume Piolat wrote:
> On Friday, 26 June 2020 at 00:35:42 UTC, aberba wrote:
>> So I've been doing a tour of dub packages to see whats we've got. I must says here's quite a lot to go through and not everything falls within my comfort zone.
>>
>> Please help me know the ones you really like and why.
>
> - arsd.dom for XML parsing => because it builds and it works
> - bindbc-sdl               => dynamic loading is super handy for distribution
> - dg2d                     => very fast 2D renderer
> - pfft                     => fast FFT, including real-to-complex
> - msgpack-d                => used once, was nice for quick serialization
Cool. Interesting.

>
> I'm using packages of my own:
> - printed                  => make PDF with a canvas API
> - commonmark-d             => a port of MD4C
> - audio-formats and wave-d => audio decoding
I've been revisiting and checking out your audio softwares. I must say I'm really impressed.

Is it all D or what else are you using. E.g. GUI stuff.

June 26, 2020
On Friday, 26 June 2020 at 09:16:01 UTC, aberba wrote:
>
> Is it all D or what else are you using. E.g. GUI stuff.

Thanks! Of course it's all D :) What else?
June 26, 2020
On Friday, 26 June 2020 at 00:35:42 UTC, aberba wrote:
> What's your selection?

I also use BindBC (and was using previously Derelict) for bindings with OpenGL, SDL, GLFW, etc. It does the job, and it does it well.

I was using dlib for matrix/vector/quaternion stuff, and I moved to GFM (because its API is @safe if I remember correctly, and also because it's french iseroise technology ;) ).

I also use Pegged, Erupted (Vulkan bindings), dpp (hacking it to be able to parse Dear-Imgui header file).

I'd also love to say I use arsd, mir, reggae and many more, but I don't due to lack of time and opportunity. But those are like latin poetry: you don't have to understand what it means to know it's good.
June 26, 2020
On Friday, 26 June 2020 at 00:35:42 UTC, aberba wrote:
> Please help me know the ones you really like and why.

Technically, I don't use any, since I don't use dub (in my personal stuff anyway, some of my work projects do).

But of course I do use my libs, and my doc generator uses a forked version of libdparse, so while I have maintained my own copy for a few years now, it still as its genesis as a community project.

A few of the modules inside the arsd repo were actually written by others and I just forked/adopted them too. Like the ttf, mp3, and others were written in C and ported by ketmar.

If I ever do an android project I might use dub though since my android dub project does a pretty good job making it easier to use there.
« First   ‹ Prev
1 2