Re: Windows dev anyone? [was: Re: Signed DMD binaries]

2018-08-18 Thread rikki cattermole via Digitalmars-d
On 19/08/2018 7:16 AM, Manu wrote: He genuinely believes OMF+OPTLINK should be the deliberate and preferred default that everyone should be confronted with as their first experience. It clearly improves new users experience with D. Has something changed? Yes. We're adding support

Re: High-level vision for 2018 H2?

2018-08-18 Thread Walter Bright via Digitalmars-d
On 8/18/2018 8:55 AM, David Nadlinger wrote: On Saturday, 18 August 2018 at 07:50:04 UTC, Dukc wrote: What's HOPL? https://hopl4.sigplan.org, presumably. —David That's right.

[Issue 17596] dmd d 2.073.2 and 2.074.1 interim generated dmd segfaults on FreeBSD 12-CURRENT

2018-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17596 --- Comment #23 from Jonathan M Davis --- And this is my PR with the binding changes that are required to get the druntime and Phobos unit tests and the dmd test suite passing: https://github.com/dlang/druntime/pull/2280 (In reply to Martin Nowak

Re: ?? How to subscribe to Multicast Broadcasts ??

2018-08-18 Thread Sebastiaan Koppe via Digitalmars-d-learn
On Monday, 13 August 2018 at 01:12:16 UTC, Joe wrote: Please Please Please Help, I am desperate! Many Thanks in Advance for your time & attention, -joe I implemented multicast support in vibe.d, I hope looking at the source can help you:

Re: [OT] Leverage Points

2018-08-18 Thread Walter Bright via Digitalmars-d
On 8/18/2018 9:59 AM, Jonathan Marler wrote: In your mind, what defines the D language's level of success? It no longer needs me or Andrei.

Re: Load D shared library on windows x64

2018-08-18 Thread Tofu Ninja via Digitalmars-d-learn
On Saturday, 18 August 2018 at 21:10:55 UTC, Tofu Ninja wrote: On Saturday, 18 August 2018 at 11:27:29 UTC, Mike Wey wrote: On 18-08-18 02:31, Tofu Ninja wrote: On Friday, 17 August 2018 at 20:27:05 UTC, Tofu Ninja wrote: Its this part that fails... always returns null HMODULE h =

Re: Load D shared library on windows x64

