[OT] Re: Proposal 2: Exceptions and @nogc

2017-04-14 Thread Timon Gehr via Digitalmars-d
On 15.04.2017 01:29, Walter Bright wrote: On 4/14/2017 3:41 PM, Timon Gehr wrote: Haskell does not do that. Why do you think it does? Do what? Require 100% purity and immutability. (You're underquoting.) I did not mention Haskell. ... You said "come about when". Those things "came

Re: Proposal 2: Exceptions and @nogc

2017-04-14 Thread Chris M. via Digitalmars-d
On Sunday, 9 April 2017 at 03:26:14 UTC, Walter Bright wrote: My previous version did not survive implementation. Here's the revised version. I have submitted it as a DIP, and there's a trial implementation up: [...] Maybe someone already explained this or the reason is obvious, but why

[Issue 17327] New: std.getopt: repeated options unrecognised

2017-04-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17327 Issue ID: 17327 Summary: std.getopt: repeated options unrecognised Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

Re: Proposal 2: Exceptions and @nogc

2017-04-14 Thread Meta via Digitalmars-d
But people find it intuitive. This is a terrible example as English is anything but intuitive. Just ask any ESL student. No human language is intuitive, which is why we strive to create intuitiveness and regularity in the languages we create, programming or otherwise. If D ever becomes a

Re: Strange stack variable corruption error after calling extern(C) function

2017-04-14 Thread Lewis via Digitalmars-d-learn
On Tuesday, 3 May 2016 at 19:06:30 UTC, cc wrote: I see, thanks. Double checking the original headers, I see the function is defined as: FMOD_RESULT F_API FMOD_System_CreateSound (FMOD_SYSTEM *system, const char *name_or_data, FMOD_MODE mode, FMOD_CREATESOUNDEXINFO *exinfo,

[Issue 17326] 2.072 gc changes broke 32 bit Windows DLLs

2017-04-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17326 Walter Bright changed: What|Removed |Added Keywords||dll --

Re: Proposal 2: Exceptions and @nogc

2017-04-14 Thread Walter Bright via Digitalmars-d
On 4/14/2017 3:41 PM, Timon Gehr wrote: Haskell does not do that. Why do you think it does? Do what? I did not mention Haskell. Back in the 80's, like everyone else, I went about creating a GUI user interface library. I discovered something interesting - what is orthogonal and consistent to

Re: Proposal 2: Exceptions and @nogc

2017-04-14 Thread Timon Gehr via Digitalmars-d
On 11.04.2017 19:43, Walter Bright wrote: On 4/11/2017 4:39 AM, rjframe wrote: I have no problem with this specific change, but this method of solving problems is going to turn D into a horrible language with all kinds of weird edge cases. I left Python for D mostly because the language was

[Issue 17099] c:\d\dmd2\samples\d needs to be updated to compile with latest versions like 2073...

2017-04-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17099 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED

Re: Upgrading the minimum version of FreeBSD supported

2017-04-14 Thread Brad Roberts via Digitalmars-d
On 4/2/2017 9:20 PM, Jonathan M Davis via Digitalmars-d wrote: On Sunday, April 02, 2017 20:40:15 Brad Roberts via Digitalmars-d wrote: I grabbed the official 10.3-CURRENT vm image from the freebsd website and gave it a whirl. For the 64 bit test run, the only failure was std.datetime unit

Re: Walter and Andrei and community relationship management

2017-04-14 Thread Walter Bright via Digitalmars-d
On 4/14/2017 7:27 AM, Joseph Rushton Wakeling wrote: Even allowing for the fact that changes to the language definition should face a high bar (made higher by the general wish for non-breaking changes), that suggests that the 'champion'-based approach may run into difficulties when it comes to

Re: CTFE Status 2

2017-04-14 Thread Stefan Koch via Digitalmars-d
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote: { ... } Wonderful news! Most of the Byteocode macros are gone! meaning less templates and faster bytecode generartion!

Re: Update roll-up on my arsd libraries

2017-04-14 Thread Adam D. Ruppe via Digitalmars-d-announce
On Friday, 14 April 2017 at 19:55:54 UTC, Jerry wrote: You have mixed spaces and tabs, not in the good way either. https://github.com/adamdruppe/arsd/blob/master/simpledisplay.d#L3642 Some code is copied from C headers, some come from open source contributors who may use different styles than

Re: Update roll-up on my arsd libraries

2017-04-14 Thread Jerry via Digitalmars-d-announce
You have mixed spaces and tabs, not in the good way either. https://github.com/adamdruppe/arsd/blob/master/simpledisplay.d#L3642

Re: BLAS implementation for D

2017-04-14 Thread bachmeier via Digitalmars-d-announce
On Friday, 14 April 2017 at 16:31:24 UTC, jmh530 wrote: Not a lawyer, but I think if you just port it to another language it is a derived work in GPL and the ported project must also be GPL. This is correct. However, if you're completely re-writing each function, I don't know. I don't

Re: BLAS implementation for D

2017-04-14 Thread data pulverizer via Digitalmars-d-announce
On Friday, 14 April 2017 at 16:31:24 UTC, jmh530 wrote: On Friday, 14 April 2017 at 15:37:20 UTC, data pulverizer wrote: You raise a very good point. My intention is to completely re-write each function that was based on GSL's CBLAS while upgrading the performance. Once this is done the

Re: Why map return [] ?

2017-04-14 Thread Suliman via Digitalmars-d-learn
On Friday, 14 April 2017 at 15:55:13 UTC, Rene Zwanenburg wrote: On Friday, 14 April 2017 at 15:49:00 UTC, Suliman wrote: I found problem! ResultRange should be converted to array before it can be `map`ed That shouldn't be necessary. Can you post your complete code? ResultRange

Re: Deduplicating template reflection code

2017-04-14 Thread Moritz Maxeiner via Digitalmars-d-learn
On Friday, 14 April 2017 at 17:57:49 UTC, Johannes Pfau wrote: Am Fri, 14 Apr 2017 13:41:45 + schrieb Moritz Maxeiner : [...] Great, thanks that's exactly the solution I wanted. Figuring this out by myself is a bit above my template skill level ;-) -- Johannes

Re: Compilation problems with GDC/GCC

2017-04-14 Thread Johannes Pfau via Digitalmars-d-learn
Am Fri, 14 Apr 2017 13:03:22 + schrieb DRex : > On Friday, 14 April 2017 at 12:01:39 UTC, DRex wrote: > > > > the -r option redirects the linked object files into another > > object file, so the point being I can pass a D object and a C > > object to the linker and

Re: Article: Interfacing D with C and Fortran

2017-04-14 Thread jmh530 via Digitalmars-d-announce
On Thursday, 13 April 2017 at 11:23:32 UTC, jmh530 wrote: Looks good. Also, I tried to add the blog to feedly, but it wasn't having any of it. You might want to create an RSS feed for it. Just an FYI, I was looking at another post

Re: Deduplicating template reflection code

2017-04-14 Thread Johannes Pfau via Digitalmars-d-learn
Am Fri, 14 Apr 2017 13:41:45 + schrieb Moritz Maxeiner : > On Friday, 14 April 2017 at 11:29:03 UTC, Johannes Pfau wrote: > > > > Is there some way to wrap the 'type selection'? In pseudo-code > > something like this: > > > > enum FilteredOverloads(API) = ... > > > >

Re: cmake-d and gdc/gdmd compiler

2017-04-14 Thread timvol via Digitalmars-d-learn
On Tuesday, 4 April 2017 at 19:59:19 UTC, Dragos Carp wrote: On Tuesday, 4 April 2017 at 18:42:45 UTC, timvol wrote: Hi guys, I'm trying to cross-compile a project using CMake and gdc (or better: the gdmd port). My CMakeLists-file is the following: For cross-compiling, CMake uses a so

[Issue 6527] Ambiguous mangling of inout parameters

2017-04-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6527 Rainer Schuetze changed: What|Removed |Added Status|NEW |RESOLVED

Re: Walter and Andrei and community relationship management

2017-04-14 Thread Andrei Alexandrescu via Digitalmars-d
Points well taken, thanks. One clarification - there is no need to formalize feedback to a DIP as another DIP, unless of course it is an alternative approach of its own. A better process will indeed help all of us and raise the level of responsibility across the board. Acting on feedback

Re: BLAS implementation for D

2017-04-14 Thread jmh530 via Digitalmars-d-announce
On Friday, 14 April 2017 at 15:37:20 UTC, data pulverizer wrote: You raise a very good point. My intention is to completely re-write each function that was based on GSL's CBLAS while upgrading the performance. Once this is done the library should be regarded as a different work ... if anyone

Re: Why map return [] ?

2017-04-14 Thread Rene Zwanenburg via Digitalmars-d-learn
On Friday, 14 April 2017 at 15:49:00 UTC, Suliman wrote: I found problem! ResultRange should be converted to array before it can be `map`ed That shouldn't be necessary. Can you post your complete code?

Re: Can't build simple project. Very strange errors

2017-04-14 Thread Rene Zwanenburg via Digitalmars-d-learn
On Friday, 14 April 2017 at 15:42:33 UTC, Suliman wrote: On Friday, 14 April 2017 at 15:40:18 UTC, Rene Zwanenburg wrote: On Friday, 14 April 2017 at 15:31:21 UTC, Suliman wrote: On Friday, 14 April 2017 at 15:22:49 UTC, Rene Zwanenburg wrote: On Friday, 14 April 2017 at 09:49:09 UTC, Suliman

Re: Why map return [] ?

2017-04-14 Thread Suliman via Digitalmars-d-learn
On Friday, 14 April 2017 at 15:38:19 UTC, Suliman wrote: On Friday, 14 April 2017 at 15:35:15 UTC, cym13 wrote: On Friday, 14 April 2017 at 15:29:33 UTC, Suliman wrote: auto x = MySQLTablesRange.map!(a=>a); writeln(x); return: [] while next code: MySQLTablesRange.each!(a=>a.writeln); return

Re: Can't build simple project. Very strange errors

2017-04-14 Thread Suliman via Digitalmars-d-learn
On Friday, 14 April 2017 at 15:40:18 UTC, Rene Zwanenburg wrote: On Friday, 14 April 2017 at 15:31:21 UTC, Suliman wrote: On Friday, 14 April 2017 at 15:22:49 UTC, Rene Zwanenburg wrote: On Friday, 14 April 2017 at 09:49:09 UTC, Suliman wrote: on: dub build --compiler=ldc2 link OPTLINK (R)

Re: Can't build simple project. Very strange errors

2017-04-14 Thread Rene Zwanenburg via Digitalmars-d-learn
On Friday, 14 April 2017 at 15:31:21 UTC, Suliman wrote: On Friday, 14 April 2017 at 15:22:49 UTC, Rene Zwanenburg wrote: On Friday, 14 April 2017 at 09:49:09 UTC, Suliman wrote: on: dub build --compiler=ldc2 link OPTLINK (R) for Win32 Release 8.00.17 Optlink isn't able to link object

Re: BLAS implementation for D

2017-04-14 Thread data pulverizer via Digitalmars-d-announce
On Thursday, 13 April 2017 at 17:43:14 UTC, Bill Baxter wrote: Re: merging with Mir GLAS, that seems very tricky without changing Mir GLAS's license to GPL. You raise a very good point. My intention is to completely re-write each function that was based on GSL's CBLAS while upgrading the

Re: CTFE Status 2

2017-04-14 Thread Stefan Koch via Digitalmars-d
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote: [ ... ] Hi I want to share another story. I was pretty happy to have recursive function calls working. So happy in fact that I overlooked that they were actually generated twice. Let me illustrate what happend. Suppose we

Re: Why map return [] ?

2017-04-14 Thread Suliman via Digitalmars-d-learn
On Friday, 14 April 2017 at 15:35:15 UTC, cym13 wrote: On Friday, 14 April 2017 at 15:29:33 UTC, Suliman wrote: auto x = MySQLTablesRange.map!(a=>a); writeln(x); return: [] while next code: MySQLTablesRange.each!(a=>a.writeln); return data line by line. Why? What library is that supposed

Re: Why map return [] ?

2017-04-14 Thread cym13 via Digitalmars-d-learn
On Friday, 14 April 2017 at 15:29:33 UTC, Suliman wrote: auto x = MySQLTablesRange.map!(a=>a); writeln(x); return: [] while next code: MySQLTablesRange.each!(a=>a.writeln); return data line by line. Why? What library is that supposed to be?

Cannot build dfix, dcd with dub

2017-04-14 Thread Domain via Digitalmars-d-learn
I use the latest dmd. It seems dub fetch the wrong dependencies C:\Domain\d>dub build dfix --build=release Building package dfix in C:\Users\Domain\AppData\Roaming\dub\packages\dfix-0.3. 1\dfix\ Fetching experimental_allocator 2.70.0-b1 (getting selected version)... Fetching libdparse 0.3.0

Re: Can't build simple project. Very strange errors

2017-04-14 Thread Suliman via Digitalmars-d-learn
On Friday, 14 April 2017 at 15:22:49 UTC, Rene Zwanenburg wrote: On Friday, 14 April 2017 at 09:49:09 UTC, Suliman wrote: on: dub build --compiler=ldc2 link OPTLINK (R) for Win32 Release 8.00.17 Optlink isn't able to link object files produced by ldc. Could you try an x64_86 build?

Why map return [] ?

2017-04-14 Thread Suliman via Digitalmars-d-learn
auto x = MySQLTablesRange.map!(a=>a); writeln(x); return: [] while next code: MySQLTablesRange.each!(a=>a.writeln); return data line by line. Why?

Re: Can't build simple project. Very strange errors

2017-04-14 Thread Rene Zwanenburg via Digitalmars-d-learn
On Friday, 14 April 2017 at 09:49:09 UTC, Suliman wrote: on: dub build --compiler=ldc2 link OPTLINK (R) for Win32 Release 8.00.17 Optlink isn't able to link object files produced by ldc. Could you try an x64_86 build? You'll need the Microsoft linker.

[Issue 1550] D DLLs close standard input/output streams when unloading

2017-04-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1550 Rainer Schuetze changed: What|Removed |Added Status|RESOLVED|REOPENED

Re: Walter and Andrei and community relationship management

2017-04-14 Thread Joseph Rushton Wakeling via Digitalmars-d
On Thursday, 6 April 2017 at 19:27:50 UTC, Andrei Alexandrescu wrote: We commit to be more formal about the process, but overall it is correct that we have more say in what gets in the language. Allow me to add a couple of things. First, this is the way things are commonly done in language

[Issue 17310] [SPEC] Ambiguous mangling for 'Y', Objective-C function or variadic arguments?

2017-04-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17310 --- Comment #1 from Rainer Schuetze --- > Granted, the function type might never appear without a pointer prefix in the > argument list It appears inside QualifiedName for nested symbols inside an extern(Objective-C ) function.

Boston DLang Meetup Friday 4/21

2017-04-14 Thread Steven Schveighoffer via Digitalmars-d-announce
We will have one more meetup before the conference, hope you can attend! https://www.eventbrite.com/e/monthly-boston-d-get-together-tickets-33731308251 -Steve

Re: Walter and Andrei and community relationship management

2017-04-14 Thread Joseph Rushton Wakeling via Digitalmars-d
On Monday, 10 April 2017 at 22:07:11 UTC, Walter Bright wrote: There are many. A random sampling: Daniel Murphy - moving front end to D Jacob Carlborg - Objective C support Stephan Koch - newCTFE Brad Roberts - autotester, bugzilla the gdc and ldc teams Rainer Schutze - GC work, Visual Studio

Re: Visual Programming: NoFlo and Flow-based Programming

2017-04-14 Thread Faux Amis via Digitalmars-d
On 2017-04-14 10:31, davidvm wrote: Hello everyone, I just want to share this thought with you: I think a great way that could maybe help popularize the use of D, could be by developing a Flow-based programming (FBP) implementation for NoFlo and Flowhub. What do you think? Please comment

Re: Deduplicating template reflection code

2017-04-14 Thread Moritz Maxeiner via Digitalmars-d-learn
On Friday, 14 April 2017 at 11:29:03 UTC, Johannes Pfau wrote: Is there some way to wrap the 'type selection'? In pseudo-code something like this: enum FilteredOverloads(API) = ... foreach(Overload, FilteredOverloads!API) { } Sure, but that's a bit more complex: --- [...] //

Re: Update roll-up on my arsd libraries

2017-04-14 Thread Adam D. Ruppe via Digitalmars-d-announce
On Friday, 14 April 2017 at 06:23:00 UTC, Basile B. wrote: Thanks particularly for this one, which is certainly a reference about how to use the nightmare-ish X11 API in D. I actually don't think X is that bad for what it does. just that it is ridiculously underpowered compared to the

Re: Non-x86 targets for DMD

2017-04-14 Thread rikki cattermole via Digitalmars-d
On 14/04/2017 2:22 PM, solidstate1991 wrote: Since the backend is no longer restrained by Symantec licenses, there's no reason why there should be only be x86 and amd64 CPU support even if GDC and LDC already have their own implementations. Here is my suggestion, try and document the backend.

Non-x86 targets for DMD

2017-04-14 Thread solidstate1991 via Digitalmars-d
Since the backend is no longer restrained by Symantec licenses, there's no reason why there should be only be x86 and amd64 CPU support even if GDC and LDC already have their own implementations. I would help out after I either finish my college or get booted out from there for failing to

Re: Compilation problems with GDC/GCC

2017-04-14 Thread DRex via Digitalmars-d-learn
On Friday, 14 April 2017 at 12:01:39 UTC, DRex wrote: the -r option redirects the linked object files into another object file, so the point being I can pass a D object and a C object to the linker and produce another object file. As for linking D files, do you mean passing the druntime

Re: Compilation problems with GDC/GCC

2017-04-14 Thread DRex via Digitalmars-d-learn
On Friday, 14 April 2017 at 11:51:54 UTC, Nicholas Wilson wrote: On Friday, 14 April 2017 at 11:32:57 UTC, DRex wrote: I have project which involves both C and D code. For reasons that are much too long to explain, I have to use GCC to compile the C code into object files (GDC to compile the

Re: Compilation problems with GDC/GCC

2017-04-14 Thread Nicholas Wilson via Digitalmars-d-learn
On Friday, 14 April 2017 at 11:32:57 UTC, DRex wrote: I have project which involves both C and D code. For reasons that are much too long to explain, I have to use GCC to compile the C code into object files (GDC to compile the D code into object files) and then ld to link all the object

Compilation problems with GDC/GCC

2017-04-14 Thread DRex via Digitalmars-d-learn
I have project which involves both C and D code. For reasons that are much too long to explain, I have to use GCC to compile the C code into object files (GDC to compile the D code into object files) and then ld to link all the object files together. Now (unless I am missing something) ld

Re: Deduplicating template reflection code

2017-04-14 Thread Johannes Pfau via Digitalmars-d-learn
Am Fri, 14 Apr 2017 08:55:48 + schrieb Moritz Maxeiner : > > mixin Foo!(API, (MethodType) { > // function dependent code here > }); > foo(); > --- > > Option 2: Code generation using CTFE > > --- > string genFoo(alias API, string justDoIt) > { > import std.array :

Re: Can't build simple project. Very strange errors

2017-04-14 Thread Suliman via Digitalmars-d-learn
On Friday, 14 April 2017 at 10:40:00 UTC, Suliman wrote: I checked all possible combination of dmd and vibed (0.7.30 brunch). No result. Only a little bit another error: Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html

Re: Can't build simple project. Very strange errors

2017-04-14 Thread Suliman via Digitalmars-d-learn
I checked all possible combination of dmd and vibed (0.7.30 brunch). No result. Only a little bit another error: Copyright (C) Digital Mars 1989-2013 All rights reserved. http://www.digitalmars.com/ctg/optlink.html

[Issue 17326] 2.072 gc changes broke 32 bit Windows DLLs

2017-04-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17326 Walter Bright changed: What|Removed |Added Summary|2.072 gc changes totally|2.072 gc changes

[Issue 17326] 2.072 gc changes totally broke 32 bit Windows DLLs

2017-04-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17326 --- Comment #1 from Walter Bright --- The PR that broke it all: https://github.com/dlang/druntime/pull/1581 --

Re: self contained D executable that runs inside container

2017-04-14 Thread Atila Neves via Digitalmars-d
On Thursday, 13 April 2017 at 21:32:03 UTC, y wrote: currently if you want to run a D app inside a linux container you need to do a few things. http://blog.oddbit.com/2015/02/05/creating-minimal-docker-images/ has a nice description. what would need to be done to make this process slimmer and

[Issue 17326] New: 2.072 gc changes totally broke 32 bit Windows DLLs

2017-04-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17326 Issue ID: 17326 Summary: 2.072 gc changes totally broke 32 bit Windows DLLs Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: regression

[Issue 15536] [std.experimental.logger] More detailed example

2017-04-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15536 --- Comment #2 from Bastiaan Veelo --- It has been a while, and I cannot reproduce the link- and runtime errors. However, things still don't work as expected. >From what I read from

Re: Can't build simple project. Very strange errors

2017-04-14 Thread Suliman via Digitalmars-d-learn
On Friday, 14 April 2017 at 09:51:55 UTC, Suliman wrote: But I tested it on 2.073.0 too Not 2.073.0 but v2.073.2 I checked v2.073.1 too and he reported that it's buildable with v2.073.1 on his PC. Any ideas?

Re: Visual Programming: NoFlo and Flow-based Programming

2017-04-14 Thread Moritz Maxeiner via Digitalmars-d
On Friday, 14 April 2017 at 08:31:02 UTC, davidvm wrote: Hello everyone, I just want to share this thought with you: I think a great way that could maybe help popularize the use of D, could be by developing a Flow-based programming (FBP) implementation for NoFlo and Flowhub. [...] What do

Re: Can't build simple project. Very strange errors

2017-04-14 Thread Suliman via Digitalmars-d-learn
But I tested it on 2.073.0 too Not 2.073.0 but v2.073.2

Can't build simple project. Very strange errors

2017-04-14 Thread Suliman via Digitalmars-d-learn
I am getting very strange bug on very simple project. Here is sources http://rgho.st/7j5LQLZxb (blue button for downloading). On: dub build I am getting error: Unexpected OPTLINK Termination at EIP=0040F60A EAX=0393 EBX=00438C70 ECX=0EE6 EDX=02CE ESI=0104 EDI=03930468

[Issue 14591] [SPEC] Ambiguity between extern(Pascal) and template value parameters

2017-04-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14591 --- Comment #9 from Iain Buclaw --- (In reply to Rainer Schuetze from comment #8) > > Any other of the TemplateArg prefixes 'S' (TypeStruct), 'H' > > (TypeAssocArray) and 'T' (TypeTypedef) should be affected aswell. > >

Re: Deduplicating template reflection code

2017-04-14 Thread Moritz Maxeiner via Digitalmars-d-learn
On Friday, 14 April 2017 at 08:24:00 UTC, Johannes Pfau wrote: I've got this code duplicated in quite some functions: - [...]1 foreach (MethodType; overloads) { // function dependent code here } [...]2

Re: Deduplicating template reflection code

2017-04-14 Thread Stefan Koch via Digitalmars-d-learn
On Friday, 14 April 2017 at 08:24:00 UTC, Johannes Pfau wrote: I've got this code duplicated in quite some functions: - foreach (member; __traits(derivedMembers, API)) { // Guards against private members static if (__traits(compiles, __traits(getMember, API,

Visual Programming: NoFlo and Flow-based Programming

2017-04-14 Thread davidvm via Digitalmars-d
Hello everyone, I just want to share this thought with you: I think a great way that could maybe help popularize the use of D, could be by developing a Flow-based programming (FBP) implementation for NoFlo and Flowhub. https://noflojs.org https://flowhub.io http://flowbased.org

Deduplicating template reflection code

2017-04-14 Thread Johannes Pfau via Digitalmars-d-learn
I've got this code duplicated in quite some functions: - foreach (member; __traits(derivedMembers, API)) { // Guards against private members static if (__traits(compiles, __traits(getMember, API, member))) { static if (isSomeFunction!(__traits(getMember,

Re: Update roll-up on my arsd libraries

2017-04-14 Thread Basile B. via Digitalmars-d-announce
On Thursday, 13 April 2017 at 16:04:18 UTC, Adam D. Ruppe wrote: I haven't posted in announce for a while, so I figured I'd give you guys an update on what's been happening in my libs. This message is a big long, so feel free to just skim to see if you are interested in anything. [...] *