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
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
Anyone?
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
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
On Monday, 14 August 2017 at 11:25:14 UTC, Stefan Koch wrote:
Release is coming closer!
Nice, keep up the good work.
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
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++
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?
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: "
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
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
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
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
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
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
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
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
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
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
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
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
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
https://issues.dlang.org/show_bug.cgi?id=11259
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
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
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
>
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
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
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
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
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
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
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
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
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?
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
On 23 August 2017 at 03:22, Walter Bright via Digitalmars-d
wrote:
> https://news.ycombinator.com/item?id=15075242
You mean 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
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
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
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.
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
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
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
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
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!
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
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!
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
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
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
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
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
https://issues.dlang.org/show_bug.cgi?id=9326
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
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
https://issues.dlang.org/show_bug.cgi?id=9437
RazvanN changed:
What|Removed |Added
Status|NEW |RESOLVED
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.
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
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
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
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
https://issues.dlang.org/show_bug.cgi?id=17568
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
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
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
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
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],
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
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.
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
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
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
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
https://issues.dlang.org/show_bug.cgi?id=17673
Dmitry Olshansky changed:
What|Removed |Added
Keywords||pull
--- Comment
https://issues.dlang.org/show_bug.cgi?id=17673
Dmitry Olshansky changed:
What|Removed |Added
Summary|regex(["|\"", |wrong whichPattern
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?
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
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
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
https://issues.dlang.org/show_bug.cgi?id=17516
Dmitry Olshansky changed:
What|Removed |Added
CC|
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
> >>
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...
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()
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
https://issues.dlang.org/show_bug.cgi?id=5753
RazvanN changed:
What|Removed |Added
Status|REOPENED|RESOLVED
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
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
https://issues.dlang.org/show_bug.cgi?id=1
Timothee Cour changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=1
Mike changed:
What|Removed |Added
CC||slavo5...@yahoo.com
--- Comment
88 matches
Mail list logo