Am 19.09.2014 01:10, schrieb Vladimir Panteleev:
The DDox documentation generator (and DMD's JSON output, which it
heavily relies on) still seems to have a far way to go, as can be seen
from the project's numerous open reported issues[1] and multiple
problems with pages such as [2].
I've been ge
On 19 September 2014 07:41, Koz Ross via Digitalmars-d
wrote:
> An update:
>
> If I don't use -O3 (in fact, if I don't use the -O flag at all), the code
> compiles and runs exactly as expected. I'm a little surprised (as even -O1
> causes this same strange behaviour). Could this be a bug?
If ther
On Thursday, 18 September 2014 at 16:55:33 UTC, H. S. Teoh via
Digitalmars-d wrote:
On Thu, Sep 18, 2014 at 07:13:48PM +0300, ketmar via
Digitalmars-d wrote:
On Thu, 18 Sep 2014 17:05:31 +0100
Bruno Medeiros via Digitalmars-d
wrote:
> * a small (or big) visual glitch, like pixels out of plac
I am obviously in favor of simply calling recurrent mutable
exception chains illegal (probably even immutable ones until we
fix const correctness of druntime exception handling).
Reason is simple : it doesn't require any changes in existing
code and is exactly the way we already do it in Socio
On 9/18/2014 10:27 PM, Vladimir Panteleev wrote:
On Friday, 19 September 2014 at 05:19:07 UTC, Walter Bright wrote:
On 9/18/2014 9:56 AM, Vladimir Panteleev wrote:
On Thursday, 18 September 2014 at 16:48:22 UTC, Scott Wilson wrote:
Unit of compilation is one D file but I saw if I pass several
On Friday, 19 September 2014 at 05:25:18 UTC, Marco Leise wrote:
WAT?
So next round?
Hell no!
before every voting there is a review and I guess you started
that.
I will address the thread-safety sufficiently in the next
incarnation.
Thank you for taking the time
You can add more verification that numbers read from file are
positive.
On Wednesday, 17 September 2014 at 16:32:41 UTC, Andrei
Alexandrescu wrote:
On 9/17/14, 9:30 AM, Dicebot wrote:
Ironically, strings have been probably least of my GC-related
issues
with D so far - hard to evaluate applicability of this
proposal because
of that. What are typical use cases for su
On Thursday, 18 September 2014 at 16:35:10 UTC, Bruno Medeiros
wrote:
I went to the great oracle (Wikipedia) to clarify what is the
more formal and proper term for this. Fair enough, indeed the
likes of
Facebook/Google+/MySpace/LinkedIn/Twitter/Instagram/tumblr/etc.
are more precisely called "
On Wednesday, 17 September 2014 at 17:34:29 UTC, Ola Fosheim
Grøstad wrote:
On Wednesday, 17 September 2014 at 16:06:06 UTC, Dicebot wrote:
I am rather terrible at calculus and math in general, is it
possible to provide a very short example of errors that can be
detected with such system?
Try
On Tuesday, 16 September 2014 at 21:22:37 UTC, Robert burner
Schadek wrote:
On Wednesday, 10 September 2014 at 16:54:14 UTC, Dicebot wrote:
so the current version has one template args log functions that
take __LINE__ and friends as normal parameter.
I think that was the last complaint, pleas
On Thursday, 18 September 2014 at 21:31:26 UTC, Peter Alexander
wrote:
On Wednesday, 17 September 2014 at 22:42:27 UTC, deadalnix
wrote:
On Wednesday, 17 September 2014 at 16:25:57 UTC, Dicebot wrote:
I had impression that general rule is "most inner scope takes
priority" (with base classes bei
On Thursday, 18 September 2014 at 15:44:57 UTC, Bruno Medeiros
wrote:
Also, me and a lot others don't agree Java is a mediocre
language. It is basic language, yes. But a lot of good software
can be written comfortably with just a basic language.
C++ is more *powerful* than Java, but it doesn't m
In general D with current compiler technology is not very
suitable for incremental rebuilds. In C there is a very simple
separation between implementation and the imported interface. C++
makes it much harder by introducing templates which also must be
present in header files - it took quite a w
On Friday, 19 September 2014 at 04:44:07 UTC, Jakob Ovrum wrote:
On Wednesday, 17 September 2014 at 16:32:04 UTC, Dicebot wrote:
On Wednesday, 17 September 2014 at 10:00:31 UTC, Jack
Applegame wrote:
You can use module name and line number as unique tag.
This is exactly what I would have expe
On Friday, 19 September 2014 at 04:35:55 UTC, deadalnix wrote:
Not so long ago, SDC used to require more than 2.5Gb of RAM and
minutes to compile, and it wasn't possible to compile it as
separate modules due to various bugs in the frontend.
Now it is not only possible to compile it as separate
On Thursday, 18 September 2014 at 22:24:14 UTC, deadalnix wrote:
On Thursday, 18 September 2014 at 15:48:46 UTC, Bruno Medeiros
wrote:
On 05/09/2014 14:42, Chris wrote:
A jar can only be used by another Java program. Making a Java
program
accessible to 3rd party software via a DLL is not so sim
PING again
On Thursday, 11 September 2014 at 13:58:40 UTC, Marc Schütz wrote:
PING
Now that there are again several GC related topics being
discussed, I thought I'd bump this thread.
Would be nice if Walter and/or Andrei could have a look and
share there opinions. Is this something worth pu
On Friday, 19 September 2014 at 07:57:24 UTC, Dicebot wrote:
I am obviously in favor of simply calling recurrent mutable
exception chains illegal (probably even immutable ones until we
fix const correctness of druntime exception handling).
Reason is simple : it doesn't require any changes in e
On Friday, 19 September 2014 at 11:14:06 UTC, Dicebot wrote:
On Friday, 19 September 2014 at 04:44:07 UTC, Jakob Ovrum wrote:
On Wednesday, 17 September 2014 at 16:32:04 UTC, Dicebot wrote:
On Wednesday, 17 September 2014 at 10:00:31 UTC, Jack
Applegame wrote:
You can use module name and line
Am Fri, 19 Sep 2014 09:26:59 +
schrieb "Robert burner Schadek" :
> On Friday, 19 September 2014 at 05:25:18 UTC, Marco Leise wrote:
> >
> > WAT?
> >
> >> So next round?
> >
> > Hell no!
> >
>
> before every voting there is a review and I guess you started
> that.
:)
> I will address the t
Hi,
I've recently used cairoD for drawing and I thought it would be
nice to have support for win32 surfaces. In order to add support
for this feature I need a winapi-d package for dub.So far I've
found some personal mirrors and clones on github such as:
https://github.com/AndrejMitrovic/Wind
On Friday, 19 September 2014 at 12:10:05 UTC, Paul Z. Barsan
wrote:
Hi,
I've recently used cairoD for drawing and I thought it would be
nice to have support for win32 surfaces. In order to add
support for this feature I need a winapi-d package for dub.So
far I've found some personal mirrors a
On Friday, 19 September 2014 at 12:37:25 UTC, evilrat wrote:
there is no FULL WinAPI in Phobos(just too big for std lib),
but everything(almost) required for cairo is already there. why
do we need full WinAPI if cairo just uses few structs for non
critical stuff like fonts and icons descriptio
this is the kind of answer you get from the linux guys. there
seems to be no interest in windows, so - you are on your own.
windows is the ugly orphan here.
On Friday, 19 September 2014 at 13:11:55 UTC, Paul Z. Barsan
wrote:
On Friday, 19 September 2014 at 12:37:25 UTC, evilrat wrote:
there is
On Thursday, 18 September 2014 at 16:05:32 UTC, Bruno Medeiros
wrote:
"If it's a game, who cares" -> Oh let's see... let's say I'm
playing a game, and then there's a bug (which happens often).
What would I prefer to happen:
* a small (or big) visual glitch, like pixels out of place,
corrupt
On Thursday, 18 September 2014 at 16:55:33 UTC, H. S. Teoh via
Digitalmars-d wrote:
Seriously, this philosophy of ignoring supposedly "minor" bugs
in
software is what led to the sad state of software today, where
nothing
is reliable and people have come to expect that software will
inevitably
On Friday, 19 September 2014 at 12:10:05 UTC, Paul Z. Barsan
wrote:
Hi,
The main problem is that the development still takes place on
dsource.org. Can dub get packages from svn repositories ? If it
doesn't, how can we solve this? Maybe a new github organization
like "dub-packagers" to involve
On Friday, 19 September 2014 at 04:35:55 UTC, deadalnix wrote:
Not so long ago, SDC used to require more than 2.5Gb of RAM and
minutes to compile, and it wasn't possible to compile it as
separate modules due to various bugs in the frontend.
Now it is not only possible to compile it as separate
On Friday, 19 September 2014 at 13:56:14 UTC, Sean Kelly wrote:
I suspect/hope that it won't be long before communications
software is held to standards similar to telephone, which will
require a huge adjustment on the part of programmers. People
in this industry still tend to not think of thi
Looks like the whole site is down at this point.
TK
On Fri, Sep 19, 2014 at 02:43:02PM +, Tim Keating via Digitalmars-d wrote:
> Looks like the whole site is down at this point.
[...]
Works for me. Are you behind a firewall?
T
--
The richest man is not he who has the most, but he who needs the least.
On 9/18/14, 10:53 PM, bearophile wrote:
Andrei Alexandrescu:
Wyatt:
(I wouldn't consider the cookie parameter a better solution; I would
consider it a wart.)
That's the right solution.
The cookie parameter is a ugly wart.
No. -- Andrei
Out of curiosity. dmd still produces the if statement, although
it ain't gonna happen. Same is true of "DoIt.yes". I know, it's
an unlikely and marginal example.
[code]
import std.stdio;
enum DoIt {
yes,
no
}
void main() {
doit(DoIt.no);
}
void doit(DoIt flag) {
if (flag == DoIt.yes)
On 9/18/14, 11:45 PM, Marco Leise wrote:
Am Fri, 19 Sep 2014 05:53:00 +
schrieb "bearophile" :
Andrei Alexandrescu:
Wyatt:
(I wouldn't consider the cookie parameter a better solution; I
would consider it a wart.)
That's the right solution.
The cookie parameter is a ugly wart.
Bye,
b
On 9/18/14, 11:56 PM, Sönke Ludwig wrote:
Am 19.09.2014 01:10, schrieb Vladimir Panteleev:
The DDox documentation generator (and DMD's JSON output, which it
heavily relies on) still seems to have a far way to go, as can be seen
from the project's numerous open reported issues[1] and multiple
pro
On 9/19/14, 2:26 AM, Robert burner Schadek wrote:
On Friday, 19 September 2014 at 05:25:18 UTC, Marco Leise wrote:
WAT?
So next round?
Hell no!
before every voting there is a review and I guess you started that.
I will address the thread-safety sufficiently in the next incarnation.
Th
On 9/19/14, 3:32 AM, Dicebot wrote:
On Wednesday, 17 September 2014 at 16:32:41 UTC, Andrei Alexandrescu wrote:
On 9/17/14, 9:30 AM, Dicebot wrote:
Ironically, strings have been probably least of my GC-related issues
with D so far - hard to evaluate applicability of this proposal because
of tha
On Friday, 19 September 2014 at 11:48:28 UTC, Marco Leise wrote:
Ok, thank you. If you get stuck or need a another review, just
drop me a mail. 4 eyes see more than 2. I'd even do the
changes I had in mind myself and create a pull request if you
don't mind.
PRs are most welcome
Thank you fo
On 9/19/14, 4:34 AM, "Marc Schütz" " wrote:
PING again
Thanks for your work. I've put it on my todo list. -- Andrei
On Friday, 19 September 2014 at 15:04:30 UTC, Andrei Alexandrescu
wrote:
It would help a lot if someone could simply update to the
latest
version. It's simply pointless for me to keep fixing bugs if
they never
show up on the site.
I'll put that on my ever-overflowing list. -- Andrei
This pa
As discussed, having exception objects being GC-allocated is clearly a
large liability that we need to address. They prevent otherwise careful
functions from being @nogc so they affect even apps that otherwise would
be okay with a little litter here and there.
The Throwable hierarchy is somewh
"Chris" wrote in message news:kcsnboocxeykhknjl...@forum.dlang.org...
Out of curiosity. dmd still produces the if statement, although
it ain't gonna happen. Same is true of "DoIt.yes". I know, it's
an unlikely and marginal example.
No it doesn't, here's main:
_Dmain:
push RBP
mov RBP,RSP
m
On Friday, 19 September 2014 at 15:30:25 UTC, Daniel Murphy wrote:
"Chris" wrote in message
news:kcsnboocxeykhknjl...@forum.dlang.org...
Out of curiosity. dmd still produces the if statement,
although it ain't gonna happen. Same is true of "DoIt.yes". I
know, it's an unlikely and marginal ex
On 9/19/14, 6:29 AM, winuser wrote:
this is the kind of answer you get from the linux guys. there
seems to be no interest in windows, so - you are on your own.
windows is the ugly orphan here.
That's... quite inaccurate. -- Andrei
On 9/19/14, 8:21 AM, Vladimir Panteleev wrote:
On Friday, 19 September 2014 at 15:04:30 UTC, Andrei Alexandrescu wrote:
It would help a lot if someone could simply update to the latest
version. It's simply pointless for me to keep fixing bugs if they never
show up on the site.
I'll put that on
"Koz Ross" writes:
> On Friday, 19 September 2014 at 06:21:31 UTC, ketmar via Digitalmars-d
> wrote:
>> On Fri, 19 Sep 2014 06:11:32 +
>> Koz Ross via Digitalmars-d wrote:
>>
>>> Yeah, I'm still confused as to why this is happening to me. So does
>>> it run correctly and output a bunch of nu
On Friday, 19 September 2014 at 11:36:29 UTC, Jakob Ovrum wrote:
That might be sufficient for a particular application like
Sociomantic's, but it's not sufficient for library code in
general. Such chains aren't logic errors and can easily occur
in the wild.
The point of exception chaining is
Am 19.09.2014 17:47, schrieb Andrei Alexandrescu:
On 9/19/14, 8:21 AM, Vladimir Panteleev wrote:
On Friday, 19 September 2014 at 15:04:30 UTC, Andrei Alexandrescu wrote:
It would help a lot if someone could simply update to the latest
version. It's simply pointless for me to keep fixing bugs if
On Friday, 19 September 2014 at 11:18:27 UTC, Dicebot wrote:
All praise SDC! :)
Btw was there any specific commit / release that reduced
memory concumption or it was a gradual improvement?
No idea.
On Friday, 19 September 2014 at 14:04:08 UTC, Gary Willoughby
wrote:
I would try and contact the maintainers on github, etc. and ask
for them to be placed in the dub repository. If you have no
luck with that just do it yourself like i did with the x11 repo.
Someone already did and made a pul
On Friday, 19 September 2014 at 05:27:33 UTC, Vladimir Panteleev
wrote:
On Friday, 19 September 2014 at 05:19:07 UTC, Walter Bright
wrote:
On 9/18/2014 9:56 AM, Vladimir Panteleev wrote:
On Thursday, 18 September 2014 at 16:48:22 UTC, Scott Wilson
wrote:
Unit of compilation is one D file but I
On Friday, 19 September 2014 at 02:05:43 UTC, ketmar via
Digitalmars-d wrote:
On Fri, 19 Sep 2014 01:42:58 +
Scott Wilson via Digitalmars-d
wrote:
Do .di files contain only templates (no comments and plain
functions? How well do they work? thanx
as for 'how .di files work' question: '.di
On Friday, 19 September 2014 at 05:17:45 UTC, Walter Bright wrote:
On 9/18/2014 9:48 AM, Scott Wilson wrote:
Im running some tests with D. Was wondering whats the
dependency
story. Cant find any info online, searched for dlang dependency
management and dlang dependency. Found bunch o dub stuff
On 9/19/2014 10:34 AM, Scott Wilson wrote:
I tried this
dmd test.d test2.d
Got one test.o and one binary test. No test2.o. Must be that thing where all
modules compiled are smashed. The first filename dictates the .o name. Correct?
Also tried
dmd -c test.d test2.d
In that case yes both .o ar
On 9/19/2014 10:41 AM, Scott Wilson wrote:
Im worrying about recursive dependencie. If a.d imports b.d and
b.d imports c.d then I change c.d.
Is a.d compiled again?
Yes.
Sometimes it should sometimes it shouldnt.
Dependency isn't more fine-grained than who imports who.
On Fri, 19 Sep 2014 17:38:20 +
Scott Wilson via Digitalmars-d wrote:
> That CTFE is used randomly everywhere?
CTFE *can* be used alot. this is one of D killer features (our regexp
engine, for example, not only very fast, but regexps can be compiled to
native code thru D in *compile* *time* wi
On Fri, 19 Sep 2014 13:29:46 +
winuser via Digitalmars-d wrote:
> this is the kind of answer you get from the linux guys. there
> seems to be no interest in windows, so - you are on your own.
> windows is the ugly orphan here.
windows is the dead cow, so we tend to just ignore the questions a
On Friday, 19 September 2014 at 18:56:20 UTC, ketmar via
Digitalmars-d wrote:
On Fri, 19 Sep 2014 17:38:20 +
Scott Wilson via Digitalmars-d
wrote:
That CTFE is used randomly everywhere?
CTFE *can* be used alot. this is one of D killer features (our
regexp
engine, for example, not only v
On Fri, 19 Sep 2014 19:07:16 +
Cliff via Digitalmars-d wrote:
that's why dedicating people to work solely on build scripts and
infrastructure is good, yet almost nobody does that. ah, "enterprise
BS" again. fsck "enterprise".
as for build times: we always can write parsed and analyzed ASTs t
On Friday, 19 September 2014 at 19:22:22 UTC, ketmar via
Digitalmars-d wrote:
On Fri, 19 Sep 2014 19:07:16 +
Cliff via Digitalmars-d wrote:
that's why dedicating people to work solely on build scripts and
infrastructure is good, yet almost nobody does that. ah,
"enterprise
BS" again. fsck
On 2014-09-19 17:32, Andrei Alexandrescu wrote:
Whenever a reference to a Throwable is copied about, passed to
functions, the compiler inserts appropriately calls to e.g. incRef and
decRef. (Compiler may assume they cancel each other for optimization
purposes.) Implementation of these is up to t
On Fri, 19 Sep 2014 19:30:21 +
Cliff via Digitalmars-d wrote:
> In a sense I sympathize with your antipath toward enterprises,
> but the simple fact is they have a lot of money and command a lot
> of developers. For us, developers = mind share = more libraries
> for us to use and more ideas
On 9/19/14, 12:42 PM, Jacob Carlborg wrote:
On 2014-09-19 17:32, Andrei Alexandrescu wrote:
Whenever a reference to a Throwable is copied about, passed to
functions, the compiler inserts appropriately calls to e.g. incRef and
decRef. (Compiler may assume they cancel each other for optimization
Jonathan Blow just recorded a talk about the needs and ideas for a
programming language for game developer.
https://www.youtube.com/watch?v=TH9VCN6UkyQ
This talk mentions D quite a lot of times.
D is mentioned as the most probable to be adopted if it were possible
for frictionless interaction
On Friday, 19 September 2014 at 15:32:38 UTC, Andrei Alexandrescu
wrote:
First, there must be some compiler flag -nogc or something,
which triggers the RC exceptions. All modules of an application
must be compiled with this flag if it is to work (such that one
module can throw an exception caug
On 9/19/14, 5:28 PM, Timon Gehr wrote:
On 09/19/2014 04:59 PM, Andrei Alexandrescu wrote:
On 9/18/14, 10:53 PM, bearophile wrote:
Andrei Alexandrescu:
Wyatt:
(I wouldn't consider the cookie parameter a better solution; I would
consider it a wart.)
That's the right solution.
The cookie pa
On 09/19/2014 04:59 PM, Andrei Alexandrescu wrote:
On 9/18/14, 10:53 PM, bearophile wrote:
Andrei Alexandrescu:
Wyatt:
(I wouldn't consider the cookie parameter a better solution; I would
consider it a wart.)
That's the right solution.
The cookie parameter is a ugly wart.
No. -- Andrei
On 9/19/14, 4:47 PM, Max Klyga wrote:
Jonathan Blow just recorded a talk about the needs and ideas for a
programming language for game developer.
https://www.youtube.com/watch?v=TH9VCN6UkyQ
This talk mentions D quite a lot of times.
D is mentioned as the most probable to be adopted if it were p
Max Klyga:
https://www.youtube.com/watch?v=TH9VCN6UkyQ
I like the focus on correctness of the Rust language (but
currently Rust seems to ignore several kinds of correctness,
focusing only on two kinds), but I understand that the needs of
creating a modern browser (that is a long lived proje
On 9/19/2014 8:32 AM, Andrei Alexandrescu wrote:
As discussed, having exception objects being GC-allocated is clearly a large
liability that we need to address. They prevent otherwise careful functions from
being @nogc so they affect even apps that otherwise would be okay with a little
litter her
On 9/19/14, 6:18 PM, Walter Bright wrote:
Having a compiler switch to change the behavior of every module in
incompatible ways would be a disastrous balkanization. It has to be done
in such a way that the ARC and the existing exceptions can coexist.
Could you please elaborate why the disaster?
On Saturday, 20 September 2014 at 01:19:05 UTC, Walter Bright
wrote:
Having a compiler switch to change the behavior of every module
in incompatible ways would be a disastrous balkanization.
Don't -version, -debug etc. have this problem anyway?
Anyway, if you change the name mangling, then you
On 9/19/2014 6:48 PM, Andrei Alexandrescu wrote:
On 9/19/14, 6:18 PM, Walter Bright wrote:
Having a compiler switch to change the behavior of every module in
incompatible ways would be a disastrous balkanization. It has to be done
in such a way that the ARC and the existing exceptions can coexis
On 9/19/2014 7:04 PM, Vladimir Panteleev wrote:
On Saturday, 20 September 2014 at 01:19:05 UTC, Walter Bright wrote:
Having a compiler switch to change the behavior of every module in
incompatible ways would be a disastrous balkanization.
Don't -version, -debug etc. have this problem anyway?
He actually talks about Andre around 40' ;0
As a fellow game dev:
I don't agree with him about RAII, I find it useful
He kind of has a point about exceptions, I'm not big on them
I get the impression his C++ knowledge is about the level of C++
with classes, ie very low.
He claims using st
On 09/20/2014 02:29 AM, Andrei Alexandrescu wrote:
On 9/19/14, 5:28 PM, Timon Gehr wrote:
On 09/19/2014 04:59 PM, Andrei Alexandrescu wrote:
On 9/18/14, 10:53 PM, bearophile wrote:
Andrei Alexandrescu:
Wyatt:
(I wouldn't consider the cookie parameter a better solution; I would
consider it a
On Saturday, 20 September 2014 at 02:26:49 UTC, Walter Bright
wrote:
Good question. It's a challenge. But it has to be done, or D
will divide in half and both halves will fail.
We've had this discussion numerous times before - "throw the
magic compiler switch" and D becomes an ARC system and
On Fri, 19 Sep 2014 08:32:38 -0700
Andrei Alexandrescu via Digitalmars-d
wrote:
> First, there must be some compiler flag -nogc or something, which
please, no compiler switches! it's partly ok for "-release", it's not
very good for "-version" and it's awful to add another one which
completely al
On 9/19/2014 8:13 PM, Daniel N wrote:
What does the GC bring to exceptions that makes it sufficiently invaluable to
warrant two parallel implementations? It can't be about performance, since
_thrown_ exceptions are already in the slow path... Backwards compatibility?
Backwards compatibility.
On Friday, 19 September 2014 at 14:51:28 UTC, H. S. Teoh via
Digitalmars-d wrote:
Works for me. Are you behind a firewall?
T
Weird. I am not. Unless Time Warner is pulling a fast one on me.
Ah, well. Sorry for the false alarm.
On Friday, 19 September 2014 at 12:10:05 UTC, Paul Z. Barsan
wrote:
I've recently used cairoD for drawing and I thought it would be
nice to have support for win32 surfaces. In order to add
support for this feature I need a winapi-d package for dub.So
far I've found some personal mirrors and clo
On Saturday, 20 September 2014 at 03:25:39 UTC, Walter Bright
wrote:
On 9/19/2014 8:13 PM, Daniel N wrote:
What does the GC bring to exceptions that makes it
sufficiently invaluable to
warrant two parallel implementations? It can't be about
performance, since
_thrown_ exceptions are already in
Okay, this is weird.
This is only happening for me using Google Chrome on OS X 10.9. I
can hit the site with Safari and Firefox just fine.
I thought maybe I had some malicious infected extension or
something (I was seeing some activity there in the network trace
in the Chrome developer tools
On Friday, 19 September 2014 at 23:47:06 UTC, Max Klyga wrote:
Jonathan Blow just recorded a talk about the needs and ideas
for a programming language for game developer.
https://www.youtube.com/watch?v=TH9VCN6UkyQ
This talk mentions D quite a lot of times.
D is mentioned as the most probable
On 9/19/14, 7:20 PM, Walter Bright wrote:
On 9/19/2014 6:48 PM, Andrei Alexandrescu wrote:
On 9/19/14, 6:18 PM, Walter Bright wrote:
Having a compiler switch to change the behavior of every module in
incompatible ways would be a disastrous balkanization. It has to be done
in such a way that the
On 9/19/14, 7:26 PM, Walter Bright wrote:
On 9/19/2014 7:04 PM, Vladimir Panteleev wrote:
On Saturday, 20 September 2014 at 01:19:05 UTC, Walter Bright wrote:
Having a compiler switch to change the behavior of every module in
incompatible ways would be a disastrous balkanization.
Don't -versi
On 9/19/14, 8:13 PM, Daniel N wrote:
On Saturday, 20 September 2014 at 02:26:49 UTC, Walter Bright wrote:
Good question. It's a challenge. But it has to be done, or D will
divide in half and both halves will fail.
We've had this discussion numerous times before - "throw the magic
compiler swit
On 9/19/14, 8:30 PM, ketmar via Digitalmars-d wrote:
On Fri, 19 Sep 2014 08:32:38 -0700
Andrei Alexandrescu via Digitalmars-d
wrote:
First, there must be some compiler flag -nogc or something, which
please, no compiler switches! it's partly ok for "-release", it's not
very good for "-version"
On 9/19/14, 8:45 PM, Daniel N wrote:
As much as I applaud our efforts for Backwards compatibility, it only
affects code which already has been written, whereas a switch would
affect "all" code that will be written, imho the burden both on library
and app devs would be less if we simply redefined
On 9/19/14, 8:14 PM, Timon Gehr wrote:
On 09/20/2014 02:29 AM, Andrei Alexandrescu wrote:
On 9/19/14, 5:28 PM, Timon Gehr wrote:
On 09/19/2014 04:59 PM, Andrei Alexandrescu wrote:
On 9/18/14, 10:53 PM, bearophile wrote:
Andrei Alexandrescu:
Wyatt:
(I wouldn't consider the cookie parameter
On 9/19/2014 9:47 PM, Andrei Alexandrescu wrote:
We've had this discussion numerous times before - "throw the magic
compiler switch" and D becomes an ARC system and everything is
wonderful. It cannot work. ARC and GC are not equivalent.
I think past discussions have been inconclusive at best an
On Fri, 19 Sep 2014 21:53:32 -0700
Andrei Alexandrescu via Digitalmars-d
wrote:
> Changing nothing is not an option. Ideas? -- Andrei
let compiler do it's ARC magic on Throwable and allow programmer to
plug in his own allocator. and drop out GC mechanics for Throwables
entirely (except scanning T
On Saturday, 20 September 2014 at 05:24:11 UTC, Walter Bright
wrote:
D can have ref counted objects, but it will not work with a
compiler switch to switch them back and forth. They'll have to
coexist peacefully with GC objects.
If you don't expose the refcount, write libraries as if you have
OK so I'm 1h in now. The guy is explaining slices in a languages
that look like C or C++. But discarded D at the beginning because
it is too close to C/C++.
Also I love how he keeps mentioning that adding debug support is
easy.
His ! stuff looks interesting, but I guess this is already being
Consider:
https://github.com/D-Programming-Language/phobos/blob/master/std/c/windows/com.d#L218
This is D's support for COM objects. They have AddRef() and Release(), i.e. they
are reference counted. They do not inherit from Object. The refcounting is
currently manual.
D could allow an addit
On 9/19/14, 10:24 PM, Walter Bright wrote:
On 9/19/2014 9:47 PM, Andrei Alexandrescu wrote:
We've had this discussion numerous times before - "throw the magic
compiler switch" and D becomes an ARC system and everything is
wonderful. It cannot work. ARC and GC are not equivalent.
I think past d
On 9/19/2014 10:32 PM, Ola Fosheim Grostad wrote:
On Saturday, 20 September 2014 at 05:24:11 UTC, Walter Bright wrote:
D can have ref counted objects, but it will not work with a compiler switch to
switch them back and forth. They'll have to coexist peacefully with GC objects.
If you don't exp
On Saturday, 20 September 2014 at 04:11:01 UTC, Tim Keating wrote:
Okay, this is weird.
This is only happening for me using Google Chrome on OS X 10.9.
I can hit the site with Safari and Firefox just fine.
I thought maybe I had some malicious infected extension or
something (I was seeing som
On 9/19/2014 10:46 PM, Andrei Alexandrescu wrote:
2. To deal with (1), existing ARC systems allow escapes from it. This
has severe implications for memory safety. Rust's entire type system
appears to be designed around trying to deal with this, and AFAIK
they're the only ones who have tried. C++
1 - 100 of 105 matches
Mail list logo