Re: Install DCD language server on Raspberrry PI4 (aarch64) requires rdmd , command not found.

2022-05-21 Thread 0xEAB via Digitalmars-d-learn
On Saturday, 21 May 2022 at 23:38:18 UTC, rikki cattermole wrote: […] I grabbed a copy of ldc2-1.24.0-linux-aarch64, it has rdmd. Something is messed up with that package if it does not include it (assuming it hasn't be split out into a tools package). iirc Debian & derivates do not package

Re: Install DCD language server on Raspberrry PI4 (aarch64) requires rdmd , command not found.

2022-05-21 Thread rikki cattermole via Digitalmars-d-learn
On 22/05/2022 10:44 AM, Alain De Vos wrote: I want to install the DCD language server on Raspberry PI4. But the dub build for DCD requires rdmd which is not available. Can I compile rdmd from source ? Or install a binary ? [PS: I have ldc 1:1.24.0-2 installed ] I grabbed a copy of

Re: Install DCD language server on Raspberrry PI4 (aarch64) requires rdmd , command not found.

2022-05-21 Thread Alain De Vos via Digitalmars-d-learn
Maybe i need to install additional phobos libraries ?

Re: Install DCD language server on Raspberrry PI4 (aarch64) requires rdmd , command not found.

2022-05-21 Thread Alain De Vos via Digitalmars-d-learn
Thanks. rdmd.d compiled fine with ldc2. But DCD did not build dub build --build=release --config=client produced the error: msgpack-d-1.0.1 value.d error undefined identifier JSONType

Re: Install DCD language server on Raspberrry PI4 (aarch64) requires rdmd , command not found.

2022-05-21 Thread Adam D Ruppe via Digitalmars-d-learn
On Saturday, 21 May 2022 at 22:44:55 UTC, Alain De Vos wrote: Can I compile rdmd from source ? Yes, rdmd is a trivial program. https://github.com/dlang/tools/blob/master/rdmd.d

Install DCD language server on Raspberrry PI4 (aarch64) requires rdmd , command not found.

2022-05-21 Thread Alain De Vos via Digitalmars-d-learn
I want to install the DCD language server on Raspberry PI4. But the dub build for DCD requires rdmd which is not available. Can I compile rdmd from source ? Or install a binary ? [PS: I have ldc 1:1.24.0-2 installed ]

Re: What are (were) the most difficult parts of D?

2022-05-21 Thread max haughton via Digitalmars-d-learn
On Saturday, 21 May 2022 at 19:00:04 UTC, Johan wrote: On Tuesday, 17 May 2022 at 06:28:10 UTC, cc wrote: On Monday, 16 May 2022 at 15:08:15 UTC, H. S. Teoh wrote: [...] According to the dlang.org wiki entry for LDC: [...] So I'm not touching it for now. Lol, what? Don't misquote the

Re: What are (were) the most difficult parts of D?

2022-05-21 Thread Johan via Digitalmars-d-learn
On Tuesday, 17 May 2022 at 06:28:10 UTC, cc wrote: On Monday, 16 May 2022 at 15:08:15 UTC, H. S. Teoh wrote: For anything performance-related, I don't even look at dmd, I use LDC all the way. DMD is only useful for fast compile-run-debug cycle, I don't even look at performance numbers for

Re: UI Library

2022-05-21 Thread harakim via Digitalmars-d-learn
On Friday, 20 May 2022 at 08:03:10 UTC, drug wrote: You can select category in dub (code.dlang.org) to get something like this: https://code.dlang.org/?sort=updated=20=library.gui Thanks. I'm still kind of new to dub so I didn't know this existed! I'm glad there are multiple options that

Re: UI Library

2022-05-21 Thread harakim via Digitalmars-d-learn
On Friday, 20 May 2022 at 12:07:46 UTC, Adam D Ruppe wrote: The docs don't have a lot of examples but hopefully one you do the first one the rest won't be too hard, the classes are relatively simple and the events are based on javascript so if you've used that before you can probably get to

Re: What are (were) the most difficult parts of D?

2022-05-21 Thread eugene via Digitalmars-d-learn
On Tuesday, 17 May 2022 at 11:59:10 UTC, bauss wrote: The problem with GC is that the lifetime sometimes exceed what's expected. I am not sure if I get the sentence right, but I've had program crash because GC in some circumstances collects objects which where supposed to have 'infinite'

Re: What are (were) the most difficult parts of D?

2022-05-21 Thread eugene via Digitalmars-d-learn
On Tuesday, 17 May 2022 at 11:50:30 UTC, zjh wrote: On Tuesday, 17 May 2022 at 06:28:10 UTC, cc wrote: Far better to just keep your house clean every day than let the trash pile up and wait for the maid to come, IMO. Right,GC is a bad idea! As I've already mentioned I think the origin of

Re: Sleep in a cycle

2022-05-21 Thread Alain De Vos via Digitalmars-d-learn
Or you could capture a sigint and close the file then.