2018-08-18 Thread Tofu Ninja via Digitalmars-d-learn
On Saturday, 18 August 2018 at 11:27:29 UTC, Mike Wey wrote: On 18-08-18 02:31, Tofu Ninja wrote: On Friday, 17 August 2018 at 20:27:05 UTC, Tofu Ninja wrote: Its this part that fails... always returns null HMODULE h = cast(HMODULE) Runtime.loadLibrary(dllName); if (h is null) {

Re: LDC 1.11.0

2018-08-18 Thread Matthias Klumpp via Digitalmars-d-announce
On Saturday, 18 August 2018 at 16:47:35 UTC, kinke wrote: Glad to announce LDC 1.11: * Based on D 2.081.2. * Prebuilt packages now using LLVM 6.0.1 and including additional cross-compilation targets (MIPS, MSP430, RISC-V and WebAssembly). * Rudimentary support for compiling & linking directly

[Issue 18078] [CTFE] wrong initialization of array member with inout opIndex

2018-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18078 ag0aep6g changed: What|Removed |Added Keywords||wrong-code CC|

Re: Windows dev anyone? [was: Re: Signed DMD binaries]

2018-08-18 Thread Manu via Digitalmars-d
On Fri, 17 Aug 2018 at 09:45, Martin Nowak via Digitalmars-d wrote: > > Well from my point of view the most important outstanding Windows tasks are: > > - help to test, debug, and fix the experimental lld/mingw toolchain > (https://dlang.org/changelog/2.079.0.html#lld_mingw) > > Once this is

Re: [OT] Leverage Points

2018-08-18 Thread Jonathan Marler via Digitalmars-d
On Saturday, 18 August 2018 at 13:33:43 UTC, Andrei Alexandrescu wrote: A friend recommended this article: http://donellameadows.org/archives/leverage-points-places-to-intervene-in-a-system/ I found it awesome and would recommend to anyone in this community. Worth a close read - no skimming,

Re: Beta 2.082.0

2018-08-18 Thread Martin Nowak via Digitalmars-d-announce
On 08/18/2018 10:39 AM, Radu wrote: > On Saturday, 18 August 2018 at 08:30:31 UTC, Mike Franklin wrote: >> On Saturday, 18 August 2018 at 08:22:54 UTC, Mike Franklin wrote: >> >>> It's a little old, but from what I'm reading we need "reputation" >>> with Microsoft or an EV certificate, or publish

LDC 1.11.0

2018-08-18 Thread kinke via Digitalmars-d-announce
Glad to announce LDC 1.11: * Based on D 2.081.2. * Prebuilt packages now using LLVM 6.0.1 and including additional cross-compilation targets (MIPS, MSP430, RISC-V and WebAssembly). * Rudimentary support for compiling & linking directly to WebAssembly. See the dedicated Wiki page [1] for how to

Re: High-level vision for 2018 H2?

2018-08-18 Thread David Nadlinger via Digitalmars-d
On Saturday, 18 August 2018 at 07:50:04 UTC, Dukc wrote: On Thursday, 16 August 2018 at 14:11:20 UTC, Andrei Alexandrescu wrote: we're working on a HOPL submission. What's HOPL? https://hopl4.sigplan.org, presumably. —David

Re: Beta 2.082.0

2018-08-18 Thread Jonathan M Davis via Digitalmars-d-announce
On Saturday, August 18, 2018 1:01:18 AM MDT Martin Nowak via Digitalmars-d- announce wrote: > On Friday, 17 August 2018 at 22:08:16 UTC, Mike Franklin wrote: > > On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote: > >> Glad to announce the first beta for the 2.082.0 release > > > >

Re: Set optional function parameter

2018-08-18 Thread Simen Kjærås via Digitalmars-d-learn
On Friday, 17 August 2018 at 08:52:53 UTC, Andrey wrote: I mean - can I skip some arguments and set only one that I want? Hm, Python, it seems to me, support this feature. There's no such built-in functionality in the language or standard library, no. As Jonathan pointed out, this has been

[OT] Leverage Points

2018-08-18 Thread Andrei Alexandrescu via Digitalmars-d
A friend recommended this article: http://donellameadows.org/archives/leverage-points-places-to-intervene-in-a-system/ I found it awesome and would recommend to anyone in this community. Worth a close read - no skimming, no tl;rd etc. The question applicable to us - where are the best

Re: Calling convention for ASM on Linux AMD64

2018-08-18 Thread Sean O'Connor via Digitalmars-d-learn
Okay, cool, thanks for the information. The main reason for using D versus Java for me at the moment is that array slices allow me avoid lots of intermediate buffers that Java is forcing me to use. Also the line count is about 2/3 of Java. Further I can directly embed any assembly language I

Re: Load D shared library on windows x64

2018-08-18 Thread Mike Wey via Digitalmars-d-learn
On 18-08-18 02:31, Tofu Ninja wrote: On Friday, 17 August 2018 at 20:27:05 UTC, Tofu Ninja wrote: Its this part that fails... always returns null HMODULE h = cast(HMODULE) Runtime.loadLibrary(dllName); if (h is null) { writeln("error loading"); return; } I there any way to see why

[Issue 19097] Extend Return Scope Semantics

2018-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19097 --- Comment #5 from Walter Bright --- (In reply to Mike Franklin from comment #4) > How does `return` apply to a function that has no `return` type? If the return type is 'void', and the first parameter is by 'ref', the 'return' applies to the

Re: Load D shared library on windows x64

2018-08-18 Thread Igor via Digitalmars-d-learn
On Saturday, 18 August 2018 at 00:31:49 UTC, Tofu Ninja wrote: On Friday, 17 August 2018 at 20:27:05 UTC, Tofu Ninja wrote: Its this part that fails... always returns null HMODULE h = cast(HMODULE) Runtime.loadLibrary(dllName); if (h is null) { writeln("error loading"); return;

Re: Beta 2.082.0

2018-08-18 Thread Radu via Digitalmars-d-announce
On Saturday, 18 August 2018 at 08:30:31 UTC, Mike Franklin wrote: On Saturday, 18 August 2018 at 08:22:54 UTC, Mike Franklin wrote: It's a little old, but from what I'm reading we need "reputation" with Microsoft or an EV certificate, or publish on the Windows Store. I'm also reading that

Re: concurrency call to arms

2018-08-18 Thread John Belmonte via Digitalmars-d
On Friday, 17 August 2018 at 06:36:36 UTC, rikki cattermole wrote: Because we have an event loop, we don't need a nursery! It comes free of charge. It also means we don't need that with statement... hang on that now becomes await and async! Just without the await (auto added in scope(exit),

Re: Beta 2.082.0

2018-08-18 Thread Mike Franklin via Digitalmars-d-announce
On Saturday, 18 August 2018 at 08:22:54 UTC, Mike Franklin wrote: It's a little old, but from what I'm reading we need "reputation" with Microsoft or an EV certificate, or publish on the Windows Store. I'm also reading that once the executable has been downloaded a number of times from

Re: Beta 2.082.0

2018-08-18 Thread Mike Franklin via Digitalmars-d-announce
On Saturday, 18 August 2018 at 08:04:41 UTC, Mike Franklin wrote: I'll research a little and see if I can find some more information. This thread was also quite informative: https://stackoverflow.com/questions/12311203/how-to-pass-the-smart-screen-on-win8-when-install-a-signed-application

Re: Beta 2.082.0

2018-08-18 Thread rikki cattermole via Digitalmars-d-announce
On 18/08/2018 8:04 PM, Mike Franklin wrote: On Saturday, 18 August 2018 at 06:52:21 UTC, Martin Nowak wrote: On Friday, 17 August 2018 at 22:01:29 UTC, Mike Franklin wrote: On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote: Windows installer and binaries are now code-signed -

Re: Beta 2.082.0

2018-08-18 Thread Mike Franklin via Digitalmars-d-announce
On Saturday, 18 August 2018 at 08:04:41 UTC, Mike Franklin wrote: I'll research a little and see if I can find some more information. Ok, so it is indeed signed: https://imgur.com/a/jGdoXSc I found this which was disappointing:

Re: Beta 2.082.0

2018-08-18 Thread Mike Franklin via Digitalmars-d-announce
On Saturday, 18 August 2018 at 08:04:41 UTC, Mike Franklin wrote: I get the "Windows Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk" message. In other words this:

Re: Beta 2.082.0

2018-08-18 Thread Mike Franklin via Digitalmars-d-announce
On Saturday, 18 August 2018 at 06:52:21 UTC, Martin Nowak wrote: On Friday, 17 August 2018 at 22:01:29 UTC, Mike Franklin wrote: On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote: Windows installer and binaries are now code-signed -

Re: High-level vision for 2018 H2?

2018-08-18 Thread Eugene Wissner via Digitalmars-d
On Saturday, 18 August 2018 at 07:50:04 UTC, Dukc wrote: On Thursday, 16 August 2018 at 14:11:20 UTC, Andrei Alexandrescu wrote: we're working on a HOPL submission. What's HOPL? http://www.hopl.info/

Re: High-level vision for 2018 H2?

2018-08-18 Thread Dukc via Digitalmars-d
On Thursday, 16 August 2018 at 14:11:20 UTC, Andrei Alexandrescu wrote: we're working on a HOPL submission. What's HOPL?

Re: How possible is it to put DWARF debug infos in MSCOFF objects ?

2018-08-18 Thread Basile B. via Digitalmars-d
On Friday, 17 August 2018 at 19:28:47 UTC, Basile B. wrote: Now that -m64 + LLD + MINGW works, the question is obvious. The background idea is of course to allow the use of GDB under Windows. At first glance the debug info API is not uniform. This is visible if you compare dmd.backend.dwarf

Re: Beta 2.082.0

2018-08-18 Thread Martin Nowak via Digitalmars-d-announce
On Friday, 17 August 2018 at 22:08:16 UTC, Mike Franklin wrote: On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote: Glad to announce the first beta for the 2.082.0 release According to https://issues.dlang.org/show_bug.cgi?id=18786 VirusTotal used to report a virus for the

Re: Beta 2.082.0

2018-08-18 Thread Martin Nowak via Digitalmars-d-announce
On Friday, 17 August 2018 at 22:01:29 UTC, Mike Franklin wrote: On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote: Windows installer and binaries are now code-signed - https://dlang.org/changelog/2.082.0.html#signed_windows_binaries Was this beta installer supposed to be signed?

Re: Calling convention for ASM on Linux AMD64

2018-08-18 Thread Eugene Wissner via Digitalmars-d-learn
On Saturday, 18 August 2018 at 06:47:36 UTC, Eugene Wissner wrote: On Saturday, 18 August 2018 at 04:16:11 UTC, Sean O'Connor wrote: What calling convention is used for assembly language in Linux AMD64? Normally the parameters go in fixed order into designated registers. import std.stdio; //

Re: Calling convention for ASM on Linux AMD64

2018-08-18 Thread Eugene Wissner via Digitalmars-d-learn
On Saturday, 18 August 2018 at 04:16:11 UTC, Sean O'Connor wrote: What calling convention is used for assembly language in Linux AMD64? Normally the parameters go in fixed order into designated registers. import std.stdio; // Linux AMD64 float* test(float *x,ulong y){ asm{

[Issue 19097] Extend Return Scope Semantics

2018-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19097 --- Comment #4 from Mike Franklin --- > This situation comes up repeatedly with: > 1. constructors > 2. property setters > 3. put(dest, source) functions In other words 2 and 3 are functions that return `void`. Constructors are like `static`

[Issue 19097] Extend Return Scope Semantics

2018-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19097 --- Comment #3 from Mike Franklin --- Example 2 - @safe: void betty(ref scope int* r, return scope int* p) { r = p; // (1) Error: scope variable `p` assigned to `r` with longer lifetime } void main() { int* p; int i;

[Issue 19097] Extend Return Scope Semantics

2018-08-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19097 Mike Franklin changed: What|Removed |Added CC||slavo5...@yahoo.com --- Comment #2 from