On Tuesday, 22 May 2018 at 03:10:39 UTC, Bjarne Stroustrup wrote:
Any debate about restoring the rights and autonomy of the
class, should not be killed off.
Any programming language that discriminates against the class,
encourages class warfare, does not deserve to be called a
programming l
On Tuesday, 22 May 2018 at 05:03:52 UTC, Manu wrote:
On 21 May 2018 at 17:16, Mike Parker via Digitalmars-d
wrote:
On Monday, 21 May 2018 at 22:09:08 UTC, SrMordred wrote:
There is some place where I can find this year conference
videos with or
without slides?
Thanks!
Day 1:
https://www.
On Monday, May 21, 2018 22:03:52 Manu via Digitalmars-d wrote:
> On 21 May 2018 at 17:16, Mike Parker via Digitalmars-d
>
> wrote:
> > On Monday, 21 May 2018 at 22:09:08 UTC, SrMordred wrote:
> >> There is some place where I can find this year conference videos with
> >> or
> >> without slides?
>
On 05/21/2018 10:03 PM, Manu wrote:
I was really interested to see Walter's talk this year! :(
He said he will have been giveneth the same talk somewhere elseth.
Ali
On 21 May 2018 at 17:16, Mike Parker via Digitalmars-d
wrote:
> On Monday, 21 May 2018 at 22:09:08 UTC, SrMordred wrote:
>>
>> There is some place where I can find this year conference videos with or
>> without slides?
>> Thanks!
>
>
> Day 1:
> https://www.youtube.com/watch?v=HvqsUO77FGI
> (the st
On 21 May 2018 at 15:51, Steven Schveighoffer via Digitalmars-d
wrote:
> On 5/21/18 6:37 PM, Manu wrote:
>>
>> On 21 May 2018 at 15:29, Steven Schveighoffer via Digitalmars-d
>> wrote:
>>>
>>> Uninitialized, but allocated and usable. The difference between this and
>>> delete is that delete is go
On 21 May 2018 at 15:39, Steven Schveighoffer via Digitalmars-d
wrote:
> On 5/21/18 6:26 PM, Manu wrote:
>>
>> On 21 May 2018 at 14:53, Jonathan M Davis via Digitalmars-d
>> wrote:
>>>
>>> On Monday, May 21, 2018 14:33:44 Manu via Digitalmars-d wrote:
How do virtual destructors work in
On 5/21/2018 2:41 PM, Steven Schveighoffer wrote:
On 5/21/18 5:23 PM, Walter Bright wrote:
In C, the way to do PIMPL is to write just a struct declaration:
=== s.h ===
struct S;
=== s.c ===
#include "s.h"
struct S { ... };
=== t.c ===
#include "s.h"
struct T {
S*
On Monday, 21 May 2018 at 19:51:38 UTC, Andrei Alexandrescu wrote:
Hi folks, it looks like at least a few branches of this thread
have run well past their useful course and into tedious
territory.
We don't like to go about killing threads, so we kindly ask
that you all refrain from posting in
On Monday, 21 May 2018 at 19:51:38 UTC, Andrei Alexandrescu wrote:
Hi folks, it looks like at least a few branches of this thread
have run well past their useful course and into tedious
territory.
We don't like to go about killing threads, so we kindly ask
that you all refrain from posting in
We're working to get each talk into separate videos, but it may
take a while.
Thank you very much!
(for some odd reason the day 2 and 3 didn´t appear to me on
youtube when I searched)
On Monday, 21 May 2018 at 22:09:08 UTC, SrMordred wrote:
There is some place where I can find this year conference
videos with or without slides?
Thanks!
Day 1:
https://www.youtube.com/watch?v=HvqsUO77FGI
(the stream of the first three talks was lost, so it starts after
lunch)
Day 2:
https:
On 5/21/18 6:37 PM, Manu wrote:
On 21 May 2018 at 15:29, Steven Schveighoffer via Digitalmars-d
wrote:
On 5/21/18 6:18 PM, Manu wrote:
On 21 May 2018 at 06:10, Steven Schveighoffer via Digitalmars-d
wrote:
On 5/20/18 9:49 PM, Manu wrote:
On 20 May 2018 at 17:14, Walter Bright via Digita
On 5/21/18 6:26 PM, Manu wrote:
On 21 May 2018 at 14:53, Jonathan M Davis via Digitalmars-d
wrote:
On Monday, May 21, 2018 14:33:44 Manu via Digitalmars-d wrote:
How do virtual destructors work in normal D classes?
It is my understanding that destructors in D are never virtual but rather
tha
On 21 May 2018 at 15:29, Steven Schveighoffer via Digitalmars-d
wrote:
> On 5/21/18 6:18 PM, Manu wrote:
>>
>> On 21 May 2018 at 06:10, Steven Schveighoffer via Digitalmars-d
>> wrote:
>>>
>>> On 5/20/18 9:49 PM, Manu wrote:
On 20 May 2018 at 17:14, Walter Bright via Digitalmars-d
On 21 May 2018 at 15:03, Jonathan M Davis via Digitalmars-d
wrote:
> On Monday, May 21, 2018 14:33:44 Manu via Digitalmars-d wrote:
>> extern(C++) classes.
>>
>> Currently, we don't add destructors to the vtable... we suggest that
>> users need to create some dummy virtual functions to fill those
On 5/21/18 6:18 PM, Manu wrote:
On 21 May 2018 at 06:10, Steven Schveighoffer via Digitalmars-d
wrote:
On 5/20/18 9:49 PM, Manu wrote:
On 20 May 2018 at 17:14, Walter Bright via Digitalmars-d
Yes, and only for delete.
Why? This doesn't make a lot of sense, since delete is freeing the me
On 21 May 2018 at 14:53, Jonathan M Davis via Digitalmars-d
wrote:
> On Monday, May 21, 2018 14:33:44 Manu via Digitalmars-d wrote:
>> How do virtual destructors work in normal D classes?
>
> It is my understanding that destructors in D are never virtual but rather
> that the runtime handles calli
On 21 May 2018 at 09:22, Jonathan Marler via Digitalmars-d
wrote:
> On Monday, 21 May 2018 at 04:46:15 UTC, Manu wrote:
>>
>> This CI situation with the DMD/druntime repos is not okay.
>> It takes ages... **hours** sometimes, for CI to complete.
>> It's all this 'auto-tester' one, which seems to l
On Monday, 21 May 2018 at 20:29:13 UTC, Steven Schveighoffer
wrote:
On 5/20/18 12:47 PM, IntegratedDimensions wrote:
load and save are not working, an example is always compiled
in. No code in the input box still shows examples code in the
disassembly.
Why do we even have asm.dlang.org any mo
On Monday, 21 May 2018 at 20:29:13 UTC, Steven Schveighoffer
wrote:
On 5/20/18 12:47 PM, IntegratedDimensions wrote:
load and save are not working, an example is always compiled
in. No code in the input box still shows examples code in the
disassembly.
Why do we even have asm.dlang.org any mo
On 21 May 2018 at 06:10, Steven Schveighoffer via Digitalmars-d
wrote:
> On 5/20/18 9:49 PM, Manu wrote:
>>
>> On 20 May 2018 at 17:14, Walter Bright via Digitalmars-d
>> wrote:
>>>
>>> On 5/20/2018 12:28 PM, Manu wrote:
Is re-initialisation to 'init' part of destruction,
>>>
>
There is some place where I can find this year conference videos
with or without slides?
Thanks!
On Monday, May 21, 2018 14:33:44 Manu via Digitalmars-d wrote:
> extern(C++) classes.
>
> Currently, we don't add destructors to the vtable... we suggest that
> users need to create some dummy virtual functions to fill those vtable
> slots so that the vtable layout otherwise matches the C++ class.
On Monday, May 21, 2018 14:33:44 Manu via Digitalmars-d wrote:
> How do virtual destructors work in normal D classes?
It is my understanding that destructors in D are never virtual but rather
that the runtime handles calling them correctly. IIRC, that relates to some
of the issues that make it so
On 5/21/18 5:23 PM, Walter Bright wrote:
In C, the way to do PIMPL is to write just a struct declaration:
=== s.h ===
struct S;
=== s.c ===
#include "s.h"
struct S { ... };
=== t.c ===
#include "s.h"
struct T {
S* pimpl;
};
And the users of T cannot access any
extern(C++) classes.
Currently, we don't add destructors to the vtable... we suggest that
users need to create some dummy virtual functions to fill those vtable
slots so that the vtable layout otherwise matches the C++ class.
This leaves us in a position where destruction doesn't work for
polymor
In C, the way to do PIMPL is to write just a struct declaration:
=== s.h ===
struct S;
=== s.c ===
#include "s.h"
struct S { ... };
=== t.c ===
#include "s.h"
struct T {
S* pimpl;
};
And the users of T cannot access anything in S. The straightforward equivalent
in D is:
On 5/21/18 4:29 PM, Yuxuan Shui wrote:
My response below might be a little off-topic.
On Monday, 21 May 2018 at 13:06:14 UTC, Steven Schveighoffer wrote:
[snip]
There is something to be said for keeping the compiler dumb:
1. Dumb is easy to implement, explain, and understand -- if you set
th
I've been using Swift in the past few years quite a bit, and it
always amuses me when it can't figure out some kind of
inference that seems trivial, but it just gives up because the
compiler takes too long to determine: "This [one line]
statement is too difficult, please split into multiple
st
On 5/20/18 12:47 PM, IntegratedDimensions wrote:
load and save are not working, an example is always compiled in. No code
in the input box still shows examples code in the disassembly.
Why do we even have asm.dlang.org any more? The latest version on there
is 2.071.
I'd recommend using run.d
My response below might be a little off-topic.
On Monday, 21 May 2018 at 13:06:14 UTC, Steven Schveighoffer
wrote:
[snip]
There is something to be said for keeping the compiler dumb:
1. Dumb is easy to implement, explain, and understand -- if you
set the bar low then more compilers will be a
Hi folks, it looks like at least a few branches of this thread have run
well past their useful course and into tedious territory.
We don't like to go about killing threads, so we kindly ask that you all
refrain from posting in this thread going forward.
Thanks much!
Andrei
On Monday, 21 May 2018 at 12:37:36 UTC, Jonathan M. Wilbur wrote:
$(DCOMPILER) -o- -op -d -Df$@ $<
That should work. It's roughly how the dlang.org documentation is
built.
But that does not work, because some of the compiled modules
import other modules, and the rule fails because DCOMPILER
On Monday, 21 May 2018 at 12:37:36 UTC, Jonathan M. Wilbur wrote:
Having said that, I don't see why it would be technically
impossible to make DMD build the HTML (almost) without regard
to the validity of the source code. Is this possible? And
moreover: *should* it be done? Is it a bad idea?
On Monday, 21 May 2018 at 07:10:34 UTC, rikki cattermole wrote:
alias DocumentType = SomeDocument!( ObjectVersion._1_0,
ObjectEncoding.PlainASCII );
alias DocumentType2 = SomeDocument!( ObjectEncoding.UTF8,
ObjectVersion._2_0 );
typedef basic_stringstring;
typedef basic_string wstring;
On Monday, 21 May 2018 at 15:30:40 UTC, Gheorghe Gabriel wrote:
On Monday, 21 May 2018 at 15:07:39 UTC, KingJoffrey wrote:
My suggestions are about resolving this, in order to attract
more programmers to D, because I doubt I'm the only person in
the world, that believes an object has a right to
On 5/21/18 12:59 PM, Jonathan M. Wilbur wrote:
On Monday, 21 May 2018 at 12:53:47 UTC, Steven Schveighoffer wrote:
On 5/21/18 8:37 AM, Jonathan M. Wilbur wrote:
I want to put in a feature request, but I want to gauge whether it is
even feasible or not, but a little background first:
I am tryi
On Monday, 21 May 2018 at 16:35:57 UTC, rikki cattermole wrote:
Please stop replying Dave, it isn't worth it.
Do something more productive with your time :)
I know, but... it helps me relax. ;-)
On Monday, 21 May 2018 at 12:53:47 UTC, Steven Schveighoffer
wrote:
On 5/21/18 8:37 AM, Jonathan M. Wilbur wrote:
I want to put in a feature request, but I want to gauge
whether it is even feasible or not, but a little background
first:
I am trying to create a Makefile to build the HTML
docu
Please stop replying Dave, it isn't worth it.
Do something more productive with your time :)
On Monday, 21 May 2018 at 14:54:57 UTC, KingJoffrey wrote:
On Monday, 21 May 2018 at 14:46:40 UTC, Sjoerd Nijboer wrote:
Also, I would verry much much like it if you would not resort
to comparing me to "one of those facebook employees." It's
just setting a mood for the conversation which no o
On Monday, 21 May 2018 at 09:56:22 UTC, KingJoffrey wrote:
On Monday, 21 May 2018 at 09:16:42 UTC, Dave Jones wrote:
da dah dah
da dah dah dahh da d
..
.
... da dah..
..da..
da ...dadada.da...dada.
Thanks Dave.
Your contributions to the discussion hav
On Monday, 21 May 2018 at 04:46:15 UTC, Manu wrote:
This CI situation with the DMD/druntime repos is not okay.
It takes ages... **hours** sometimes, for CI to complete.
It's all this 'auto-tester' one, which seems to lock up on the
last few tests.
This makes DMD is a rather unenjoyable project
On 22/05/2018 3:31 AM, ixid wrote:
On Saturday, 19 May 2018 at 15:09:38 UTC, Joakim wrote:
D does well, comes in second on Mac/Win/linux:
https://github.com/frol/completely-unscientific-benchmarks
https://www.reddit.com/r/programming/comments/8jbfa7/naive_benchmark_treap_implementation_of_c_rus
On Saturday, 19 May 2018 at 15:09:38 UTC, Joakim wrote:
D does well, comes in second on Mac/Win/linux:
https://github.com/frol/completely-unscientific-benchmarks
https://www.reddit.com/r/programming/comments/8jbfa7/naive_benchmark_treap_implementation_of_c_rust/
Can any experts improve this to
On Monday, 21 May 2018 at 15:07:39 UTC, KingJoffrey wrote:
My suggestions are about resolving this, in order to attract
more programmers to D, because I doubt I'm the only person in
the world, that believes an object has a right to privacy.
Of course you are not the only person that believes t
21.05.2018 17:11, Nerve пишет:
Sorry for double-posting, but I've included a GC-enabled solution based
on their Java solution, and have a pull request up that's a bit more
idiomatic, pulling unnecessary static methods out as functions.
It scores VERY HIGH across the board on their "naive" be
On Monday, 21 May 2018 at 14:46:40 UTC, Sjoerd Nijboer wrote:
Nope, I'm simply a bystander who sees lack of class scope as a
"feature" of D that is usefull in some cases while not hurting
idiomatic OOP as long as you only define a single class (+
unittests) inside a module.
If you want that
On Monday, 21 May 2018 at 14:36:32 UTC, Jacob Carlborg wrote:
enum Options options = { foo: true, bar: false, a: 42, b:
"guess what this does" };
SomeObject!options o;
--
/Jacob Carlborg
I like this especially if you mix it with:
enum Options options = { foo: true, bar: false, a: 42, b: "g
On Monday, 21 May 2018 at 14:46:40 UTC, Sjoerd Nijboer wrote:
Also, I would verry much much like it if you would not resort
to comparing me to "one of those facebook employees." It's just
setting a mood for the conversation which no one likes,
regardless what anyone thinks about facebook empl
On Monday, 21 May 2018 at 14:30:21 UTC, KingJoffrey wrote:
On Monday, 21 May 2018 at 13:39:12 UTC, Sjoerd Nijboer wrote:
While you might say that a unittest shouldn't acces private
members and only public members, there are plenty of testcases
where one would want to write a unittest to set a
On Monday, 21 May 2018 at 13:36:32 UTC, 12345swordy wrote:
If you resort to mockery, then that means you have lost the
argument.
I prefer to think of it as sarcasm, not mockery.
Sarcasm is a form of intelligent expression, to wield however you
see fit
(not unlike a module in D ;-)
For me,
On Monday, 21 May 2018 at 14:23:07 UTC, Steven Schveighoffer
wrote:
But how do you use it?
SomeObject!(Options(true, false, 42, "guess what this does"))
Yes, or if you want something more readable:
enum Options options = { foo: true, bar: false, a: 42, b: "guess
what this does" };
SomeOb
On Monday, 21 May 2018 at 13:39:12 UTC, Sjoerd Nijboer wrote:
While you might say that a unittest shouldn't acces private
members and only public members, there are plenty of testcases
where one would want to write a unittest to set a given
variable via public function and then test if the ap
On 5/21/18 10:07 AM, Jacob Carlborg wrote:
On Monday, 21 May 2018 at 00:13:26 UTC, Ethan wrote:
Code for context:
https://github.com/GooberMan/binderoo/blob/master/binderoo_client/d/src/binderoo/util/enumoptions.d
Something struck me at DConf. I was watching the dxml talk and hearing
about
On Sunday, 20 May 2018 at 15:30:37 UTC, Nerve wrote:
I'll see if I can get it included so they can test it on their
specific setup.
Sorry for double-posting, but I've included a GC-enabled solution
based on their Java solution, and have a pull request up that's a
bit more idiomatic, pulling u
On Monday, 21 May 2018 at 00:13:26 UTC, Ethan wrote:
Code for context:
https://github.com/GooberMan/binderoo/blob/master/binderoo_client/d/src/binderoo/util/enumoptions.d
Something struck me at DConf. I was watching the dxml talk and
hearing about all these things that weren't being implemente
On Monday, 21 May 2018 at 13:22:33 UTC, Steven Schveighoffer
wrote:
Filter was written before static foreach existed. This is a
pretty low-hanging fruit if anyone wants to try it out.
-Steve
I've gone to the effort after all, I might as well just port my
code across. I'll look in to it. Prob
On Monday, 21 May 2018 at 09:56:22 UTC, KingJoffrey wrote:
On Monday, 21 May 2018 at 09:16:42 UTC, Dave Jones wrote:
da dah dah
da dah dah dahh da d
..
.
... da dah..
..da..
da ...dadada.da...dada.
Thanks Dave.
Your contributions to the discussion hav
On Friday, 18 May 2018 at 15:57:06 UTC, bachmeier wrote:
class A {
private int x;
private(this) int y;
}
Instead of such a syntax if this ever comes to be, we could just
introduce a new keyword into the language.
class A {
private int x;
closed int y; //closed for acces outside t
On 5/21/18 5:30 AM, Ethan wrote:
On Monday, 21 May 2018 at 03:30:37 UTC, Paul Backus wrote:
Am I missing something, or is this the same thing as `std.meta: Filter`?
Nope, I am missing something.
I don't find the std library documentation anywhere near as easy to look
through as something lik
On 5/21/18 3:21 AM, Manu wrote:
On 20 May 2018 at 21:46, Manu wrote:
This CI situation with the DMD/druntime repos is not okay.
It takes ages... **hours** sometimes, for CI to complete.
It's all this 'auto-tester' one, which seems to lock up on the last few tests.
This makes DMD is a rather un
On 5/20/18 9:49 PM, Manu wrote:
On 20 May 2018 at 17:14, Walter Bright via Digitalmars-d
wrote:
On 5/20/2018 12:28 PM, Manu wrote:
Is re-initialisation to 'init' part of destruction,
No.
or is it a
separate post-process? (I feel it's a post-process)
Yes, and only for delete.
Why
On 5/20/18 6:56 AM, Yuxuan Shui wrote:
On Sunday, 20 May 2018 at 00:05:39 UTC, Jonathan M Davis wrote:
because it tends to become very difficult to get right in all cases
and results in situations where the programmer is forced to do
something in order to make the compiler shut up
Well, doesn
On 5/21/18 8:37 AM, Jonathan M. Wilbur wrote:
I want to put in a feature request, but I want to gauge whether it is
even feasible or not, but a little background first:
I am trying to create a Makefile to build the HTML documentation for a
Dlang project. I would like to be able to update a sin
I want to put in a feature request, but I want to gauge whether
it is even feasible or not, but a little background first:
I am trying to create a Makefile to build the HTML documentation
for a Dlang project. I would like to be able to update a single
HTML file if the corresponding source chan
On Sunday, 20 May 2018 at 23:01:39 UTC, Charles Hixson wrote:
auto has its uses, but it's wildly overused, especially in
library code and documentation, and really, really, *really*
much so in documentation examples.
A lot of functions in `std.algorithm` are actually quite clear
about it,
On Friday, 4 May 2018 at 08:01:24 UTC, avina wrote:
Removes errors from OST corrupted file data without facing any
problem. this software has very usable tool it easily repair
Outlook OST file and convert Ost file into multiple formats
like PST, EML, MSG, HTML, vCard, MBOX, EMLX. from emails, a
On Monday, 21 May 2018 at 09:16:42 UTC, Dave Jones wrote:
da dah dah
da dah dah dahh da d
..
.
... da dah..
..da..
da ...dadada.da...dada.
Thanks Dave.
Your contributions to the discussion have been really insightful,
and most valuable.
I'm sure we
On Monday, 21 May 2018 at 01:53:20 UTC, Manu wrote:
I don't really like that SomeObject() will be instantiated a
crap load of times for every possible combination and order of
options that a user might want to supply. How do you control
the bloat in a way that people won't mess up frequently?
On Monday, 21 May 2018 at 03:30:37 UTC, Paul Backus wrote:
Am I missing something, or is this the same thing as `std.meta:
Filter`?
Nope, I am missing something.
I don't find the std library documentation anywhere near as easy
to look through as something like cppreference.com, so I only
ten
On Monday, 21 May 2018 at 03:19:34 UTC, KingJoffrey wrote:
On Sunday, 20 May 2018 at 11:19:01 UTC, Dave Jones wrote:
On Sunday, 20 May 2018 at 02:45:25 UTC, KingJoffrey wrote:
On Saturday, 19 May 2018 at 17:38:48 UTC, Gheorghe Gabriel
wrote:
Anyway... feel free to misrepresent what I've said, e
On Monday, 21 May 2018 at 07:21:31 UTC, Manu wrote:
A few of those machines can build AND run the tests in 5-6
mintues. A
lot under 10 minutes...
Then there's a few that take 45+ minutes. Why are they in the
pool? Is
it really worth having 20 machines build the thing, especially
when a
few o
On 20 May 2018 at 21:46, Manu wrote:
> This CI situation with the DMD/druntime repos is not okay.
> It takes ages... **hours** sometimes, for CI to complete.
> It's all this 'auto-tester' one, which seems to lock up on the last few tests.
>
> This makes DMD is a rather unenjoyable project to contr
On 21/05/2018 12:13 PM, Ethan wrote:
Code for context:
https://github.com/GooberMan/binderoo/blob/master/binderoo_client/d/src/binderoo/util/enumoptions.d
Something struck me at DConf. I was watching the dxml talk and hearing
about all these things that weren't being implemented for one reas
76 matches
Mail list logo