Web servers in D

2017-08-24 Thread Hasen Judy via Digitalmars-d-learn
What libraries are people using to run webservers other than vibe.d? Don't get me wrong I like the async-io aspect of vibe.d but I don't like the weird template language and the fact that it caters to mongo crowd. I think for D to a have good web story it needs to appeal to serious backend

Re: D IDE Coedit - version 3, update 3 released

2017-08-24 Thread user1234 via Digitalmars-d-announce
On Friday, 14 July 2017 at 06:10:08 UTC, Basile B. wrote: Better integration of D-Scanner. D-Scanner binary is itself included from now, in addition to DCD. See https://github.com/BBasile/Coedit/releases/tag/3_update_3 for the download links and a complete changelog. update 4 is available

OpenMAX bindings

2017-08-24 Thread Johnson via Digitalmars-d-learn
Anyone?

Re: SMTP Mail

2017-08-24 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 22 August 2017 at 12:52:24 UTC, Vino.B wrote: Request your help on sending Mails, I am able to receive mails with empty body the line "smtp.message ="Example Message" doesn't seem to be working and also please let me know how do i send a file as a attachment in a email. The

Re: Compile Imported Modules

2017-08-24 Thread Jonathan Marler via Digitalmars-d
On Thursday, 24 August 2017 at 17:37:12 UTC, Jonathan Marler wrote: On Thursday, 24 August 2017 at 16:49:08 UTC, Seb wrote: On Thursday, 24 August 2017 at 16:32:32 UTC, Jonathan Marler wrote: On Thursday, 24 August 2017 at 15:56:32 UTC, H. S. Teoh wrote: On Thu, Aug 24, 2017 at 03:53:05PM

Re: newCTFE Status August 2017

2017-08-24 Thread Ryion via Digitalmars-d
On Monday, 14 August 2017 at 11:25:14 UTC, Stefan Koch wrote: Release is coming closer! Nice, keep up the good work.

Re: Article: Writing Julia style multiple dispatch code in D

2017-08-24 Thread data pulverizer via Digitalmars-d-announce
On Friday, 25 August 2017 at 00:35:24 UTC, jmh530 wrote: What you seem concerned about here is how to produce a meaningful error message for distribution that you do not have implementations for. A slightly more elegant solution would be to pack the structs into an AliasSeq and then use

Re: HTOD

2017-08-24 Thread Walter Bright via Digitalmars-d
On 8/24/2017 12:08 PM, Jacob Carlborg wrote: D can already link with C++, but not all features are supported. Like lambdas, for example, are not supported. I have no idea how that would even work. Since lambdas are nested functions, how would one write one in D and have it nested inside C++

Re: HTOD

2017-08-24 Thread Walter Bright via Digitalmars-d
On 8/24/2017 12:53 AM, lobo wrote: D had 1 ICE that was a known issue with core team member comments on the bug report. What's the bugzilla issue number?

Re: Article: Writing Julia style multiple dispatch code in D

