Re: Advice on debugging possible exception or crash

2023-07-05 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
2 Recommendations: 1. Attach a debugger 2. Make sure to flush stdout whenever you write

Advice on debugging possible exception or crash

2023-07-05 Thread Cecil Ward via Digitalmars-d-learn
My program is instrumented with a load of writeflns. At one point it looks as though it suddenly quits prematurely because the expected writeflns are not seen in the output. It could be that I am just reading the flow of control wrong as it goes ret, ret etc. I’m wondering if it is throwing an

Re: Options for Cross-Platform 3D Game Development

2023-07-05 Thread IchorDev via Digitalmars-d-learn
On Wednesday, 5 July 2023 at 22:27:46 UTC, Andrew wrote: So, I've gotten the itch to have a go at game development in D, after doing a bit of it in Java last year. I've previously used LWJGL, which is a java wrapper for OpenGL, OpenAL, GLFW, and some other useful libs. The problem is, apparen

Re: Options for Cross-Platform 3D Game Development

2023-07-05 Thread ryuukk_ via Digitalmars-d-learn
Oh, and i forgot to mention Sokol, great C library, i couldn't find D bindings, so you'll have to create your own (it's trivial) https://github.com/floooh/sokol

Re: Options for Cross-Platform 3D Game Development

2023-07-05 Thread ryuukk_ via Digitalmars-d-learn
On Wednesday, 5 July 2023 at 22:27:46 UTC, Andrew wrote: So, I've gotten the itch to have a go at game development in D, after doing a bit of it in Java last year. I've previously used LWJGL, which is a java wrapper for OpenGL, OpenAL, GLFW, and some other useful libs. The problem is, apparen

Options for Cross-Platform 3D Game Development

2023-07-05 Thread Andrew via Digitalmars-d-learn
So, I've gotten the itch to have a go at game development in D, after doing a bit of it in Java last year. I've previously used LWJGL, which is a java wrapper for OpenGL, OpenAL, GLFW, and some other useful libs. The problem is, apparently OpenGL is deprecated for apple devices, so I don't re

Re: Strange behaviour of __traits(allMembers)

2023-07-05 Thread IchorDev via Digitalmars-d-learn
On Wednesday, 28 June 2023 at 10:20:44 UTC, Dennis wrote: It's now fixed: https://github.com/dlang/dmd/pull/15335 Yesss! You're a hero indeed!

Compiling to RiscV32

2023-07-05 Thread HuskyNator via Digitalmars-d-learn
Recently found out LDC supports cross-compiling to riscv, but while trying it out I can't seem to make it work. I am very likely missing something simple, as I haven't done something like this before. I've already been told it's likely something with linking, though I'm not sure how to set this