On Monday, 1 May 2023 at 03:53:24 UTC, Cecil Ward wrote:
On Wednesday, 26 April 2023 at 23:07:39 UTC, WhatMeWorry wrote:
[...]
Correction: I can’t count. There are only two instructions in
parallel with another pair running alongside, not three. The
first reg, reg move counts as zero
On Wednesday, 26 April 2023 at 23:07:39 UTC, WhatMeWorry wrote:
On Wednesday, 26 April 2023 at 23:02:07 UTC, Richard (Rikki)
Andrew Cattermole wrote:
Don't forget ``num % 2 == 0``.
None should matter, pretty much all production compilers
within the last 30 years should recognize all forms of
On Sunday, 30 April 2023 at 22:37:48 UTC, Adam D Ruppe wrote:
On Sunday, 30 April 2023 at 22:10:31 UTC, Cecil Ward wrote:
How do we wait for an ‘or’ of multiple asynchronous events in
this kind of code?
You can set a timeout value for Socket.select, but Phobos isn't
going to help you with
On Sunday, 30 April 2023 at 17:51:15 UTC, Eric P626 wrote:
The title of this thread might be weird, but I am currently
reconsidering the language and tools I am using before
returning to production again.
# Objective and projects
Make simple turn based (no animation) video games using
On Sunday, 30 April 2023 at 22:10:31 UTC, Cecil Ward wrote:
How do we wait for an ‘or’ of multiple asynchronous events in
this kind of code?
You can set a timeout value for Socket.select, but Phobos isn't
going to help you with anything other than sockets and timeouts
(despite the fact the
On Saturday, 29 April 2023 at 11:26:20 UTC, Adam D Ruppe wrote:
On Saturday, 29 April 2023 at 10:56:46 UTC, Jan Allersma wrote:
auto clientResult = Socket.select(clientSet, null, null);
There's probably nothing in clientSet, so it is waiting for
nothing you almost always want to have
On Sunday, 30 April 2023 at 17:51:15 UTC, Eric P626 wrote:
So what language do you recommend:
* Keep everything in plain C
* Use C patched with macros to gain some language features like
Foreach
* Use BetterC for everything
* Use D for the games, and better C or C for the libraries(To
keep
On Sunday, 30 April 2023 at 17:51:15 UTC, Eric P626 wrote:
* Use D for everything, no C compatibility.
This is a false dilemma: D has full C compatibility.
The title of this thread might be weird, but I am currently
reconsidering the language and tools I am using before returning
to production again.
# Objective and projects
Make simple turn based (no animation) video games using Allegro
4, maybe 5, and eventually SDL on multiple platforms: