Re: D is a great language, but I've had a bad experience getting started

2023-12-14 Thread bachmeier via Digitalmars-d-learn
On Thursday, 14 December 2023 at 12:59:32 UTC, Renato wrote: On Thursday, 14 December 2023 at 12:30:35 UTC, Renato wrote: The other compilers were also easily installable on Kubuntu using snap. It seems that the Ubuntu "snap"s are not being updated for a few years?? It seems some of my

Re: D is a great language, but I've had a bad experience getting started

2023-12-14 Thread Sergey via Digitalmars-d-learn
On Thursday, 14 December 2023 at 13:27:29 UTC, Renato wrote: On Thursday, 14 December 2023 at 13:12:06 UTC, Richard (Rikki) My build options are currently: ``` "dflags-dmd": [ "-v"], "lflags": ["-ld_classic"] ``` I tried some variations but nothing worked. Previously for macOS it was

Re: D is a great language, but I've had a bad experience getting started

2023-12-14 Thread Renato via Digitalmars-d-learn
On Thursday, 14 December 2023 at 13:12:06 UTC, Richard (Rikki) Andrew Cattermole wrote: On 15/12/2023 2:02 AM, Renato wrote: How do you tell dub to "build and link in a single step"? This should do it: ``--combined --build-mode=allAtOnce`` I run this: ``` dub build --combined --build-mode=

Re: D is a great language, but I've had a bad experience getting started

2023-12-14 Thread Renato via Digitalmars-d-learn
On Thursday, 14 December 2023 at 12:59:04 UTC, Hipreme wrote: Yeah, D has a really bad experience in MacOS. If you want to use it on mac, I suggest using LDC. And the package managers doesn't do D justice. You want to get the zip and setup the environment variables yourself, this is the best

Re: D is a great language, but I've had a bad experience getting started

2023-12-14 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 15/12/2023 2:02 AM, Renato wrote: How do you tell dub to "build and link in a single step"? This should do it: ``--combined --build-mode=allAtOnce``

Re: D is a great language, but I've had a bad experience getting started

2023-12-14 Thread Renato via Digitalmars-d-learn
On Thursday, 14 December 2023 at 12:59:34 UTC, Richard (Rikki) Andrew Cattermole wrote: Welcome! Regarding the problems with dub on OSX, that'll be due to separate build + link steps. It should work ok if you build and link in a single step with the workaround applied. DC is an environ

Re: D is a great language, but I've had a bad experience getting started

2023-12-14 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
Welcome! Regarding the problems with dub on OSX, that'll be due to separate build + link steps. It should work ok if you build and link in a single step with the workaround applied. DC is an environment variable that should point to the D compiler. As a variable this particular one has

Re: D is a great language, but I've had a bad experience getting started

2023-12-14 Thread Renato via Digitalmars-d-learn
On Thursday, 14 December 2023 at 12:30:35 UTC, Renato wrote: The other compilers were also easily installable on Kubuntu using snap. It seems that the Ubuntu "snap"s are not being updated for a few years?? It seems some of my problems are related to the very old versions I got with sna

Re: D is a great language, but I've had a bad experience getting started

2023-12-14 Thread Hipreme via Digitalmars-d-learn
On Thursday, 14 December 2023 at 12:30:35 UTC, Renato wrote: Hi, I have been trying D for the last few days... I am only writing because I really, really like the language! It's absolutely stunning how the features it has are simple, well designed and at the same time incredibly advanced! All w

D is a great language, but I've had a bad experience getting started

2023-12-14 Thread Renato via Digitalmars-d-learn
Hi, I have been trying D for the last few days... I am only writing because I really, really like the language! It's absolutely stunning how the features it has are simple, well designed and at the same time incredibly advanced! All with an extremely fast compiler, which is almost unbelievable.