Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Jacob Carlborg
On 2013-08-13 02:42, Andrei Alexandrescu wrote: Is is possible from a licensing standpoint to just distribute a copy of gmake built by gnuwin? I don't see why we couldn't do that. It's a completely separate tool and shouldn't "infect" anything else. We might need to accompany it with a licen

Re: deimos libx11 license

2013-08-12 Thread Walter Bright
On 8/12/2013 10:41 PM, luminousone wrote: The original license of Xlib I am pretty sure is the x11 license, any idea who the maintainer of the libx11 deimos project is, The contributors to each commit are listed on github - you should be able to contact them. The Deimos project files should

Re: Parameter-less templates?

2013-08-12 Thread Kenji Hara
2013/8/13 monarch_dodra > Related: I have encountered this problem, and I can't seem to work around > it; *other* than non-parameterized templates. Basically, I have this pred > function, we'll call it "foo". This pred function can itself be > parameterized to take its own (optional) pred. This b

Re: qtD

2013-08-12 Thread Tyler Jameson Little
On Monday, 12 August 2013 at 19:08:14 UTC, David Nadlinger wrote: On Monday, 12 August 2013 at 15:28:34 UTC, Russel Winder wrote: https://code.google.com/p/qtd/ (which has a Subversion repository) clearly points to http://www.dsource.org/projects/qtd – which I guess has a checkoutable (Subversi

Re: deimos libx11 license

2013-08-12 Thread luminousone
On Tuesday, 13 August 2013 at 05:03:10 UTC, Jonathan M Davis wrote: On Tuesday, August 13, 2013 05:53:50 luminousone wrote: I finely got around to checking the libx11 deimos project for updates, i haven't updated in ages, and the github has a LGPL license file included with it, is this intention

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Jonathan M Davis
On Monday, August 12, 2013 21:56:09 Nick Sabalausky wrote: > On Tue, 13 Aug 2013 03:12:21 +0200 > > "Adam D. Ruppe" wrote: > > On Tuesday, 13 August 2013 at 01:09:41 UTC, Nick Sabalausky wrote: > > > ex, really long output, or a unix vm without X, > > > > Tip: try hitting shift + page up and shi

Re: deimos libx11 license

2013-08-12 Thread Jonathan M Davis
On Tuesday, August 13, 2013 05:53:50 luminousone wrote: > I finely got around to checking the libx11 deimos project for > updates, i haven't updated in ages, and the github has a LGPL > license file included with it, is this intentional?, The opengl > deimos library does not contain this, are all o

deimos libx11 license

2013-08-12 Thread luminousone
I finely got around to checking the libx11 deimos project for updates, i haven't updated in ages, and the github has a LGPL license file included with it, is this intentional?, The opengl deimos library does not contain this, are all of the deimos projects LGPL, or is their some sort of error i

Re: qtD

2013-08-12 Thread michaelc37
On Monday, 12 August 2013 at 19:28:41 UTC, michaelc37 wrote: On Monday, 12 August 2013 at 15:47:02 UTC, Russel Winder wrote: On Wed, 2013-07-31 at 14:59 +0200, michaelc37 wrote: I have cloned you qtd-experimental to try a build with ldc2. However it seems cmake/FindD.cmake needs amending to co

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Adam D. Ruppe
On Tuesday, 13 August 2013 at 01:56:19 UTC, Nick Sabalausky wrote: Whoa, even in text-mode? yep. You should try using text mode only for a while - it is amazingly usable.

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Nick Sabalausky
On Tue, 13 Aug 2013 03:00:10 +0200 "deadalnix" wrote: > On Monday, 12 August 2013 at 18:57:12 UTC, Chris wrote: > > On Monday, 12 August 2013 at 17:23:39 UTC, Dicebot wrote: > >> On Monday, 12 August 2013 at 16:58:22 UTC, Adam D. Ruppe wrote: > >>> On Monday, 12 August 2013 at 16:45:52 UTC, Chris

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Nick Sabalausky
On Tue, 13 Aug 2013 03:12:21 +0200 "Adam D. Ruppe" wrote: > On Tuesday, 13 August 2013 at 01:09:41 UTC, Nick Sabalausky wrote: > > ex, really long output, or a unix vm without X, > > Tip: try hitting shift + page up and shift + page down. Works in > xterm and the text mode linux console to scro

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Nick Sabalausky
On Mon, 12 Aug 2013 17:42:26 -0700 Andrei Alexandrescu wrote: > > Is is possible from a licensing standpoint to just distribute a copy > of gmake built by gnuwin? > I don't even pretend to understand one word of any version of the GPL, so I couldn't say. However, if it were my own project, what

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Elie Morisse
Woops disregard that, I thought Jonathan was talking about a new build system, not just for DMD. On Tuesday, 13 August 2013 at 01:27:28 UTC, Elie Morisse wrote: Sorry if I missed the point, but wouldn't yet another build system be rewriting the wheel in D? CMake allows to do alot more than co

