Hello,
I was looking over
http://dlang.org/spec/arrays.html#rectangular-arrays:
And I've found that D multidimensional arrays are Rectangular, so
it's impossible to create non-rectangular multidimensional static
array like:
int[2][5] arr;
?
On Monday, 21 July 2025 at 16:42:31 UTC, Albert wrote:
Sorry to be blunt, but not great first impression so far. I'm
still trying to make this work, but stuck with no clue...
I think setting sodlib path in settings helped somewhat. At least
errors are gone and seems to have detected the build
On Monday, 21 July 2025 at 17:08:17 UTC, Albert wrote:
How do I build & run the executable though?
Anyway with some perseverance I managed to build & run hello
world app. Thank you guys for your help.
Though I do think D could do so much better with onboarding first
time users...
On Monday, 21 July 2025 at 16:24:31 UTC, Luna wrote:
The script works by adding a special startup script to your
shell session; as such you may need to restart your mac for it
to fully work.
I've tried everything I can think of, now getting the following
errors:
```
Could not initialize dub
On Monday, 21 July 2025 at 14:10:44 UTC, Serg Gini wrote:
Also don't forget to switch the version of the "code-d"
extension to "beta/nightly". Stable is very old and not
updating properly.
Thanks, how do I get the beta/nightly version? Only one I see is
0.23.1 from 2021. Thanks
On Monday, 21 July 2025 at 14:16:29 UTC, Luna wrote:
The script I posted automates some of these steps by the way;
so you'll just have to set the paths correctly in the plugin
(/opt/SDKs/serve-d/bin/serve-d, /opt/SDKs/dcd/bin/dcd-server,
/opt/SDKs/dcd/bin/dcd-client); then set the serve-d versi
Hi all,
I am completely new to D, wished to try it out and write a small
app in it. However, for the last couple hours I am ready to pull
my hair out as I have no idea how to compile even a simplest
hello world app.
I installed ldc and dub (nowhere on the download page did it even
mention t