Threads

2023-03-21 Thread Tim via Digitalmars-d-learn
Hello! I am trying to make a simple multi-threading application. But I get an error when I run the main thread of the program in a thread. The question is: "How to pass arguments from the main thread to the newly created thread of itself". Here is a piece of code: module main; import app; imp

Re: Any ways to get addr2line working with DMD? works fine with GDC

2023-03-21 Thread ryuukk_ via Digitalmars-d-learn
I found what was the issue!! https://stackoverflow.com/a/63856113 The 0x55XX address you got is most likely the memory address of the function after the EXE is loaded from disk. addr2line only recognizes VMA addresses like the ones that you got from disassembling with objdump. It no

Re: Any ways to get addr2line working with DMD? works fine with GDC

2023-03-21 Thread ryuukk_ via Digitalmars-d-learn
I found what was the issue!! https://stackoverflow.com/a/63856113 The 0x55XX address you got is most likely the memory address of the function after the EXE is loaded from disk. addr2line only recognizes VMA addresses like the ones that you got from disassembling with objdump. It no

Re: better video rendering in d

2023-03-21 Thread Ferhat Kurtulmuş via Digitalmars-d-learn
On Tuesday, 21 March 2023 at 17:46:00 UTC, H. S. Teoh wrote: On Tue, Mar 21, 2023 at 05:29:22PM +, monkyyy via Digitalmars-d-learn wrote: On Tuesday, 21 March 2023 at 17:18:15 UTC, H. S. Teoh wrote: > [...] I vaguely remember an hour and half for 5 minutes of video when its extremely light

Re: better video rendering in d

2023-03-21 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Mar 21, 2023 at 05:29:22PM +, monkyyy via Digitalmars-d-learn wrote: > On Tuesday, 21 March 2023 at 17:18:15 UTC, H. S. Teoh wrote: > > On Tue, Mar 21, 2023 at 04:57:49PM +, monkyyy via > > Digitalmars-d-learn wrote: > > > My current method of making videos of using raylib to genera

Re: better video rendering in d

2023-03-21 Thread monkyyy via Digitalmars-d-learn
On Tuesday, 21 March 2023 at 17:18:15 UTC, H. S. Teoh wrote: On Tue, Mar 21, 2023 at 04:57:49PM +, monkyyy via Digitalmars-d-learn wrote: My current method of making videos of using raylib to generate screenshots, throwing those screenshots into a folder and calling a magic ffmpeg command i

Re: better video rendering in d

2023-03-21 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Mar 21, 2023 at 04:57:49PM +, monkyyy via Digitalmars-d-learn wrote: > My current method of making videos of using raylib to generate screenshots, > throwing those screenshots into a folder and calling a magic ffmpeg command > is ... slow. [...] How slow is it now, and how fast do you

better video rendering in d

2023-03-21 Thread monkyyy via Digitalmars-d-learn
My current method of making videos of using raylib to generate screenshots, throwing those screenshots into a folder and calling a magic ffmpeg command is ... slow. Does anyone have a demo or a project that does something smarter (or willing to do the busy work of finding the right combo of d