Re: Request for editor scripting help

2013-08-12 Thread Brian Schott
On Monday, 12 August 2013 at 19:34:53 UTC, Brian Schott wrote: You're correct. I forgot to do a push last night. Unfortunately I won't be able to get this fixed for another 5 hours or so. It's checked in now.

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Nick Sabalausky
On Mon, 12 Aug 2013 17:44:35 -0700 Walter Bright wrote: > On 8/12/2013 5:19 PM, H. S. Teoh wrote: > >> 5. Do we really want D to be restricted to only platforms that have > >> the latest Python up on them? > > > > I think that's a bit of hyperbole. It's the same as saying "do we > > want D to be

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread H. S. Teoh
On Mon, Aug 12, 2013 at 05:44:35PM -0700, Walter Bright wrote: > On 8/12/2013 5:19 PM, H. S. Teoh wrote: > >>5. Do we really want D to be restricted to only platforms that have > >>the latest Python up on them? > > > >I think that's a bit of hyperbole. It's the same as saying "do we > >want D to be

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Elie Morisse
Sorry if I missed the point, but wouldn't yet another build system be rewriting the wheel in D? CMake allows to do alot more than compiling, all in a cross platform way and is very fast when coupled with Ninja instead of Make. Even though D is nicer than the CMake language wouldn't it take

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Joseph Rushton Wakeling
On 08/12/2013 09:44 PM, Nick Sabalausky wrote: > You really should post that somewhere as a "blog" article. Probably will write something up on academic publishing in the near future -- bug me if I don't follow up on that ... :-)

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Adam D. Ruppe
On Tuesday, 13 August 2013 at 01:09:41 UTC, Nick Sabalausky wrote: ex, really long output, or a unix vm without X, Tip: try hitting shift + page up and shift + page down. Works in xterm and the text mode linux console to scroll the terminal.

Re: Parameter-less templates?

2013-08-12 Thread deadalnix
On Monday, 12 August 2013 at 19:03:41 UTC, monarch_dodra wrote: D has introduced a pretty cool tool: templates. These are basically namespaces that can be instantiated by a type/alias. Mixing with them the notion of "eponymous" allows to do some seriously cool things with them. One of the thi

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Nick Sabalausky
On Mon, 12 Aug 2013 17:37:51 -0700 Walter Bright wrote: > On 8/12/2013 4:59 PM, Nick Sabalausky wrote: > > Perhaps surprisingly though, I don't actually use ls on windows - > > but that's only because the win version doesn't give much (any?) > > visual distinction of directories vs files. Instead

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread deadalnix
On Monday, 12 August 2013 at 18:57:12 UTC, Chris wrote: On Monday, 12 August 2013 at 17:23:39 UTC, Dicebot wrote: On Monday, 12 August 2013 at 16:58:22 UTC, Adam D. Ruppe wrote: On Monday, 12 August 2013 at 16:45:52 UTC, Chris wrote: unless it's a very specific thing like web development wher

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Walter Bright
On 8/12/2013 5:41 PM, Andrei Alexandrescu wrote: From these two paragraphs above it seems that distributing a statically-linked version of gmake instead of the current make would be a possible solution. It is bigger but that shouldn't matter. Then we get to build on all supported OSs with posix

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Walter Bright
On 8/12/2013 5:19 PM, H. S. Teoh wrote: 5. Do we really want D to be restricted to only platforms that have the latest Python up on them? I think that's a bit of hyperbole. It's the same as saying "do we want D to be restricted to only platforms that have g++/make installed?" No, I don't thin

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Andrei Alexandrescu
On 8/12/13 4:59 PM, Nick Sabalausky wrote: On Mon, 12 Aug 2013 11:06:37 -0700 Sean Kelly wrote: On Aug 10, 2013, at 11:46 PM, Mike Parker wrote: Things can be wonky from a vanilla windows command prompt, which is why I never use any Linux tools there. MSYS makes all those problems go away.

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Andrei Alexandrescu
On 8/12/13 4:18 PM, Walter Bright wrote: 3. Make doesn't come preinstalled on Windows. But we have a make we can throw in the bin directory without issues. It's only 50K. Nobody goes out of their way - it's there on the same path as dmd. It's always the right version of make to use with our makef

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Walter Bright
On 8/12/2013 4:59 PM, Nick Sabalausky wrote: Perhaps surprisingly though, I don't actually use ls on windows - but that's only because the win version doesn't give much (any?) visual distinction of directories vs files. Instead, I stuck an "ls.bat" in my windows directory that invokes "dir /w %*"

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Jonathan M Davis
On Monday, August 12, 2013 15:48:54 H. S. Teoh wrote: > Which is why I proposed writing the build system in D. Ideally, build > scripts would themselves be D programs... dogfooding ftw. :) I would not want to make any attempt to make dmd, druntime, and Phobos build with a "standard D build tool"

