Re: Call to Runtime.unloadLibrary corrupts stdout and stderr

2017-09-03 Thread Markus Pursche via Digitalmars-d
On Sunday, 3 September 2017 at 13:41:33 UTC, Rainer Schuetze wrote: On 02.09.2017 23:38, Markus Pursche wrote: [...] Unfortunately, this section only applies to simple programs (no multi-threading, no sharing of other resources than GC-memory, not even malloc'ed memory). I think there

Call to Runtime.unloadLibrary corrupts stdout and stderr

2017-09-02 Thread Markus Pursche via Digitalmars-d
Hi, I'm trying to hot reload a DLL while the program is running to allow for rapid iteration in a game engine I am working on. I started reading up on how DLLs work between D code here: https://wiki.dlang.org/Win32_DLLs_in_D#D_code_calling_D_code_in_DLLs I followed that example, however when

Re: Version identifier for PS4

2016-06-12 Thread Markus Pursche via Digitalmars-d
On Sunday, 12 June 2016 at 06:29:08 UTC, Walter Bright wrote: On 6/9/2016 5:30 AM, Johan Engelen wrote: Hi all, PR 5850 is proposing to add a predefined (reserved) version identifier for the PS4 OS: "PS4" [1]. Thanks for your comment (preferably with an alternative suggestion in case you

Re: Version identifier for PS4

2016-06-11 Thread Markus Pursche via Digitalmars-d
On Saturday, 11 June 2016 at 17:09:59 UTC, David Nadlinger wrote: On Friday, 10 June 2016 at 14:37:23 UTC, Markus Pursche wrote: If this is the case we would want to use Orbis. As Seb also pointed out on GitHub, I've seen LLVM use "PS4" internally, and it always seemed rather natural to me.

Re: Version identifier for PS4

2016-06-10 Thread Markus Pursche via Digitalmars-d
On Friday, 10 June 2016 at 08:56:57 UTC, Jacob Carlborg wrote: On 2016-06-09 15:16, Steven Schveighoffer wrote: The precedent is to use whatever the OS defines for the host C compiler. This is the reason we have lower case "linux" for version, which is inconsistent with other version

Re: Version identifier for PS4

2016-06-09 Thread Markus Pursche via Digitalmars-d
On Thursday, 9 June 2016 at 13:16:58 UTC, Steven Schveighoffer wrote: On 6/9/16 9:09 AM, Markus Pursche wrote: On Thursday, 9 June 2016 at 12:38:51 UTC, rikki cattermole wrote: [...] As the "author"(?) of that pull request I would love to get a discussion going. PS4 vs Orbis vs

Re: Version identifier for PS4

2016-06-09 Thread Markus Pursche via Digitalmars-d
On Thursday, 9 June 2016 at 13:09:01 UTC, Johan Engelen wrote: On Thursday, 9 June 2016 at 12:38:51 UTC, rikki cattermole wrote: "PS4" is really quite short. "PlayStation4" would be far better that way it isn't an acronym. Nice suggestion. I don't know about similarities between

Re: Version identifier for PS4

2016-06-09 Thread Markus Pursche via Digitalmars-d
On Thursday, 9 June 2016 at 12:38:51 UTC, rikki cattermole wrote: On 10/06/2016 12:30 AM, Johan Engelen wrote: Hi all, PR 5850 is proposing to add a predefined (reserved) version identifier for the PS4 OS: "PS4" [1]. Thanks for your comment (preferably with an alternative suggestion in