Try to learn D.
Put writeln in deconstructor to prove it works as expected
Make random changes, program never runs again.
Takes 30+ minutes to realize that writeln("my string") is fine,
but writeln("my string " ~ value) is an allocation / garbage
collection which crashes the program without a
type does not to
match the
class that implements add_function?
Thanks,
Chris
On Monday, 12 November 2018 at 09:45:14 UTC, Mike Parker wrote:
DIP 1015, "Deprecation and removal of implicit conversion from
integer and character literals to bool, has been rejected,
primarily on the grounds that it is factually incorrect in
treating bool as a type distinct from other
On Tuesday, 13 November 2018 at 16:26:55 UTC, Chris M. wrote:
On Monday, 12 November 2018 at 09:45:14 UTC, Mike Parker wrote:
[...]
I was going to write something up about how you can't do
arithmetic on bool types therefore they aren't integral, but I
tested and realized D allows this (i.e
On Saturday, 10 November 2018 at 13:53:14 UTC, Kagamin wrote:
On Friday, 9 November 2018 at 09:11:37 UTC, Jonathan M Davis
wrote:
No, I didn't. I just used underscores, which has been used
with plain text for emphasis for decades. Supporting markdown,
would involve stuff like backticks for
On Friday, 9 November 2018 at 09:11:37 UTC, Jonathan M Davis
wrote:
On Friday, November 9, 2018 1:27:44 AM MST Kagamin via
Digitalmars-d-learn wrote:
On Friday, 9 November 2018 at 06:42:37 UTC, Jonathan M Davis
wrote:
> [...]
You used markdown three times in your message.
No, I didn't. I
Simple curious question.
Why isn't :
import std.stdio;
instead:
import std.io;
(Also, while we're at it. Why doesn't this form have code
highlighting? It would much improve readibility. Doesn't that
seem almost essential for a programming forum?)
I mean, I get it. stdio is the c header
On Wednesday, 7 November 2018 at 01:37:29 UTC, Chris M. wrote:
On Tuesday, 29 May 2018 at 07:47:07 UTC, Begah wrote:
[...]
This works fine on my home Win10 machine, dmd 2.082/2.083 + dub
1.11.0, installed using the executable from the downloads page.
However I've had this same issue on my
On Tuesday, 29 May 2018 at 07:47:07 UTC, Begah wrote:
I have recently reinstalled a fresh version of Windows 10. I
installed DMD 1.9.0 and compiled my code ( that was compiling
before reinstalling Windows ).
I get this error at the linking phase :
Native PDB Error: The entry already exists.
On Wednesday, 17 October 2018 at 13:15:44 UTC, bachmeier wrote:
I can definitely see that. I wanted to write a GUI program some
time ago and looked at GtkD. It wasn't easy to see where to
start with GtkD, and I eventually ended up running a local web
server and creating the GUI in the
On Wednesday, 17 October 2018 at 07:32:37 UTC, aliak wrote:
Hi,
Is there any notion of lazy vars in D (i see that there're
parameters)?
i.e:
struct S {
//...
int y;
//...
}
lazy S x = () {
// do some heavy stuff
}();
if (condition) {
func(x.y); // heavy stuff evaluated here
}
int [50]data;
foreach(i, datum; data){} // works
File file("gasdgasd");
foreach(i, line; file.byLine){} //NOPE.
foreach(line; file.byLine){} //works.
I finally noticed in the docs it says "for arrays only." The
question is, why?
Every language that I used previously (as far as I can
On Sunday, 14 October 2018 at 03:26:33 UTC, Adam D. Ruppe wrote:
On Sunday, 14 October 2018 at 03:07:59 UTC, Chris Katko wrote:
For comparison, I just tested and grep uses about 4 MB of RAM
to run.
Running and compiling are two entirely different things.
Running the D regex code should
On Sunday, 14 October 2018 at 02:44:55 UTC, Chris Katko wrote:
On Friday, 12 October 2018 at 13:42:34 UTC, Alex wrote:
[...]
So wait, if their solution was to simply REMOVE std.regex from
isEmail. That doesn't solve the regex problem at all. And from
what I read in that thread, this penalty
On Friday, 12 October 2018 at 13:42:34 UTC, Alex wrote:
On Friday, 12 October 2018 at 13:25:33 UTC, Chris Katko wrote:
Like, insanely fat.
All I wanted was a simple regex. The second include a regex
function, my program would no longer compile "out of memory
for fork".
/usr/b
Like, insanely fat.
All I wanted was a simple regex. The second include a regex
function, my program would no longer compile "out of memory for
fork".
/usr/bin/time -v reports it went from 150MB of RAM for D,
DAllegro, and Allegro5.
To over 650MB of RAM, and from 1.5 seconds to >5.5
On Wednesday, 10 October 2018 at 16:00:42 UTC, Steven
Schveighoffer wrote:
On 10/10/18 9:22 AM, Chris Katko wrote:
int[][] data =
[
[1, 0, 1, 0, 0],
[1, 0, 1, 0, 0],
[1, 0, 1, 1, 1],
[1, 0, 0, 1, 0],
[5, 1, 1, 1, 0]
];
when drawn with data
int[][] data =
[
[1, 0, 1, 0, 0],
[1, 0, 1, 0, 0],
[1, 0, 1, 1, 1],
[1, 0, 0, 1, 0],
[5, 1, 1, 1, 0]
];
when drawn with data[i][j], prints the transpose of "data":
[1, 1, 1, 1, 5]
[0, 0, 0, 0, 1]
[1,
On Tuesday, 9 October 2018 at 10:52:47 UTC, Chris Katko wrote:
I have a 2-D array:
int[5][5] data =
[
[1, 0, 1, 0, 0],
[1, 0, 1, 0, 0],
[1, 0, 1, 1, 1],
[1, 0, 0, 1, 0],
[1, 1, 1, 1, 0]
];
1
I have a 2-D array:
int[5][5] data =
[
[1, 0, 1, 0, 0],
[1, 0, 1, 0, 0],
[1, 0, 1, 1, 1],
[1, 0, 0, 1, 0],
[1, 1, 1, 1, 0]
];
1 - Is there a way to foreach vertically through that? (that is,
On Thursday, 4 October 2018 at 08:52:28 UTC, Andrea Fontana wrote:
On Thursday, 4 October 2018 at 08:32:13 UTC, Chris Katko wrote:
I've been Google'ing and there's like... nothing out there.
One of the top results for "std.socket dlang examples"... is
for TANGO. That's how old it is
I've been Google'ing and there's like... nothing out there.
One of the top results for "std.socket dlang examples"... is for
TANGO. That's how old it is.
On Wednesday, 3 October 2018 at 11:51:01 UTC, Sebastiaan Koppe
wrote:
On Wednesday, 3 October 2018 at 11:01:53 UTC, Chris Katko wrote:
[...]
A combination of static introspection with string mixins does
the trick:
---
enum colors {
reset = "\033[0m",
red = "\0
I've got this simple task but I'm trying to perfect it as best I
can to learn something in the process.
I have Linux terminal ASCII codes for coloring terminal output.
string red(string) { /* ... */ }
"Hello world".red => "\033[31mHello World\033[0m"
which translates to "[red]Hello
On Wednesday, 3 October 2018 at 00:34:33 UTC, Adam D. Ruppe wrote:
On Wednesday, 3 October 2018 at 00:14:03 UTC, Chris Katko wrote:
Except it doesn't work and tries to decode col.width-1 into a
hexadecimal number and only prints that. ("4D6EF6")
That number certainly isn't col.wid
- First, I'm confused. The docs say 's' is "whatever it needs to
be". ("he corresponding argument is formatted in a manner
consistent with its type:") But what if I specifically want a
STRING. Because I only see floats, ints, etc. No forced string
types.
- Second,
This works fine in D:
On Wednesday, 23 November 2016 at 08:47:56 UTC, Christian Köstlin
wrote:
On 03/03/2012 18:35, Timon Gehr wrote:
On 03/03/2012 12:09 PM, Nicolas Silva wrote:
[...]
Yes, this seems to be a bug.
Workaround:
struct Foo{
string s;
Tid id;
}
void foo(){
Foo foo;
On Tuesday, 25 September 2018 at 15:10:53 UTC, aberba wrote:
Aside using semantic HTML elements like strong, em,... the
WAI-ARIA standard follows. Also the use of title, alt and
tab-index is also encouraged in forms (where necessary).
This article highlights some of the most important
On Saturday, 22 September 2018 at 16:48:35 UTC, SashaGreat wrote:
I'll not create a topic to check this behavior, but this
message doesn't show up when replying inside a topic.
PS: By the way the CAPTCHA is awful, look what they throw to us:
int v()
{
return 26 % 3
? 13 / 3
: 42
On Tuesday, 25 September 2018 at 06:01:58 UTC, bauss wrote:
On Monday, 24 September 2018 at 03:50:57 UTC, Vladimir
Panteleev wrote:
On Monday, 24 September 2018 at 03:16:50 UTC, Bauss wrote:
like the use of b tags on the front page, they should be
replaced by strong tags
The two usages of
On Monday, 24 September 2018 at 03:50:57 UTC, Vladimir Panteleev
wrote:
On Monday, 24 September 2018 at 03:16:50 UTC, Bauss wrote:
like the use of b tags on the front page, they should be
replaced by strong tags
The two usages of are part of the presentation, not
content. Their use is
On Sunday, 23 September 2018 at 02:05:42 UTC, Jonathan M Davis
wrote:
With regards to D1 users who are unhappy with D2, I think that
it makes some sense to point out that a subset of D2 can be
used in a way that's a lot like D1, but ultimately, if someone
doesn't like the direction that D2
On Monday, 24 September 2018 at 07:13:24 UTC, Chris Katko wrote:
On Monday, 24 September 2018 at 05:59:20 UTC, Chris Katko wrote:
[...]
Actually, I just realized/remembered that the error occurs
inside parallelism itself, and MANY times at that:
[...]
This JUST occurred to me
On Monday, 24 September 2018 at 05:59:20 UTC, Chris Katko wrote:
On Saturday, 22 September 2018 at 02:26:41 UTC, Chris Katko
wrote:
On Saturday, 22 September 2018 at 02:13:58 UTC, Chris Katko
wrote:
On Friday, 21 September 2018 at 12:15:59 UTC, Ali Çehreli
wrote:
On 09/21/2018 12:25 AM, Chris
On Saturday, 22 September 2018 at 02:26:41 UTC, Chris Katko wrote:
On Saturday, 22 September 2018 at 02:13:58 UTC, Chris Katko
wrote:
On Friday, 21 September 2018 at 12:15:59 UTC, Ali Çehreli
wrote:
On 09/21/2018 12:25 AM, Chris Katko wrote:
[...]
You can use a free-standing function
On Saturday, 22 September 2018 at 02:13:58 UTC, Chris Katko wrote:
On Friday, 21 September 2018 at 12:15:59 UTC, Ali Çehreli wrote:
On 09/21/2018 12:25 AM, Chris Katko wrote:
[...]
You can use a free-standing function as a workaround, which is
included in the following chapter that explains
On Friday, 21 September 2018 at 12:15:59 UTC, Ali Çehreli wrote:
On 09/21/2018 12:25 AM, Chris Katko wrote:
On Thursday, 20 September 2018 at 05:51:17 UTC, Neia Neutuladh
wrote:
On Thursday, 20 September 2018 at 05:34:42 UTC, Chris Katko
wrote:
All I want to do is loop from 0 to [constant
On Thursday, 20 September 2018 at 05:51:17 UTC, Neia Neutuladh
wrote:
On Thursday, 20 September 2018 at 05:34:42 UTC, Chris Katko
wrote:
All I want to do is loop from 0 to [constant] with a for or
foreach, and have it split up across however many cores I have.
You're looking
can simply sum each core's results at
the end.
Thanks,
--Chris
On Wednesday, 12 September 2018 at 08:09:46 UTC, Joakim wrote:
On Tuesday, 11 September 2018 at 08:34:31 UTC, Chris wrote:
[...]
Yes, something like that should be done, but I won't be doing
much with dub till next year. If anyone else is interested in
doing it earlier, feel free
On Wednesday, 12 September 2018 at 08:09:46 UTC, Joakim wrote:
I don't think there's a "dedicated team" for any platform that
D runs on, so we don't have "first class support" for any
platform then.
But ARM (Android/iOS) has always been treated worse than a
stepchild by D devs. No
On Wednesday, 12 September 2018 at 06:41:38 UTC, Gambler wrote:
[snip]
In essence, we are seeing the rapid widening of two digital
divides. The first one is between users and average developers.
The second one is between average developers and researchers at
companies like Google. I very
On Tuesday, 11 September 2018 at 07:23:53 UTC, Joakim wrote:
I agree with a lot of what you say here, but I'm not sure what
you mean by "first class support for mobile." What exactly do
you believe D needs to reach that level?
Basically the things you describe. I was thinking of a stable
On Monday, 10 September 2018 at 19:28:01 UTC, aberba wrote:
On Monday, 10 September 2018 at 16:09:41 UTC, rjframe wrote:
That's exactly whats happening in Africa. The continent is
leapfrogging from nothing to a smart phone thanks to China.
Many don'[t know how to even use a PC. Especially
On Saturday, 8 September 2018 at 15:36:25 UTC, Steven
Schveighoffer wrote:
On 8/9/18 2:44 AM, Walter Bright wrote:
So it turns out that technically the problem here, even though
it seemed like an autodecoding problem, is a problem with
splitter.
splitter doesn't deal with encodings of
On Friday, 7 September 2018 at 06:07:11 UTC, Joakim wrote:
[snip]
Given the anemic response to this thread and the Opencollective
so far, I suspect we wouldn't raise much though. OTOH, maybe
the people who would pay don't read the forum.
Guess why there is an "anemic response". Of course
On Sunday, 2 September 2018 at 05:14:58 UTC, Chris M. wrote:
Hopefully that was coherent. Again this is me for me to get my
thoughts out there, but also I'm interested in what other
people think about this.
Somewhat related, I was reading through this thread on why we
can't do ref variables
On Thursday, 6 September 2018 at 14:30:38 UTC, Guillaume Piolat
wrote:
On Thursday, 6 September 2018 at 13:30:11 UTC, Chris wrote:
And autodecode is a good example of experts getting it wrong,
because, you know, you cannot be an expert in all fields. I
think the problem
On Thursday, 6 September 2018 at 11:01:55 UTC, Guillaume Piolat
wrote:
So Unicode in D works EXACTLY as expected, yet people in this
thread act as if the house is on fire.
Expected by who? The Unicode expert or the user?
D dying because of auto-decoding? Who can possibly think that
in
On Thursday, 6 September 2018 at 11:43:31 UTC, ag0aep6g wrote:
You say that D users shouldn't need a '"Unicode license" before
they do anything with strings'. And you say that Python 3 gets
it right (or maybe less wrong than D).
But here we see that Python requires a similar amount of
On Thursday, 6 September 2018 at 11:19:14 UTC, Chris wrote:
One problem imo is that they mixed the terms up: "Grapheme: A
minimally distinctive unit of writing in the context of a
particular writing system." In linguistics a grapheme is not a
single character like "á"
On Thursday, 6 September 2018 at 10:44:45 UTC, Joakim wrote:
[snip]
You're not being fair here, Chris. I just saw this SO question
that I think exemplifies how most programmers react to Unicode:
"Trying to understand the subtleties of modern Unicode is
making my head hurt. In parti
On Thursday, 6 September 2018 at 10:22:22 UTC, ag0aep6g wrote:
On 09/06/2018 09:23 AM, Chris wrote:
Python 3 gives me this:
print(len("á"))
1
Python 3 also gives you this:
print(len("á"))
2
(The example might not survive transfer from me to you if
Unicode normali
On Thursday, 6 September 2018 at 08:44:15 UTC, nkm1 wrote:
On Wednesday, 5 September 2018 at 07:48:34 UTC, Chris wrote:
On Tuesday, 4 September 2018 at 21:36:16 UTC, Walter Bright
wrote:
Autodecode - I've suffered under that, too. The solution was
fairly simple. Append .byCodeUnit to strings
On Thursday, 6 September 2018 at 07:54:09 UTC, Joakim wrote:
On Thursday, 6 September 2018 at 07:23:57 UTC, Chris wrote:
On Wednesday, 5 September 2018 at 22:00:27 UTC, H. S. Teoh
wrote:
//
Seriously, people need to get over the fantasy that they can
just use Unicode without understanding
On Wednesday, 5 September 2018 at 22:00:27 UTC, H. S. Teoh wrote:
//
Seriously, people need to get over the fantasy that they can
just use Unicode without understanding how Unicode works. Most
of the time, you can get the illusion that it's working, but
actually 99% of the time the code
On Tuesday, 4 September 2018 at 21:36:16 UTC, Walter Bright wrote:
Autodecode - I've suffered under that, too. The solution was
fairly simple. Append .byCodeUnit to strings that would
otherwise autodecode. Annoying, but hardly a showstopper.
import std.array : array;
import std.stdio :
syntax for parameters that may get aliased to another
parameter is to write the parameter number that may escape it
in its scope attribute:
On Sunday, 2 September 2018 at 05:14:58 UTC, Chris M. wrote:
void betty(ref scope int*'a r, scope int*'a p) // okay it's
not pretty
void betty(ref scope
On Tuesday, 4 September 2018 at 01:36:53 UTC, Mike Parker wrote:
On Monday, 3 September 2018 at 18:26:57 UTC, Chris wrote:
I think this sort of misunderstanding is the source of a lot
of friction on this forum. Some users think (or in my case:
thought) that D will be a sound and stable
On Monday, 3 September 2018 at 18:52:45 UTC, Laurent Tréguier
wrote:
On Monday, 3 September 2018 at 18:26:57 UTC, Chris wrote:
it should come with a warning label that says "D is in many
parts still at an experimental stage and ships with no
guarantees whatsoever. Use at your own risk.&qu
On Monday, 3 September 2018 at 16:55:10 UTC, Jonathan M Davis
wrote:
Most of the work that gets done is the stuff that the folks
contributing think is the most important - frequently what is
most important for them for what they do, and very few (if any)
of the major contributors use or care
On Monday, 3 September 2018 at 14:26:46 UTC, Laeeth Isharc wrote:
On Monday, 3 September 2018 at 11:32:42 UTC, Chris wrote:
[...]
D has never been about smooth experiences! That's a commercial
benefit if you think that hormesis brings benefits and you are
not looking for programmers
On Monday, 3 September 2018 at 06:29:02 UTC, Pjotr Prins wrote:
Hear, hear!
Even though some languages like Julia, Rust and Go are much
better funded than D - and their creators have excellent taste
in different ways - they still have to go through similar
evolutionary steps. There is no
On Sunday, 2 September 2018 at 12:07:17 UTC, Laeeth Isharc wrote:
That's why the people that adopt D will inordinately be
principals not agents in the beginning. They will either be
residual claimants on earnings or will have acquired the
authority to make decisions without persuading a
On Monday, 3 September 2018 at 07:38:51 UTC, Chris Katko wrote:
On Monday, 3 September 2018 at 06:28:38 UTC, bauss wrote:
On Monday, 3 September 2018 at 06:25:23 UTC, bauss wrote:
On Monday, 3 September 2018 at 03:19:39 UTC, Neia Neutuladh
wrote:
On Monday, 3 September 2018 at 03:04:57 UTC
On Monday, 3 September 2018 at 06:28:38 UTC, bauss wrote:
On Monday, 3 September 2018 at 06:25:23 UTC, bauss wrote:
On Monday, 3 September 2018 at 03:19:39 UTC, Neia Neutuladh
wrote:
On Monday, 3 September 2018 at 03:04:57 UTC, Chris Katko
wrote:
This should be simple? All I want to do is load
On Monday, 3 September 2018 at 03:19:39 UTC, Neia Neutuladh wrote:
On Monday, 3 September 2018 at 03:04:57 UTC, Chris Katko wrote:
This should be simple? All I want to do is load an entire
file, and access individual bytes. The entire thing. I don't
want to have know the file size before hand
This should be simple? All I want to do is load an entire file,
and access individual bytes. The entire thing. I don't want to
have know the file size before hand, or "guess" and have a
"maximum size" buffer.
So far, all google searches for "dlang binary file read" end up
not working for me.
On Saturday, 1 September 2018 at 18:35:30 UTC,
TheSixMillionDollarMan wrote:
On Saturday, 1 September 2018 at 12:33:49 UTC, rjframe wrote:
[...]
Stroustrup also said, that "achieving any degree of
compatibility [with C/C++] is very hard, as the C/C++
experience shows."
(reference =>
On Saturday, 1 September 2018 at 21:18:27 UTC, Nick Sabalausky
(Abscissa) wrote:
On 09/01/2018 07:12 AM, Chris wrote:
Hope is usually the last thing to die. But one has to be wise
enough to see that sometimes there is nothing one can do. As
things are now, for me personally D is no longer
Round 2 because I had this whole thing typed up, and then my
power went out on me right before I posted. I was much happier
with how that one was worded too.
Basically I'd like to go over at length one of the issues I see
with these DIPs (though I think it applies more to DIP1000),
namely
On Friday, 31 August 2018 at 18:24:40 UTC, Laeeth Isharc wrote:
On Friday, 31 August 2018 at 09:37:55 UTC, Chris wrote:
On Wednesday, 29 August 2018 at 23:47:11 UTC, Laeeth Isharc
wrote:
On Tuesday, 28 August 2018 at 08:51:27 UTC, Chris wrote:
9. I hope D will be great again
Are you
On Friday, 31 August 2018 at 15:43:13 UTC, H. S. Teoh wrote:
[...]
I wasn't talking about that, but about the fact that users are
slowly but surely nudged into a certain direction. And yes, D
was advertised as a "no ideology language".
Sorry, "slowly but surely nudged" sounds very different
On Friday, 31 August 2018 at 14:38:36 UTC, H. S. Teoh wrote:
On Fri, Aug 31, 2018 at 09:37:55AM +, Chris via
Digitalmars-d wrote: [...]
3. moving the goal posts all the time and forcing you into a
new paradigm every 1 1/2 years (first it was "ranges", then
"template
On Wednesday, 29 August 2018 at 23:47:11 UTC, Laeeth Isharc wrote:
On Tuesday, 28 August 2018 at 08:51:27 UTC, Chris wrote:
Julia is great. I don't see it as a competitor to D but for us
one way researchers might access libraries written in D. One
could do quite a lot in it, but I don't
On Tuesday, 28 August 2018 at 08:44:26 UTC, Chris wrote:
When people choose a programming language, there are several
boxes that have to be ticked, like for example:
- what's the future of language X? (guarantees, stability)
- how easy is it to get going (from "Hello world" to
On Tuesday, 28 August 2018 at 07:30:01 UTC, Walter Bright wrote:
On 8/27/2018 2:14 AM, Chris wrote:
bad feeling about the way things are going atm.
I can quote you a lng list of problems that are obvious
only in hindsight, by world leading development teams.
Start by watching
On Monday, 27 August 2018 at 19:51:52 UTC, 12345swordy wrote:
On Monday, 27 August 2018 at 18:20:04 UTC, Chris wrote:
Then the D Foundation should work on it.
Easier said then done. You can't go around demanding people to
build factories without addressing the issues that comes with
building
On Monday, 27 August 2018 at 18:02:21 UTC, 12345swordy wrote:
On Monday, 27 August 2018 at 16:32:15 UTC, Joakim wrote:
On Monday, 27 August 2018 at 16:15:37 UTC, 12345swordy wrote:
On Monday, 27 August 2018 at 14:26:08 UTC, Chris wrote:
On Monday, 27 August 2018 at 13:48:42 UTC, 12345swordy
On Monday, 27 August 2018 at 13:48:42 UTC, 12345swordy wrote:
On Monday, 27 August 2018 at 09:36:43 UTC, Chris wrote:
On Monday, 27 August 2018 at 01:15:49 UTC, Laeeth Isharc wrote:
[...]
I think D has reached the point where that'd make perfect
sense. Move from the garage to a proper
On Monday, 27 August 2018 at 01:15:49 UTC, Laeeth Isharc wrote:
I wonder if we are approaching the point where enterprise
crowd-funding of missing features or capabilities in the
ecosystem could make sense. If you look at how Liran managed
to find David Nadlinger to help him, it could just
On Sunday, 26 August 2018 at 22:44:05 UTC, Walter Bright wrote:
On 8/26/2018 8:43 AM, Chris wrote:
I wanted to get rid of autodecode and I even offered to test
it on my string heavy code to see what breaks (and maybe write
guidelines for the transition), but somehow the whole idea of
getting
On Saturday, 25 August 2018 at 20:52:06 UTC, Walter Bright wrote:
You want to remove autodecoding (so do I) and that will break
just about every D program in existence. For everyone else,
it's something else that's just as important to them.
I wanted to get rid of autodecode and I even
On Sunday, 26 August 2018 at 14:00:56 UTC, nkm1 wrote:
[...]
What did I expect? Better: What do I expect now. I've been using
D for years now. I think it's time for D to offer users the same
stability as other languages do. Simple as.
On Sunday, 26 August 2018 at 08:40:32 UTC, Andre Pany wrote:
On Saturday, 25 August 2018 at 20:52:06 UTC, Walter Bright
wrote:
In the whole discussion I miss 2 really important things.
If your product compiles fine with a dmd version, no one forces
you to update to the next dmd version. In
On Saturday, 25 August 2018 at 23:46:54 UTC, Radu wrote:
I think you need to look at Dlang as what it is - still WIP and
mostly *community driven*.
I got used to the occasional breaking or regression, and the
best I can advise is to try to report or fix them if you can.
There are still
On Saturday, 25 August 2018 at 20:17:35 UTC, AN wrote:
I downloaded the script and made it executable. I also have dub
on `/usr/bin/dub` . The example just stalls with no output.
After fidgeting around for 5 minutes I realized it was
downloading silently in the background. (I think for
On Saturday, 25 August 2018 at 12:16:06 UTC, Laeeth Isharc wrote:
Nassim Taleb writes about hormesis. I'm not sure that breakage
of a non-serious kind is necessarily terrible. It might be
terrible for you personally - that's not for me to judge. But
it has the effect of building
On Saturday, 25 August 2018 at 02:37:00 UTC, Walter Bright wrote:
On 8/23/2018 5:58 PM, Chris M. wrote:
Seems to be more of a warning of what issues we may face if
DIP25/DIP1000 are finally implemented. It would be good to
consider NLLs as well before D is committed. No point in
repeating
On Friday, 24 August 2018 at 19:26:40 UTC, Walter Bright wrote:
On 8/24/2018 6:04 AM, Chris wrote:
For about a year I've had the feeling that D is moving too
fast and going nowhere at the same time. D has to slow down
and get stable. D is past the experimental stage. Too many
people use
On Friday, 24 August 2018 at 17:36:25 UTC, Matthew OConnor wrote:
I'd like to run a sequence of executables with something like
std.process.execute, but I would like the sequence to error out
if one of the executables returns a non-zero return code. What
is the recommended way to do this? A
On Friday, 24 August 2018 at 13:17:11 UTC, Dejan Lekic wrote:
On Friday, 24 August 2018 at 13:04:28 UTC, Chris wrote:
There is exactly where I am - I am using Java (and more
recently Python) for serious stuff.
So I'm not alone.
I am however in favour of D moving fast (that is why many Java
On Wednesday, 22 August 2018 at 11:59:37 UTC, Paolo Invernizzi
wrote:
Just found by chance, if someone is interested [1] [2].
/Paolo
[1]
https://gitlab.com/mihails.strasuns/blog/blob/master/articles/on_leaving_d.md
[2]
On Friday, 24 August 2018 at 00:13:48 UTC, Mike Franklin wrote:
On Thursday, 23 August 2018 at 23:36:07 UTC, Chris M. wrote:
Heck, now that I'm looking at it, DIP25 seems like a more
restricted form of Rust's lifetimes. Let me know if I'm just
completely wrong about this, but
I think DIP 25
On Thursday, 23 August 2018 at 23:58:00 UTC, jmh530 wrote:
On Thursday, 23 August 2018 at 23:36:07 UTC, Chris M. wrote:
Heck, now that I'm looking at it, DIP25 seems like a more
restricted form of Rust's lifetimes. Let me know if I'm just
completely wrong about this, but
[snip]
Check out
On Thursday, 23 August 2018 at 15:48:00 UTC, Chris M. wrote:
On Thursday, 23 August 2018 at 15:14:07 UTC, Steven
Schveighoffer wrote:
On 8/23/18 9:32 AM, Steven Schveighoffer wrote:
[...]
Actually, thinking about this, the shortest lifetime is
dictated by how it is called, so
On Thursday, 23 August 2018 at 15:14:07 UTC, Steven Schveighoffer
wrote:
On 8/23/18 9:32 AM, Steven Schveighoffer wrote:
[...]
Actually, thinking about this, the shortest lifetime is
dictated by how it is called, so there is no valid way to
determine which one makes sense when compiling the
On Sunday, 19 August 2018 at 16:03:06 UTC, QueenSvetlana wrote:
On Sunday, 19 August 2018 at 15:53:25 UTC, Chris M. wrote:
On Sunday, 19 August 2018 at 15:49:18 UTC, Chris M. wrote:
On Sunday, 19 August 2018 at 15:44:07 UTC, QueenSvetlana
wrote:
[...]
auto appendNumber = appender
On Sunday, 19 August 2018 at 15:49:18 UTC, Chris M. wrote:
On Sunday, 19 August 2018 at 15:44:07 UTC, QueenSvetlana wrote:
[...]
auto appendNumber = appender(arrayofNumbers);
This returns a separate object. You probably meant to put this
for the last line
writeln(appendNumber.length
On Sunday, 19 August 2018 at 15:44:07 UTC, QueenSvetlana wrote:
When using the .length property of a dynamic array why does it
return the incorrect number of elements after I use the
appender?
import std.stdio;
import std.array : appender;
void main()
{
//declaring a dynamic array
201 - 300 of 3486 matches
Mail list logo