Re: UFCS for templates

2013-08-12 Thread deadalnix
On Monday, 12 August 2013 at 12:53:40 UTC, Dicebot wrote: On Monday, 12 August 2013 at 12:07:26 UTC, eles wrote: ,,, You seem to miss the key point - burden of proof is one someone who does not spend efforts. Idea costs nothing. Proposals costs nothing. If JS would have come with done pull r

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread H. S. Teoh
On Mon, Aug 12, 2013 at 04:18:12PM -0700, Walter Bright wrote: > On 8/12/2013 3:48 PM, H. S. Teoh wrote: > >Objectively speaking, though, this is no different from being > >required to install make in order to compile dmd. You still have to > >go out of the way to install a 3rd party program before

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Nick Sabalausky
On Mon, 12 Aug 2013 11:06:37 -0700 Sean Kelly wrote: > On Aug 10, 2013, at 11:46 PM, Mike Parker wrote: > > > Things can be wonky from a vanilla windows command prompt, which is > > why I never use any Linux tools there. MSYS makes all those > > problems go away. I use git exclusively on window

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Walter Bright
On 8/12/2013 3:48 PM, H. S. Teoh wrote: Objectively speaking, though, this is no different from being required to install make in order to compile dmd. You still have to go out of the way to install a 3rd party program before you can build dmd. The only difference is that make tends to be preinst

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Joseph Rushton Wakeling
On 08/12/2013 10:04 PM, Andrei Alexandrescu wrote: > I'd agree a lot more with what follows if it weren't for workshops, symposia, > and journals, which together complete quite a large spectrum of publication > and > debate venues, all with different tradeoffs. I agree that there are other avenue

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread H. S. Teoh
On Mon, Aug 12, 2013 at 11:34:42AM -0700, Walter Bright wrote: > On 8/12/2013 11:13 AM, Andrei Alexandrescu wrote: > >I'm hanging a general comment here for a lack of a better place. > > > >We're far from being enamored to make and we have no vested interest > >in keeping it. At the same time its p

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Nick Sabalausky
On Mon, 12 Aug 2013 09:18:26 -0700 "H. S. Teoh" wrote: > On Mon, Aug 12, 2013 at 02:53:44AM -0400, Nick Sabalausky wrote: > > On Sun, 11 Aug 2013 20:01:27 -0700 > > "H. S. Teoh" wrote: > > > > > > I personally prefer single-column with no more than about 40 ems > > > in width or thereabouts. An

Re: Parameterized aliases

2013-08-12 Thread Piotr Szturmaj
W dniu 12.08.2013 23:10, monarch_dodra pisze: On Monday, 12 August 2013 at 20:06:16 UTC, Piotr Szturmaj wrote: Hi D community! What do you think of such templated aliases: template SomeTemplate(T1, T2) { } alias Partial(T) = SomeTemplate!(int, T); alias Specialized = Partial!float; // equiva

Re: Parameterized aliases

2013-08-12 Thread Meta
On Monday, 12 August 2013 at 20:44:12 UTC, Meta wrote: That's a neat idea. I don't know much about the compiler, so I'm not sure how easy to implement it would be, but something tells me that it wouldn't be trivial. Hmm, Dodra is right, I misunderstood.

Re: Parameterized aliases

