Timeline for Simple multi-threading setup for tile rendering (C++)
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 21, 2022 at 15:19 | comment | added | M. Saintourens | @pacmaninbw I understand your point (and sympathize)). If the students fresh out of university are not writing production quality code when working for companies indeed this is an issue, but I am not teaching programming but more computer graphics. So it's the essence of the algorithm that is implemented in a given small program that needs to stand out. But again, I will take your comment into consideration and might decide to integrate it. | |
Jul 20, 2022 at 13:20 | comment | added | pacmaninbw♦ | @user18490 I understand your reasoning but I can't say I agree with it. I've been a software engineer since 1984. There are a lot of students fresh out of college that have the theory but miss some of the basic errors, especially in low level languages like C, because they learn in high level languages like Java, Python or C++. In 1993 I had to integrate shared libraries into an executable and had to debug a lot of other peoples code that had basic errors in it. | |
Jul 20, 2022 at 13:04 | comment | added | M. Saintourens | Thanks for your input. Very valuable and I appreciate the time. I commented in the other answer that as this is a minimalist implementation to demonstrate a concept, I don't focus on checks as this takes the students away from the core of the demo. But I do appreciate the feedback as it's good to be aware of what people can say about this code regardless of what I decide to integrate later on. Many thx again. | |
Jul 17, 2022 at 15:00 | comment | added | pacmaninbw♦ | @G.Sliepen so true. | |
Jul 17, 2022 at 14:41 | comment | added | G. Sliepen |
Of course if you use malloc() you have to test the return value regardless of whether it is used in C or C++.
|
|
Jul 15, 2022 at 15:54 | history | answered | pacmaninbw♦ | CC BY-SA 4.0 |