2017-08-24 Thread jmh530 via Digitalmars-d-announce
On Thursday, 24 August 2017 at 23:50:21 UTC, data pulverizer wrote: ``` double density(D: UnivariateDistribution!Discrete, U = getVariateType!D, T = GetDistributionParameterType!D)(D d, U x) if(!is(D == Poisson!T)) { assert(false, "density function unimplemented for this distribution: "

Re: D as a Better C

2017-08-24 Thread Michael V. Franklin via Digitalmars-d-announce
On Thursday, 24 August 2017 at 19:21:31 UTC, Walter Bright wrote: On 8/24/2017 11:56 AM, Walter Bright wrote: I find -betterC to be somewhat of a copout for avoiding the hard work of improving D's implementation. On the contrary, I view it as providing motivation for dealing with those

Re: D as a Better C

2017-08-24 Thread Michael V. Franklin via Digitalmars-d-announce
On Thursday, 24 August 2017 at 18:26:37 UTC, H. S. Teoh wrote: For instance, a D project targeting STM board, makes heavy use of classes and templates, resultant code segment is 3k. https://github.com/JinShil/stm32f42_discovery_demo#the-good To be fair, though, the above-mentioned project

Re: Article: Writing Julia style multiple dispatch code in D

2017-08-24 Thread data pulverizer via Digitalmars-d-announce
On Thursday, 24 August 2017 at 21:13:10 UTC, jmh530 wrote: On UDAs, at least in the current implementation, I think that the actual issue you are trying to address is to force the type in the distribution to be convertible to double in the continuous case and convertible to long in the

Re: Choosing between enum arrays or AliasSeqs

2017-08-24 Thread Meta via Digitalmars-d-learn
On Thursday, 24 August 2017 at 19:41:46 UTC, Nordlöw wrote: Given enum e = ['a', 'b', 'c']; import std.meta : AliasSeq; enum a = AliasSeq!['a', 'b', 'c']; is it somehow possible to convert (at compile-time) `e` to `a`? Is it cheaper CT-performance wise to use AliasSeq instead of

Re: D as a Better C

2017-08-24 Thread jmh530 via Digitalmars-d-announce
On Thursday, 24 August 2017 at 18:56:25 UTC, Walter Bright wrote: There is a PR to make it only on demand, https://github.com/dlang/dmd/pull/6561 but it is mired in problems that are not in the D test suite and for which no test cases exist. C++ compilers also have a switch, like

Re: Visual Studio Code code-d serve-d beta release

2017-08-24 Thread WebFreak001 via Digitalmars-d-announce
On Thursday, 24 August 2017 at 08:21:41 UTC, Paolo Invernizzi wrote: On Wednesday, 23 August 2017 at 20:10:01 UTC, WebFreak001 wrote: [...] Can you check? If I want to build it, what repo and revision should I use? [...] git clone https://github.com/Pure-D/serve-d.git cd serve-d dub build

Re: Article: Writing Julia style multiple dispatch code in D

2017-08-24 Thread jmh530 via Digitalmars-d-announce
On Thursday, 24 August 2017 at 20:11:32 UTC, data pulverizer wrote: Thanks. I think most of that is down to D's nice syntax and how it easily and clearly emulates Julia. I think that there is certainly more to say on this especially around strategies of how represent concrete types. David

Re: very odd directx 11 error

2017-08-24 Thread maarten van damme via Digitalmars-d-learn
zeroMemory(, scd.sizeof); void zeroMemory(void* ad,size_t size){ (cast(byte*)& ad)[0 .. size] = 0; } I was totally corrupting my stack and it's not even needed in D, the compiler zero's it out automatically. Mystery solved, thanks a lot irc (adam,wolfgang,...) 2017-08-24 17:26

Re: Article: Writing Julia style multiple dispatch code in D

2017-08-24 Thread data pulverizer via Digitalmars-d-announce
On Thursday, 24 August 2017 at 18:16:21 UTC, jmh530 wrote: I think at one point I had actually suggested that dstats or something be re-written in a Julia-like way (before I realized how much work that would be!). It looks very pretty. Thanks. I think most of that is down to D's nice syntax

Re: Compile Imported Modules

2017-08-24 Thread Jonathan Marler via Digitalmars-d
On Thursday, 24 August 2017 at 18:12:03 UTC, H. S. Teoh wrote: On Thu, Aug 24, 2017 at 06:00:15PM +, Jonathan Marler via Digitalmars-d wrote: On Thursday, 24 August 2017 at 17:49:27 UTC, H. S. Teoh wrote: > Uh, no. This will definitely break separate compilation, > and some people will be

Re: Beta 2.076.0

2017-08-24 Thread user1234 via Digitalmars-d-announce
On Friday, 18 August 2017 at 12:58:18 UTC, Martin Nowak wrote: First beta for the 2.076.0 release. This release comes with various phobos additions and lots of improvements for -betterC (changelog entry upcoming). http://dlang.org/download.html#dmd_beta

Choosing between enum arrays or AliasSeqs

2017-08-24 Thread Nordlöw via Digitalmars-d-learn
Given enum e = ['a', 'b', 'c']; import std.meta : AliasSeq; enum a = AliasSeq!['a', 'b', 'c']; is it somehow possible to convert (at compile-time) `e` to `a`? Is it cheaper CT-performance wise to use AliasSeq instead of enum static arrays? My use case is expressed by the TODOs in

[Issue 11259] __traits(isSame) fails on the result of __traits(parent) if parent is a package

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11259 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/020c2982cd37a9270d606101dcaef69068566e3a Fix Issue 11259: __traits(isSame) fails on the result of

[Issue 11259] __traits(isSame) fails on the result of __traits(parent) if parent is a package

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11259 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: D as a Better C

2017-08-24 Thread Walter Bright via Digitalmars-d-announce
On 8/24/2017 11:56 AM, Walter Bright wrote: I find -betterC to be somewhat of a copout for avoiding the hard work of improving D's implementation. On the contrary, I view it as providing motivation for dealing with those issues. The PR above is stalled for lack of motivation. -betterC also

Re: D as a Better C

2017-08-24 Thread Parke via Digitalmars-d-announce
On Wed, Aug 23, 2017 at 10:17 AM, Kagamin via Digitalmars-d-announce wrote: > Not a better C, but intermediate D has small footprint for me too. What is "intermediate D"? -Parke > 7.5kb totext.exe (encodes stdin to base64 and writes to stdout) - wrote it >

Re: HTOD

2017-08-24 Thread Jacob Carlborg via Digitalmars-d
On 2017-08-24 17:02, 12345swordy wrote: They have plans to add c++ support? D can already link with C++, but not all features are supported. Like lambdas, for example, are not supported. -- /Jacob Carlborg

Re: D as a Better C

2017-08-24 Thread 12345swordy via Digitalmars-d-announce
On Wednesday, 23 August 2017 at 13:12:04 UTC, Mike Parker wrote: To coincide with the improvements to -betterC in the upcoming DMD 2.076, Walter has published a new article on the D blog about what it is and why to use it. A fun read. And I'm personally happy to see the love this feature is

Re: D as a Better C

2017-08-24 Thread Walter Bright via Digitalmars-d-announce
On 8/23/2017 5:35 PM, Michael V. Franklin wrote: Consider this:  Rust doesn't need a special switch to make it interoperable with C.  What's wrong with D's implementation that requires such things?  Granted, D is not Rust, but D's implementation could be improved to make it more competitive

Re: D as a Better C

2017-08-24 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Aug 24, 2017 at 08:13:29PM +0200, Iain Buclaw via Digitalmars-d-announce wrote: [...] > The GDC camp concurs with the sentiment of betterC being a waste of > time. My particular stance on the matter is that it should not be an > all or nothing switch, granular control is fine. The

Re: Article: Writing Julia style multiple dispatch code in D

2017-08-24 Thread jmh530 via Digitalmars-d-announce
On Thursday, 24 August 2017 at 17:20:20 UTC, data pulverizer wrote: In any case, Jean-Louis Leroy did some magic recently to support multiple dynamic dispatch in D. :) http://forum.dlang.org/post/cigbfrgipbokyetsk...@forum.dlang.org I haven't seen this. I'll have to get back to you when I

Re: Compile Imported Modules

2017-08-24 Thread H. S. Teoh via Digitalmars-d
On Thu, Aug 24, 2017 at 06:00:15PM +, Jonathan Marler via Digitalmars-d wrote: > On Thursday, 24 August 2017 at 17:49:27 UTC, H. S. Teoh wrote: > > Uh, no. This will definitely break separate compilation, and some > > people will be very unhappy about that. > > I couldn't think of a case

Re: Article: Writing Julia style multiple dispatch code in D

2017-08-24 Thread jmh530 via Digitalmars-d-announce
On Thursday, 24 August 2017 at 16:10:32 UTC, data pulverizer wrote: Hi all, I have written an article about writing Julia style multiple dispatch code in D (https://github.com/dataPulverizer/dispatch-it-like-julia). I am hoping that it is appropriate for the D blog. Reviews please. Many

Re: D as a Better C

2017-08-24 Thread Iain Buclaw via Digitalmars-d-announce
On 23 August 2017 at 19:44, Jonathan M Davis via Digitalmars-d-announce wrote: > On Wednesday, August 23, 2017 13:12:04 Mike Parker via Digitalmars-d- > announce wrote: >> To coincide with the improvements to -betterC in the upcoming DMD >> 2.076, Walter has

Re: Compile Imported Modules

2017-08-24 Thread Jonathan Marler via Digitalmars-d
On Thursday, 24 August 2017 at 17:49:27 UTC, H. S. Teoh wrote: Uh, no. This will definitely break separate compilation, and some people will be very unhappy about that. I couldn't think of a case that it would break. Can you share the cases you thought of?

Re: Long File path Exception:The system cannot find the path specified

2017-08-24 Thread vino via Digitalmars-d-learn
On Thursday, 24 August 2017 at 12:16:22 UTC, Vino.B wrote: On Wednesday, 23 August 2017 at 13:50:18 UTC, Vino.B wrote: On Wednesday, 23 August 2017 at 13:14:31 UTC, Moritz Maxeiner wrote: [...] Hi, [...] Hi, Any idea of what is causing this issue. Hi, Thanks for your support, was

Re: Another reason to use BetterC

2017-08-24 Thread Iain Buclaw via Digitalmars-d
On 23 August 2017 at 03:22, Walter Bright via Digitalmars-d wrote: > https://news.ycombinator.com/item?id=15075242 You mean D?

Re: Compile Imported Modules

2017-08-24 Thread H. S. Teoh via Digitalmars-d
On Thu, Aug 24, 2017 at 05:37:12PM +, Jonathan Marler via Digitalmars-d wrote: [...] > I had another thought that instead of making this an "opt-in" feature, > it would probably make more sense to be an "opt-out" feature. So by > default the compiler would compile missing imported modules

Re: Compile Imported Modules

2017-08-24 Thread Jonathan Marler via Digitalmars-d
On Thursday, 24 August 2017 at 16:49:08 UTC, Seb wrote: On Thursday, 24 August 2017 at 16:32:32 UTC, Jonathan Marler wrote: On Thursday, 24 August 2017 at 15:56:32 UTC, H. S. Teoh wrote: On Thu, Aug 24, 2017 at 03:53:05PM +, Jonathan Marler via Digitalmars-d wrote: Wanted to get peoples

Re: Article: Writing Julia style multiple dispatch code in D

2017-08-24 Thread data pulverizer via Digitalmars-d-announce
On Thursday, 24 August 2017 at 17:01:38 UTC, Ali Çehreli wrote: This works only with compile-time dispatch, right? Yes ... Does Julia support dynamic multiple dispatch? Okay Julia is my second favourite language next to D and one of it's cool features is that even though it is a dynamic

Re: D as a Better C

2017-08-24 Thread twkrimm via Digitalmars-d-announce
On Thursday, 24 August 2017 at 03:31:02 UTC, Swoorup Joshi wrote: On Wednesday, 23 August 2017 at 17:44:31 UTC, Jonathan M Davis wrote: On Wednesday, August 23, 2017 13:12:04 Mike Parker via Digitalmars-d- announce wrote: [...] I confess that I tend to think of betterC as a waste of time.

Re: Article: Writing Julia style multiple dispatch code in D

2017-08-24 Thread data pulverizer via Digitalmars-d-announce
On Thursday, 24 August 2017 at 16:41:54 UTC, David Gileadi wrote: Very interesting! Thank you I have a couple suggestions: for newbies like me, it would be nice to include a short explanation of multiple dispatch, and maybe a link to a longer description. Wikipedia's description of

Re: Article: Writing Julia style multiple dispatch code in D

2017-08-24 Thread Ali Çehreli via Digitalmars-d-announce
On 08/24/2017 09:10 AM, data pulverizer wrote: Hi all, I have written an article about writing Julia style multiple dispatch code in D (https://github.com/dataPulverizer/dispatch-it-like-julia). I am hoping that it is appropriate for the D blog. Reviews please. Many Thanks! This works only

Re: Compile Imported Modules

2017-08-24 Thread H. S. Teoh via Digitalmars-d
On Thu, Aug 24, 2017 at 04:49:08PM +, Seb via Digitalmars-d wrote: [...] > rdmd is really bad in terms of performance. If you call a single D > file with rdmd, it will always compile it twice. There was an attempt > to fix this (https://github.com/dlang/tools/pull/194), but this has > been

Re: Compile Imported Modules

2017-08-24 Thread Seb via Digitalmars-d
On Thursday, 24 August 2017 at 16:32:32 UTC, Jonathan Marler wrote: On Thursday, 24 August 2017 at 15:56:32 UTC, H. S. Teoh wrote: On Thu, Aug 24, 2017 at 03:53:05PM +, Jonathan Marler via Digitalmars-d wrote: Wanted to get peoples thoughts on this. The idea is to have a way to tell the

Re: Article: Writing Julia style multiple dispatch code in D

2017-08-24 Thread David Gileadi via Digitalmars-d-announce
On 8/24/17 9:10 AM, data pulverizer wrote: Hi all, I have written an article about writing Julia style multiple dispatch code in D (https://github.com/dataPulverizer/dispatch-it-like-julia). I am hoping that it is appropriate for the D blog. Reviews please. Many Thanks! Very interesting!

Re: Compile Imported Modules

2017-08-24 Thread Jonathan Marler via Digitalmars-d
On Thursday, 24 August 2017 at 15:56:32 UTC, H. S. Teoh wrote: On Thu, Aug 24, 2017 at 03:53:05PM +, Jonathan Marler via Digitalmars-d wrote: Wanted to get peoples thoughts on this. The idea is to have a way to tell the compiler (probably with a command line option) that you'd like to

Article: Writing Julia style multiple dispatch code in D

2017-08-24 Thread data pulverizer via Digitalmars-d-announce
Hi all, I have written an article about writing Julia style multiple dispatch code in D (https://github.com/dataPulverizer/dispatch-it-like-julia). I am hoping that it is appropriate for the D blog. Reviews please. Many Thanks!

Re: Compile Imported Modules

2017-08-24 Thread H. S. Teoh via Digitalmars-d
On Thu, Aug 24, 2017 at 03:53:05PM +, Jonathan Marler via Digitalmars-d wrote: > Wanted to get peoples thoughts on this. The idea is to have a way to > tell the compiler (probably with a command line option) that you'd > like to "compile imported modules". [...] Isn't this what rdmd already

Compile Imported Modules

2017-08-24 Thread Jonathan Marler via Digitalmars-d
Wanted to get peoples thoughts on this. The idea is to have a way to tell the compiler (probably with a command line option) that you'd like to "compile imported modules". Say you have a program "prog" that depends on modules "foo" and "bar". import foo; import bar; Compilation

Re: What are we going to do about mobile?

2017-08-24 Thread Ryion via Digitalmars-d
On Thursday, 24 August 2017 at 14:28:07 UTC, Joakim wrote: Unfortunately, not everything works great. Like LDC being version 0.14.0 ( 2014! ) on the Pi3 Debian images. And well, "_Unwind_RaiseException failed with reason code: 2128056904", on a simply compile. Not exactly hopeful. Have you

Re: very odd directx 11 error

2017-08-24 Thread maarten van damme via Digitalmars-d-learn
I should probably add that the error is a hresult, being 0 when it works but -2005270527 when it fails. 2017-08-24 17:24 GMT+02:00 maarten van damme : > Hi all. > > This works (dub --arch=x86_mscoff) http://dpaste.com/1XCJEX7 but this > fails : http://dpaste.com/1C7WMB7

very odd directx 11 error

2017-08-24 Thread maarten van damme via Digitalmars-d-learn
Hi all. This works (dub --arch=x86_mscoff) http://dpaste.com/1XCJEX7 but this fails : http://dpaste.com/1C7WMB7 . Notice that all I've done is manually inlined init3d... You can compile this with the following dub.json http://dpaste.com/2QBQFSX Any help would be appreciated, it make

[Issue 9326] writeln to simply show pointed data

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9326 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED

Re: HTOD

2017-08-24 Thread 12345swordy via Digitalmars-d
On Thursday, 24 August 2017 at 08:11:52 UTC, Jacob Carlborg wrote: On 2017-08-23 15:25, 12345swordy wrote: "Doesn't translate C++ at all" That's very disappointing. IMO, it should at least aim for the c++ 11 feature via using clang. Pull requests are welcome :). BTW, to my knowledge D

[Issue 9437] unwanted behavior from phobos range

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9437 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED

Re: @safe(bool)

2017-08-24 Thread 12345swordy via Digitalmars-d
On Thursday, 24 August 2017 at 01:38:50 UTC, bitwise wrote: On Wednesday, 23 August 2017 at 13:28:37 UTC, 12345swordy wrote: On Wednesday, 23 August 2017 at 02:24:51 UTC, bitwise wrote: [...] Platitudes cause poor language design, not the completely reasonable expectation of good tools.

Re: What are we going to do about mobile?

2017-08-24 Thread Jacob Carlborg via Digitalmars-d
On 2017-08-24 12:47, James W Hofmann wrote: Which leads me to a great armchair proposal: D should support Excel spreadsheets ;) Not sure what you had in mind but have a look at: http://forum.dlang.org/post/ubheswgdpafyeyboh...@forum.dlang.org -- /Jacob Carlborg

Re: What are we going to do about mobile?

2017-08-24 Thread Joakim via Digitalmars-d
On Thursday, 24 August 2017 at 10:47:07 UTC, James W Hofmann wrote: I happened across this old thread in a search for "mobile app dlang". I got a Chromebook recently and it represents a substantial phase shift in devices for me: * It's an ARM laptop (Asus Chromebook R13, big.LITTLE 2/2

Re: D as a Better C

2017-08-24 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-08-24 02:55, H. S. Teoh via Digitalmars-d-announce wrote: One thing that would help is if things like TypeInfo, ModuleInfo, etc., are only emitted on-demand I think that would be quite difficult if we want to keep all the existing features. Combining separate compilation, runtime

[Issue 17673] wrong whichPattern in multi-regex with alteration

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17673 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/5fbab17c47c4f3993fd74eb81931eb628bf0473c Fix issue 17673 - wrong whichPattern in multi-regex

[Issue 17568] [scope] addresses to fields can be escaped from scope method

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17568 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17568] [scope] addresses to fields can be escaped from scope method

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17568 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/2cd4d61e6a15de1ec5af4df9caf1b4a9a7a33cd7 fix Issue 17568 - [scope] addresses to fields can be escaped

Re: D as a Better C

2017-08-24 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 23 August 2017 at 17:43:27 UTC, Steven Schveighoffer wrote: I thought "closure" means allocating the stack onto the heap so you can return the delegate with its context intact. I understood closure as capture of variables from external context. They are divided into upward

Re: D as a Better C

2017-08-24 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 23 August 2017 at 22:45:27 UTC, sarn wrote: I haven't tried the latest iteration of betterC yet, but the longstanding problem is that the compiler generates TypeInfo instances for structs LDC doesn't generate TypeInfo for structs until it's required for some features like array

Re: Interpolated strings

2017-08-24 Thread Biotronic via Digitalmars-d
On Thursday, 24 August 2017 at 11:07:16 UTC, Suliman wrote: All modern languages like Dart and C# have string interpolation. Sharp example: Console.WriteLine($"Hello {args[0]}!"); Who can summary is there any objective reasons why it's not realized in D? As Raymond Chen once said[1],

Re: What are we going to do about mobile?

2017-08-24 Thread Ryion via Digitalmars-d
On Thursday, 24 August 2017 at 10:47:07 UTC, James W Hofmann wrote: I happened across this old thread in a search for "mobile app dlang". I got a Chromebook recently and it represents a substantial phase shift in devices for me: Arm has indeed become a more compelling platform, especially

Re: Long File path Exception:The system cannot find the path specified

2017-08-24 Thread Vino.B via Digitalmars-d-learn
On Wednesday, 23 August 2017 at 13:50:18 UTC, Vino.B wrote: On Wednesday, 23 August 2017 at 13:14:31 UTC, Moritz Maxeiner wrote: [...] Hi, [...] Hi, Any idea of what is causing this issue.

Re: What are we going to do about mobile?

2017-08-24 Thread Nicholas Wilson via Digitalmars-d
On Thursday, 24 August 2017 at 10:47:07 UTC, James W Hofmann wrote: Which leads me to a great armchair proposal: D should support Excel spreadsheets ;) You say that somewhat in jest but take a look at https://github.com/kaleidicassociates/excel-d

Re: Community Rant

2017-08-24 Thread Mark via Digitalmars-d
On Wednesday, 23 August 2017 at 23:27:22 UTC, Brad Roberts wrote: On 8/23/2017 3:58 PM, Mark via Digitalmars-d wrote: This kind of criticism comes up fairly often in the forums, maybe once every few weeks. I can link to the recent threads on the matter, but I'm sure you can make an

Re: Interpolated strings

2017-08-24 Thread via Digitalmars-d
On Thursday, 24 August 2017 at 11:07:16 UTC, Suliman wrote: All modern languages like Dart and C# have string interpolation. Sharp example: Console.WriteLine($"Hello {args[0]}!"); Who can summary is there any objective reasons why it's not realized in D? No one has submitted a DIP for that

[Issue 16251] regex - `(..).*\1` doesn't match "axxxx"

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16251 --- Comment #6 from Dmitry Olshansky --- (In reply to Vladimir Panteleev from comment #5) > There are some backreference tests here: > > https://github.com/dlang/phobos/blob/master/std/regex/internal/tests.d#L310- > L315

[Issue 17673] wrong whichPattern in multi-regex with alteration

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17673 Dmitry Olshansky changed: What|Removed |Added Keywords||pull --- Comment

[Issue 17673] wrong whichPattern in multi-regex with alteration

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17673 Dmitry Olshansky changed: What|Removed |Added Summary|regex(["|\"", |wrong whichPattern

Re: Interpolated strings

2017-08-24 Thread Suliman via Digitalmars-d
All modern languages like Dart and C# have string interpolation. Sharp example: Console.WriteLine($"Hello {args[0]}!"); Who can summary is there any objective reasons why it's not realized in D?

Re: Building custom library package with dub

2017-08-24 Thread alexander1974 via Digitalmars-d-learn
On Saturday, 18 March 2017 at 13:47:34 UTC, alex1974 wrote: On Saturday, 18 March 2017 at 13:41:12 UTC, Mike Parker wrote: On Saturday, 18 March 2017 at 12:49:33 UTC, alex1974 wrote: This simple layout works, but then all parts will be compiled every time. Is there a way to just compile the

Re: Community Rant

2017-08-24 Thread XavierAP via Digitalmars-d
On Wednesday, 23 August 2017 at 18:20:19 UTC, Ali Çehreli wrote: Weka uses D after their CTO Liran's evaluation of a number of programming languages. Liran explains why he chose D and why he still thinks D was the right choice in his a couple of DConf talks. I worked at Weka for a while

Re: What are we going to do about mobile?

2017-08-24 Thread James W Hofmann via Digitalmars-d
I happened across this old thread in a search for "mobile app dlang". I got a Chromebook recently and it represents a substantial phase shift in devices for me: * It's an ARM laptop (Asus Chromebook R13, big.LITTLE 2/2 cores, 4GB memory) * It's also a tablet convertible * The main OS is the

[Issue 17516] std.regex doesn't recognize \e (for ANSI escape character), unlike boost.regex

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17516 Dmitry Olshansky changed: What|Removed |Added CC|

Re: Community Rant

2017-08-24 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, August 23, 2017 16:27:22 Brad Roberts via Digitalmars-d wrote: > On 8/23/2017 3:58 PM, Mark via Digitalmars-d wrote: > > On Tuesday, 22 August 2017 at 15:14:33 UTC, Jonathan Shamir wrote: > >> [...] > >> > >> But lets be honest. If I was just interested to learn about this > >>

Re: Visual Studio Code code-d serve-d beta release

2017-08-24 Thread Paolo Invernizzi via Digitalmars-d-announce
On Wednesday, 23 August 2017 at 20:10:01 UTC, WebFreak001 wrote: On Wednesday, 23 August 2017 at 15:41:02 UTC, Paolo Invernizzi wrote: On Saturday, 5 August 2017 at 22:43:31 UTC, WebFreak001 wrote: [...] It seems that under macOS, the linux executable is used, with a fresh install...

[Issue 6004] std.range.unzip()

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6004 --- Comment #7 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/c7dbebe0df36ca83352dba28c6e0177008bf84ad Fix Issue 6004 - std.range.unzip()

Re: HTOD

2017-08-24 Thread Jacob Carlborg via Digitalmars-d
On 2017-08-23 15:25, 12345swordy wrote: "Doesn't translate C++ at all" That's very disappointing. IMO, it should at least aim for the c++ 11 feature via using clang. Pull requests are welcome :). BTW, to my knowledge D doesn't support any features added after C++98/03. -- /Jacob Carlborg

[Issue 5753] Disallow map() of void function

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5753 RazvanN changed: What|Removed |Added Status|REOPENED|RESOLVED

Re: HTOD

2017-08-24 Thread lobo via Digitalmars-d
On Thursday, 24 August 2017 at 05:56:02 UTC, Timothee Cour wrote: On Wed, Aug 23, 2017 at 10:38 PM, lobo via Digitalmars-d wrote: On Thursday, 24 August 2017 at 01:51:25 UTC, Timothee Cour wrote: [...] nim: it supports both targetting C++ (as well as C or

Terminating a thread (which is blocking)

2017-08-24 Thread Timothy Foster via Digitalmars-d-learn
I've started a thread at the beginning of my program that waits for user input: `thread = new Thread().start;` `static void checkInput(){ foreach (line; stdin.byLineCopy) { ... } }` I need to stop checking for user input at some point in my program but I'm not sure how to kill this

[Issue 17777] broken link: Download D 2.076.0 => 403 Forbidden

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1 Timothee Cour changed: What|Removed |Added CC|

[Issue 17777] broken link: Download D 2.076.0 => 403 Forbidden

2017-08-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1 Mike changed: What|Removed |Added CC||slavo5...@yahoo.com --- Comment