Solved Where can i find the compiler dmd (digital mars) for d-lang ?

Crivens

Moderator
Staff member
Moderator

Reaction score: 1,652
Messages: 2,516

What are you doing with that? I checked out D some time ago but lost track, and I have no actual use for it. Would like to do, though.
 
OP
Alain De Vos

Alain De Vos

Daemon

Reaction score: 645
Messages: 2,165

No big secret. For some personal, i needed a small GUI application. It looks reasonable to just write one for your needs.
Electron looks overkill. Also C++ with QT5. I don't need multiple inherintence and abstract classes in my case (Sorry Bjarne Stroustrup)
Then these things came into my mind.
 

Mjölnir

Daemon

Reaction score: 1,503
Messages: 2,114

  • ports-mgmt/psearch and/or ports-mgmt/portfind help to find such. In this particular case of the single character D language, of course it's neccessary to know the two compilers are called dmd & ldc, resp.: psearch -c devel -c lang -s 'dmd|ldc' gives 4 false positives & 2 helpful answers.
  • D is very appealing as a language to implement all kind of tasks from low level kernel stuff to GUI apps. Looks that it's levering/integrating some modern techniques & methods better than C/C++, where these are add-ons. Maybe Rust is even better?
 
OP
Alain De Vos

Alain De Vos

Daemon

Reaction score: 645
Messages: 2,165

Rust has as contra a high learning curve and slow compilation time.
 

Crivens

Moderator
Staff member
Moderator

Reaction score: 1,652
Messages: 2,516

Well, fpc comes with a GUI builder and compiles like lightning.
 
OP
Alain De Vos

Alain De Vos

Daemon

Reaction score: 645
Messages: 2,165

Too bad Binding to the "huge" Qt is not for the faint of hart. Not only pascal but also nim,crystal, d-lang and many other languages struggle with it.
The absence of Qt-binding is not an indication of a toy language but rather the absence of a huge userbase on which i.e. python can rely.
It's a bit strange Qt-people make magnificent widgets but are unlucky "language-binding-unfriendly".
 

kpedersen

Son of Beastie

Reaction score: 2,086
Messages: 2,949

Only for Gtk, where's the Qt bindings? ==> toy language...?

If I recall, the proprietary product (https://www.embarcadero.com/products/delphi) that fpc is modelled after had an original UI system (called Visual Component Library) but now I believe that is actually layered ontop of Qt.

I know the forefather, Borland Kylix (C++Builder for Linux) provided CLX which was an implementation of VCL as a thin wrapper over an old version of Qt.

So it is possible... Just a big project I suppose.

Edit: I used to love Borland C++. Version 6 (and Kylix) was the pinnacle but after that the IDE got horribly bloated. I think CodeGear bought it and did some terrible things before Embarcadero picked up the pieces and added more bloat of its own.
 
Top