2013-08-12 Thread monarch_dodra
On Monday, 12 August 2013 at 20:06:16 UTC, Piotr Szturmaj wrote: Hi D community! What do you think of such templated aliases: template SomeTemplate(T1, T2) { } alias Partial(T) = SomeTemplate!(int, T); alias Specialized = Partial!float; // equivalent to SomeTemplate!(int, float) I think th

Re: Parameter-less templates?

2013-08-12 Thread Meta
On Monday, 12 August 2013 at 19:58:32 UTC, Jacob Carlborg wrote: Do you mean like: template Foo () { int a; } Unfortunately this doesn't work: Foo.a = 3; But this does: Foo!().a = 3; class Foo { static int a; } template Foo() { int a = 0; } void main() { Foo.a = 0; } Wou

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Meta
On Monday, 12 August 2013 at 20:33:46 UTC, Dicebot wrote: I always feel so sad when awesome irony usage gets totally unnoticed because is it just too awesome to be obvious. http://en.wikipedia.org/wiki/Poe%27s_law

Re: Parameterized aliases

2013-08-12 Thread Meta
On Monday, 12 August 2013 at 20:06:16 UTC, Piotr Szturmaj wrote: Hi D community! What do you think of such templated aliases: template SomeTemplate(T1, T2) { } alias Partial(T) = SomeTemplate!(int, T); alias Specialized = Partial!float; // equivalent to SomeTemplate!(int, float) I think th

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Dicebot
On Monday, 12 August 2013 at 20:13:13 UTC, Nick Sabalausky wrote: *ahem* How is column width in PDF articles related to whether or not D is the answer to the One vs. Two Language High Performance Computing Dilemma? ;) I always feel so sad when awesome irony usage gets totally unnoticed becau

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Nick Sabalausky
On Mon, 12 Aug 2013 18:51:39 +0200 "Dicebot" wrote: > On Monday, 12 August 2013 at 16:28:01 UTC, Nick Sabalausky wrote: > > Yea. (And for vertical sh'mups!) That's also the reason 4:3 > > monitors > > would have to be pryed from my cold dead hands. 16:9 is fine > > for videos > > and games, but

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Nick Sabalausky
On Mon, 12 Aug 2013 21:23:17 +0200 "Idan Arye" wrote: > On Monday, 12 August 2013 at 16:58:22 UTC, Adam D. Ruppe wrote: > > On Monday, 12 August 2013 at 16:45:52 UTC, Chris wrote: > >> unless it's a very specific thing like web development > >> where PHP etc are handier. > > > > D rox for webdev

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Nick Sabalausky
On Mon, 12 Aug 2013 12:34:22 -0700 "H. S. Teoh" wrote: > > But this is only the least of PHP's problems. I'm not going to repeat > what people have said about PHP's flaws, but you can read all about it > here: > > http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ > Ever s

Parameterized aliases

2013-08-12 Thread Piotr Szturmaj
Hi D community! What do you think of such templated aliases: template SomeTemplate(T1, T2) { } alias Partial(T) = SomeTemplate!(int, T); alias Specialized = Partial!float; // equivalent to SomeTemplate!(int, float) I think they could be pretty helpful and they should be relatively easy to

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Andrei Alexandrescu
On 8/12/13 4:45 AM, Joseph Rushton Wakeling wrote: On 08/12/2013 05:57 AM, Andrei Alexandrescu wrote: On 8/11/13 4:45 PM, Joseph Rushton Wakeling wrote: On Sunday, 11 August 2013 at 23:37:28 UTC, Andrei Alexandrescu wrote: That's an odd thing to say seeing as a lot of CS academic research is t

Re: Parameter-less templates?

2013-08-12 Thread Jacob Carlborg
On 2013-08-12 21:03, monarch_dodra wrote: D has introduced a pretty cool tool: templates. These are basically namespaces that can be instantiated by a type/alias. Mixing with them the notion of "eponymous" allows to do some seriously cool things with them. One of the things I find strange though

Re: std.serialization: pre-voting review / discussion

2013-08-12 Thread Jacob Carlborg
On 2013-08-12 15:27, Dicebot wrote: Jacob, it is probably worth creating a pull request with latest rebased version of your proposal to simplify getting a quick overview of changes. I don't think a pull request should be made before a module has gone through the review queue and is approved.

Re: Request for editor scripting help

2013-08-12 Thread Idan Arye
On Monday, 12 August 2013 at 19:34:53 UTC, Brian Schott wrote: On Monday, 12 August 2013 at 19:16:34 UTC, Idan Arye wrote: Since the `EnumBody` class is defined in Dscanner, I'm gonna take a wild guess and say you need to do some pushing to Dscanner. You're correct. I forgot to do a push last

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Nick Sabalausky
On Mon, 12 Aug 2013 13:45:02 +0200 Joseph Rushton Wakeling wrote: > On 08/12/2013 05:57 AM, Andrei Alexandrescu wrote: > > On 8/11/13 4:45 PM, Joseph Rushton Wakeling wrote: > >> On Sunday, 11 August 2013 at 23:37:28 UTC, Andrei Alexandrescu > >> wrote: > >>> That's an odd thing to say seeing as

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread H. S. Teoh
On Mon, Aug 12, 2013 at 08:57:10PM +0200, Chris wrote: > On Monday, 12 August 2013 at 17:23:39 UTC, Dicebot wrote: > >On Monday, 12 August 2013 at 16:58:22 UTC, Adam D. Ruppe wrote: > >>On Monday, 12 August 2013 at 16:45:52 UTC, Chris wrote: > >>>unless it's a very specific thing like web developm

Re: Request for editor scripting help

2013-08-12 Thread Brian Schott
On Monday, 12 August 2013 at 19:16:34 UTC, Idan Arye wrote: Since the `EnumBody` class is defined in Dscanner, I'm gonna take a wild guess and say you need to do some pushing to Dscanner. You're correct. I forgot to do a push last night. Unfortunately I won't be able to get this fixed for ano

Re: qtD

2013-08-12 Thread michaelc37
On Monday, 12 August 2013 at 19:08:14 UTC, David Nadlinger wrote: On Monday, 12 August 2013 at 15:28:34 UTC, Russel Winder wrote: https://code.google.com/p/qtd/ (which has a Subversion repository) clearly points to http://www.dsource.org/projects/qtd – which I guess has a checkoutable (Subversi

Re: qtD

2013-08-12 Thread michaelc37
On Monday, 12 August 2013 at 15:47:02 UTC, Russel Winder wrote: On Wed, 2013-07-31 at 14:59 +0200, michaelc37 wrote: I have cloned you qtd-experimental to try a build with ldc2. However it seems cmake/FindD.cmake needs amending to cope with ldc2 in a user defined place :-( I haven't tried l

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Idan Arye
On Monday, 12 August 2013 at 16:58:22 UTC, Adam D. Ruppe wrote: On Monday, 12 August 2013 at 16:45:52 UTC, Chris wrote: unless it's a very specific thing like web development where PHP etc are handier. D rox for webdev too :) Only downside is it isn't pre-installed like php tends to be, but

Re: Request for editor scripting help

2013-08-12 Thread Idan Arye
On Friday, 9 August 2013 at 06:41:10 UTC, Brian Schott wrote: I've been making some progress on a project called DCD[1], which is D's answer to Go's Gocode[2]. It's a command-line client/server autocompletion program for D built off the same lexer/parser/ast code that powers DScanner. I'd lik

Re: qtD

2013-08-12 Thread David Nadlinger
On Monday, 12 August 2013 at 15:28:34 UTC, Russel Winder wrote: https://code.google.com/p/qtd/ (which has a Subversion repository) clearly points to http://www.dsource.org/projects/qtd – which I guess has a checkoutable (Subversion) repository. It's a Mercurial repository. QtD moved to BitBuck

Parameter-less templates?

2013-08-12 Thread monarch_dodra
D has introduced a pretty cool tool: templates. These are basically namespaces that can be instantiated by a type/alias. Mixing with them the notion of "eponymous" allows to do some seriously cool things with them. One of the things I find strange though is that they *must* be parameterized.

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Sean Kelly
On Aug 12, 2013, at 11:43 AM, "H. S. Teoh" wrote: > On Mon, Aug 12, 2013 at 11:08:18AM -0700, Sean Kelly wrote: >> On Aug 11, 2013, at 1:36 PM, Walter Bright >> wrote: >> >>> On the subject of friction, I believe we make a mistake by making a >>> dependency on libcurl, a library over which we

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Chris
On Monday, 12 August 2013 at 17:23:39 UTC, Dicebot wrote: On Monday, 12 August 2013 at 16:58:22 UTC, Adam D. Ruppe wrote: On Monday, 12 August 2013 at 16:45:52 UTC, Chris wrote: unless it's a very specific thing like web development where PHP etc are handier. D rox for webdev too :) Only dow

Re: std.concurrency.receive() and event demultiplexer

2013-08-12 Thread Sean Kelly
On Aug 9, 2013, at 10:59 AM, Ruslan Mullakhmetov wrote: > > With std.concurrency we could have a number of asynchronously operating > routines doing job "linearly", for instance, reading from socket and sending > received data to consumer thread. that ok. but what if socket or generally > hand

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread H. S. Teoh
On Mon, Aug 12, 2013 at 11:08:18AM -0700, Sean Kelly wrote: > On Aug 11, 2013, at 1:36 PM, Walter Bright wrote: > > > On the subject of friction, I believe we make a mistake by making a > > dependency on libcurl, a library over which we don't have control. > > Absolutely. As much as I like libc

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Sean Kelly
On Aug 12, 2013, at 11:26 AM, Andrei Alexandrescu wrote: > On 8/12/13 11:08 AM, Sean Kelly wrote: >> On Aug 11, 2013, at 1:36 PM, Walter Bright >> wrote: >> >>> On the subject of friction, I believe we make a mistake by making a >>> dependency on libcurl, a library over which we don't have con

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Andrei Alexandrescu
On 8/12/13 11:08 AM, Sean Kelly wrote: On Aug 11, 2013, at 1:36 PM, Walter Bright wrote: On the subject of friction, I believe we make a mistake by making a dependency on libcurl, a library over which we don't have control. Absolutely. As much as I like libcurl, I was kind of surprised when

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Walter Bright
On 8/12/2013 11:13 AM, Andrei Alexandrescu wrote: I'm hanging a general comment here for a lack of a better place. We're far from being enamored to make and we have no vested interest in keeping it. At the same time its place in the dmd foodchain is relatively modest (i.e. it's not a big hindran

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Andrei Alexandrescu
On 8/12/13 11:06 AM, Russel Winder wrote: SCons is not perfect, it has many problem. The biggest of which is no resource for development. I'm hanging a general comment here for a lack of a better place. We're far from being enamored to make and we have no vested interest in keeping it. At the

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Sean Kelly
On Aug 11, 2013, at 3:18 PM, Jonathan M Davis wrote: > On Sunday, August 11, 2013 14:43:13 Walter Bright wrote: >> That said, as soon as the D *package* starts to depend on >> non-default-installed libraries, trouble happens. With libcurl, the only >> solution so far seems to be to BUILD OUR OWN

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Sean Kelly
On Aug 11, 2013, at 2:46 PM, Walter Bright wrote: > Oh, I forgot to mention, licensing. > > We want Phobos to be free of any restrictive licensing. GPL is restrictive, > and so is LGPL. Yep. And while LGPL is theoretically fine in most situations, a lot of legal teams still run screaming fro

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Sean Kelly
On Aug 11, 2013, at 1:36 PM, Walter Bright wrote: > On the subject of friction, I believe we make a mistake by making a > dependency on libcurl, a library over which we don't have control. Absolutely. As much as I like libcurl, I was kind of surprised when it was bundled with DMD.

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Sean Kelly
On Aug 10, 2013, at 11:46 PM, Mike Parker wrote: > Things can be wonky from a vanilla windows command prompt, which is why I > never use any Linux tools there. MSYS makes all those problems go away. I use > git exclusively on windows, but via gitbash, which is built on top of MSYS. > > Of cour

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Russel Winder
On Mon, 2013-08-12 at 19:48 +0200, Wyatt wrote: […] > I don't care as long as you're willing to maintain whatever you > choose. But SCons? Granted it's been a few years since I > deigned to look at it, but it's historically caused a lot of > packaging headaches. And Make hasn't ;-) […] > Do

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread Wyatt
On Monday, 12 August 2013 at 16:29:36 UTC, H. S. Teoh wrote: What do you say? Let's throw together an SConstruct for DMD, druntime,and phobos, and submit a pull for it? I don't care as long as you're willing to maintain whatever you choose. But SCons? Granted it's been a few years since I d

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Dicebot
On Monday, 12 August 2013 at 17:03:44 UTC, H. S. Teoh wrote: It's not my fault, it's the mailman/NNTP interface that's causing problems. I use the mailing list interface. Btw was anyone planning to fix this on server side? I dream of the day when bunch of mail-based responses won't render web

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Dicebot
On Monday, 12 August 2013 at 16:58:22 UTC, Adam D. Ruppe wrote: On Monday, 12 August 2013 at 16:45:52 UTC, Chris wrote: unless it's a very specific thing like web development where PHP etc are handier. D rox for webdev too :) Only downside is it isn't pre-installed like php tends to be, but

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Chris
On Monday, 12 August 2013 at 16:58:22 UTC, Adam D. Ruppe wrote: On Monday, 12 August 2013 at 16:45:52 UTC, Chris wrote: unless it's a very specific thing like web development where PHP etc are handier. D rox for webdev too :) Only downside is it isn't pre-installed like php tends to be, but

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread H. S. Teoh
On Mon, Aug 12, 2013 at 06:49:08PM +0200, bearophile wrote: > H. S. Teoh: > > Just a note, you are somehow breaking most threads you answer to. [...] It's not my fault, it's the mailman/NNTP interface that's causing problems. I use the mailing list interface. T -- What do you call optometrist

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Adam D. Ruppe
On Monday, 12 August 2013 at 16:45:52 UTC, Chris wrote: unless it's a very specific thing like web development where PHP etc are handier. D rox for webdev too :) Only downside is it isn't pre-installed like php tends to be, but it still rox.

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Dicebot
On Monday, 12 August 2013 at 16:28:01 UTC, Nick Sabalausky wrote: Yea. (And for vertical sh'mups!) That's also the reason 4:3 monitors would have to be pryed from my cold dead hands. 16:9 is fine for videos and games, but my computer isn't a glorified TV ... It has bugged me too in laptop scr

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread bearophile
H. S. Teoh: Just a note, you are somehow breaking most threads you answer to. Bye, bearophile

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Chris
The authors of that article sum it up quite well. I used D for the same reasons and I don't see why I should use any other language for new projects, unless it's a very specific thing like web development where PHP etc are handier. For years I had been dreaming of something like D.

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Nick Sabalausky
On Mon, 12 Aug 2013 13:50:19 +0200 "Wyatt" wrote: > On Sunday, 11 August 2013 at 17:20:37 UTC, Nick Sabalausky wrote: > > rare few who have a monitor that swivels vertically or some > > Once you go vertical, you never go back! > > No, really, considering how much nicer it is for _every kind of

Re: Have Win DMD use gmake instead of a separate DMMake makefile?

2013-08-12 Thread H. S. Teoh
On Mon, Aug 12, 2013 at 11:16:19AM +0100, Russel Winder wrote: > On Sun, 2013-08-11 at 15:41 -0700, H. S. Teoh wrote: > > On Sun, Aug 11, 2013 at 09:26:11AM +0100, Russel Winder wrote: > > > On Sat, 2013-08-10 at 14:27 -0400, Nick Sabalausky wrote: > > > […] > > > > is discovering and dealing with

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread H. S. Teoh
On Mon, Aug 12, 2013 at 02:53:44AM -0400, Nick Sabalausky wrote: > On Sun, 11 Aug 2013 20:01:27 -0700 > "H. S. Teoh" wrote: > > > > I personally prefer single-column with no more than about 40 ems in > > width or thereabouts. Anything more than that, and it becomes > > uncomfortable to read. > >

Re: qtD

2013-08-12 Thread Russel Winder
On Wed, 2013-07-31 at 14:59 +0200, michaelc37 wrote: I have cloned you qtd-experimental to try a build with ldc2. However it seems cmake/FindD.cmake needs amending to cope with ldc2 in a user defined place :-( -- Russel. ===

Re: qtD

2013-08-12 Thread Russel Winder
On Wed, 2013-07-31 at 14:59 +0200, michaelc37 wrote: > for anyone still interested. > > after some itch scratching i finally got this to compile with dmd > 2.063.2 on ubuntu 64bit - > https://bitbucket.org/michaelc37/qtd-experimental Hummm… https://code.google.com/p/qtd/ (which has a Subversion

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread eles
On Monday, 12 August 2013 at 11:45:31 UTC, Joseph Rushton Wakeling wrote: On 08/12/2013 05:57 AM, Andrei Alexandrescu wrote: On 8/11/13 4:45 PM, Joseph Rushton Wakeling wrote: On Sunday, 11 August 2013 at 23:37:28 UTC, Andrei Alexandrescu wrote: First, it means people write to the submission de

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Craig Dillabaugh
On Sunday, 11 August 2013 at 15:49:25 UTC, monarch_dodra wrote: On Sunday, 11 August 2013 at 15:42:24 UTC, Nick Sabalausky wrote: On Sun, 11 Aug 2013 01:22:34 -0700 Walter Bright wrote: http://elrond.informatik.tu-freiberg.de/papers/WorldComp2012/PDP3426.pdf Holy crap those two-column PDFs

Re: GtkD

2013-08-12 Thread Russel Winder
Mike, Thanks for picking up on this and helping out. Much appreciated. On Sun, 2013-08-11 at 15:26 +0200, Mike Wey wrote: […] > Unfortunately that doesn't make it obvious. Could you check the exact > name of the ModuleInfo in the library? > > nm --defined-only libgtkd-2.a | grep ModuleInfo | gr

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Joseph Rushton Wakeling
On 08/12/2013 09:12 AM, Nick Sabalausky wrote: > I'm seeing a lot of focus here on the printed page. People can do > whatever the heck they want when they go print handouts and such. > But that doesn't mean they have to, or should, shoehorn their > electronic publications into a form that's poorly

Re: Is D the Answer to the One vs. Two Language High ,Performance Computing Dilemma?

2013-08-12 Thread Kagamin
On Sunday, 11 August 2013 at 15:42:24 UTC, Nick Sabalausky wrote: Holy crap those two-column PDFs are hard to read! Hehe, "Introduction to the DWARF debugging format" by Michael Eager is a 3-column pdf: down, up, down, up, down, left, right, A, B, Instant Kill.

std.serialization: pre-voting review / discussion

2013-08-12 Thread Dicebot
Stepping up to act as a Review Manager for Jacob Carlborg std.serialization Input Code: https://github.com/jacob-carlborg/phobos/tree/serialization Documentation: https://dl.dropboxusercontent.com/u/18386187/docs/std.serialization/index.html Previous review thread: http://forum.d

Re: std.algorithm unittest OOM & package.d

2013-08-12 Thread Richard Webb
On 08/08/2013 18:30, H. S. Teoh wrote: After the latest Phobos update, I can't run the Phobos unittests anymore; std.algorithm runs out of memory. It seems ok here (on Windows, building with the new snn.lib), but it's taking measurably longer to compile the algorithm unit tests than it was l

Re: UFCS for templates

2013-08-12 Thread BS
On Monday, 12 August 2013 at 12:07:26 UTC, eles wrote: On Saturday, 10 August 2013 at 18:28:34 UTC, Jonathan M Davis wrote: On Friday, August 09, 2013 05:29:05 JS wrote: On Friday, 9 August 2013 at 00:57:21 UTC, Mike Parker wrote: > On Friday, 9 August 2013 at 00:34:31 UTC, JS wrote: Um, not re

Re: UFCS for templates

2013-08-12 Thread Dicebot
On Monday, 12 August 2013 at 12:07:26 UTC, eles wrote: ,,, You seem to miss the key point - burden of proof is one someone who does not spend efforts. Idea costs nothing. Proposals costs nothing. If JS would have come with done pull request for this - it would have been my job to provide co

Re: Component programming

2013-08-12 Thread Jason den Dulk
On Wednesday, 31 July 2013 at 10:20:57 UTC, Chris wrote: This is only losely related to D, but I don't fully understand the separation of component programming and OOP What the wikipedia entry is saying, in a roundabout way is: All objects are components, but not all components are objects. w

Re: UFCS for templates

2013-08-12 Thread eles
On Saturday, 10 August 2013 at 18:28:34 UTC, Jonathan M Davis wrote: On Friday, August 09, 2013 05:29:05 JS wrote: On Friday, 9 August 2013 at 00:57:21 UTC, Mike Parker wrote: > On Friday, 9 August 2013 at 00:34:31 UTC, JS wrote: Um, not really.. [snip] Actually, that is how it works. If you w

Re: Version of implementation for docs

2013-08-12 Thread Jacob Carlborg
On 2013-08-11 06:30, JS wrote: Can we get the version of implementation/addition of a feature in the docs. e.g., if X feature/method/library is added into dmd version v, then the docs should display that feature. For example, when I go to http://dlang.org/phobos/object.html I see tsize. When I t

Re: Static unittests?

2013-08-12 Thread Andrej Mitrovic
On 8/12/13, Jacob Carlborg wrote: > It does work, at least when I added it: > > http://forum.dlang.org/thread/ks1brj$1l6c$1...@digitalmars.com Hmm that does work! Looks like I must have hit some kind of bug somewhere, but I lost the sample code that failed. I'll report it if I run into it again.

  1   2   >