dsimcha:
Here's a first draft of an article on D's approaches to concurrency and
parallelism for D's article contest. It's not an official submission
yet, but feedback would be appreciated.
http://davesdprogramming.wordpress.com/2011/04/07/7/
I have given a first quick read to your
On Apr 9, 2011, at 7:37 PM, Andrei Alexandrescu wrote:
On 04/09/2011 09:27 PM, dsimcha wrote:
On 4/9/2011 10:22 PM, Andrei Alexandrescu wrote:
On 04/09/2011 08:31 PM, dsimcha wrote:
On 4/9/2011 7:56 PM, Andrei Alexandrescu wrote:
I think the article's title is missing a comma btw.
Andrei
On 4/12/2011 12:51 PM, bearophile wrote:
It might really be pure but not marked as such because the discipline required to
recursively mark it and all functions it calls pure doesn’t scale much better than
any other form of discipline in programming.
If an important module of Phobos as yours
On Mon, 2011-04-11 at 19:47 -0400, Nick Sabalausky wrote:
[ . . . ]
Regardless, I think we've clearly demonstrated the complete impenetrability
of (L)GPL. I've long since given up trying to understand it, and I seriously
doubt that anyone really truly understands it (it's the C++ of the
On Tue, Apr 12, 2011 at 1:52 AM, Russel Winder rus...@russel.org.uk wrote:
On Mon, 2011-04-11 at 19:47 -0400, Nick Sabalausky wrote:
[ . . . ]
Regardless, I think we've clearly demonstrated the complete impenetrability
of (L)GPL. I've long since given up trying to understand it, and I
On Mon, 2011-04-11 at 19:01 -0400, bearophile wrote:
dsimcha Wrote:
This message is to formally request a resumption of the review for
std.parallelism,
I like your module. I suggest to put it into a std.experimental.parallelism
Phobos module in the next DMD release.
Uuurrr... excuse
On 2011-04-11 22:09, Nick Sabalausky wrote:
Jonathan M Davisjmdavisp...@gmx.com wrote in message
news:mailman.3371.1302508910.4748.digitalmar...@puremagic.com...
Jonathan M Davis Wrote:
Personally, I think that it's _horrible_ to use tabs
Why would one fear tabs?
They change depending on
On 2011-04-11 21:58, spir wrote:
[slightly OT]
Hello,
I'm reading (just for interest) the LLVM Coding Standards at
http://llvm.org/docs/CodingStandards.html. Find them very interesting
because their purposes are clearly explained. Below sample.
Denis
=== sample
dsimcha wrote:
This message is to formally request a resumption of the review for
std.parallelism, now that Jacob has submitted a pull request for
std.net.isemail and GSoC proposals aren't taking up most of the
community's attention. I suggest one additional week of review, since
the module
On 12/04/11 03.45, Daniel Gibson wrote:
Am 11.04.2011 19:05, schrieb Russel Winder:
On Mon, 2011-04-11 at 15:39 +, Adam D. Ruppe wrote:
[ . . . ]
fine, but a standard library is distributed with D programs. LGPL
requires you to send source when distributing the library.
I would have to
On 04/12/2011 04:05 AM, Nick Sabalausky wrote:
As more and more D2 functions become pure in my code and in Phobos,
something like a -disablepure compiler switch (and printf/writeln inside
debug{}) may allow more handy debugging with prints (if the purity is well
managed by the compiler
Well, 5155 is fairly simple. The bug report details four one line
changes to Object.di and Object_.d. See
http://d.puremagic.com/issues/show_bug.cgi?id=5155
Also, If that doesn't do the trick, please e-mail me as I would like
to fix the root cause. (And let you test the library)
Oops sorry, I
On 04/12/2011 01:47 AM, Nick Sabalausky wrote:
Jonas Drewsenjdrew...@nospam.com wrote in message
news:invnrn$2pgf$1...@digitalmars.com...
On 11/04/11 22.01, Steven Schveighoffer wrote:
On Mon, 11 Apr 2011 13:05:24 -0400, Russel Winderrus...@russel.org.uk
wrote:
On Mon, 2011-04-11 at 15:39
On 04/12/2011 09:05 AM, Andrew Wiley wrote:
On Tue, Apr 12, 2011 at 1:52 AM, Russel Winderrus...@russel.org.uk wrote:
On Mon, 2011-04-11 at 19:47 -0400, Nick Sabalausky wrote:
[ . . . ]
Regardless, I think we've clearly demonstrated the complete impenetrability
of (L)GPL. I've long since
On 04/12/2011 05:15 AM, Jonathan M Davis wrote:
So, how you format
your code matters. Using tabs screws with that unless you're completely
consistent, and while a single developer may be consistent, groups of
developers rarely are.
This is as true in the case of spaces. With the additional
On 2011-04-12 03:45, Daniel Gibson wrote:
Am 11.04.2011 19:05, schrieb Russel Winder:
On Mon, 2011-04-11 at 15:39 +, Adam D. Ruppe wrote:
[ . . . ]
fine, but a standard library is distributed with D programs. LGPL
requires you to send source when distributing the library.
I would have to
Am 12.04.2011 10:29, schrieb spir:
On 04/12/2011 09:05 AM, Andrew Wiley wrote:
On Tue, Apr 12, 2011 at 1:52 AM, Russel Winderrus...@russel.org.uk
wrote:
On Mon, 2011-04-11 at 19:47 -0400, Nick Sabalausky wrote:
[ . . . ]
Regardless, I think we've clearly demonstrated the complete
On 04/12/2011 05:19 AM, Jonathan M Davis wrote:
Using only spaces and no tabs avoids the entire issue
spaces -- tabs works as fine
Why are programmers so blindly unfair when discussing this point?
and is one of the major reasons (if not _the_ major reason) why it is
incredibly common for
Am 12.04.2011 10:43, schrieb Jacob Carlborg:
On 2011-04-12 03:45, Daniel Gibson wrote:
Am 11.04.2011 19:05, schrieb Russel Winder:
On Mon, 2011-04-11 at 15:39 +, Adam D. Ruppe wrote:
[ . . . ]
fine, but a standard library is distributed with D programs. LGPL
requires you to send source
On 04/12/2011 07:13 AM, Jonathan M Davis wrote:
It's true that people occasionally end up inserting tabs in space-only
environments, but in my experience, it's fairly rare. It's pretty much a
guarantee, however, that _someone_ will insert spaces in an environment where
it's supposed to be tabs.
On Mon, 11 Apr 2011 23:08:12 +, Adam D. Ruppe wrote:
teo wrote:
XCB (http://xcb.freedesktop.org/) - aims to replace Xlib
I've heard of it, but never used it before. Since I wanted to write this
quickly I stuck to what I knew (xlib on linux and gdi on windows).
Replacing it later, if
On 04/12/2011 09:24 AM, Jacob Carlborg wrote:
Well, IMO, using spaces for indentation serves no useful purpose. At least
tabs actually *mean* alignment and indentation. Spaces don't and never have.
Plus, what's the use of being able place the cursor at arbtrary points
within the 4 spaces (or 8
Am 12.04.2011 10:41, schrieb Daniel Gibson:
Am 12.04.2011 10:29, schrieb spir:
On 04/12/2011 09:05 AM, Andrew Wiley wrote:
The Java world likes ASL precisely because software licensed under it
can be sold. Take a look at the signature lines of the main
contributors to large open source Java
On 12.04.2011 2:31, Spacen Jasset wrote:
On 11/04/2011 20:58, spir wrote:
[slightly OT]
Hello,
I'm reading (just for interest) the LLVM Coding Standards at
http://llvm.org/docs/CodingStandards.html. Find them very interesting
because their purposes are clearly explained. Below sample.
Denis
On 04/12/2011 04:06 AM, Daniel Gibson wrote:
Well I'd always use PostgreSQL instead of MySQL when having the choice, but
1. often MySQL needs to be used because it's already there
2. PostgreSQL uses the BSD-License which also isn't suitable for Phobos.
BTW: I think PHP has a native SQL driver
On 2011-04-12 05:19, Jonathan M Davis wrote:
On 04/11/2011 08:13 AM, Jonathan M Davis wrote:
They mix tabs and spaces. On some lines, they use spaces and on others
they use tabs.
Never seen this, not even once. Messing can only happen when one
copy-pastes from modules using spaces.
As Steve
On 04/12/2011 04:18 AM, dsimcha wrote:
On 4/11/2011 9:55 PM, Daniel Gibson wrote:
Doesn't mysql even have some retarded restriction like it's GPL but may
not be used for commercial purposes so buy mysql if you wanna use it to
make money?
According to Wikipedia
On 04/11/2011 09:58 PM, spir wrote:
I'm reading (just for interest) the LLVM Coding Standards at
http://llvm.org/docs/CodingStandards.html. Find them very interesting because
their purposes are clearly explained. Below sample.
I also love their note about naming:
Am 12.04.2011 11:34, schrieb spir:
On 04/12/2011 04:06 AM, Daniel Gibson wrote:
Well I'd always use PostgreSQL instead of MySQL when having the
choice, but
1. often MySQL needs to be used because it's already there
2. PostgreSQL uses the BSD-License which also isn't suitable for Phobos.
On Mon, 11 Apr 2011 18:37:47 -0400, dsimcha wrote:
This message is to formally request a resumption of the review for
std.parallelism [...]
Lars Kyllingstad is the review manager and Andrei is unofficially the
BDFL of Phobos, so both please approve this.
I'd be happy to resume my duties as
spir denis.s...@gmail.com wrote in message
news:mailman.3427.1302601308.4748.digitalmar...@puremagic.com...
On 04/12/2011 04:18 AM, dsimcha wrote:
On 4/11/2011 9:55 PM, Daniel Gibson wrote:
Doesn't mysql even have some retarded restriction like it's GPL but may
not be used for commercial
On 04/12/2011 04:15 AM, dsimcha wrote:
I think 110% that SQLite should be the top priority w.r.t. database stuff.
SQLite bindings and a good D API with some dependency inversion so the
high-level API can be reused with other database backends would be a great GSoC
project, even if nothing
On 04/12/2011 12:31 AM, Spacen Jasset wrote:
I think that people like to follow rules, that is as soon as they have
internalised them and made them their own. What this means is that they often
then follow them to a fault, and you get deeply nested, but structured code,
where instead you would
On 04/12/2011 02:34 AM, Nick Sabalausky wrote:
The last few years though, I've been finding that I *never* have any trouble
grokking code due to early exits or continue (unless the code is already
convoluted anyway). And I've also realized I find code that makes
intelligent use of it to be much
Kagamin wrote:
Kagamin Wrote:
spir Wrote:
There is a point I don't understand: if I'm right, LGPL as well as all other
open source, not strictly free-software, licenses allow using licensed
software even for privative (proprietary) work. But they wouldn't allow using
software for work
dsimcha wrote:
On 4/11/2011 10:01 PM, Daniel Gibson wrote:
Am 02.04.2011 22:03, schrieb Christian Manning:
Hello all,
This is my first draft proposal for a Database API for Google Summer Of
Code. I have never written a document such as this so any and all
feedback is welcome.
Thanks
On 04/12/2011 03:15 AM, Daniel Gibson wrote:
While I am on the subject, I've *always* thought major languages have
poor loop constructs:
(A)
for (;;)
{
std::getline(is, line);
if (line.size() == 0)
break;
...some things...
}
(...)
Instead you
Russel Winder rus...@russel.org.uk wrote in message
news:mailman.3416.1302591172.4748.digitalmar...@puremagic.com...
Personally I find licences such as BSD, MIT, ASL, etc. ones to avoid
since they allow organizations to take software, sell it for profit and
return absolutely nothing to the
Am 12.04.2011 00:31, schrieb Spacen Jasset:
std::getline(is, line);
while (line.size() != 0)
{
...some things...
std::getline(is, line);
}
What's wrong with
while( std::getline(is, line), (line.size() != 0) ) {
//... some things
}
I mean, that's what the comma operator is for.
David Gileadi Wrote:
I have seen editors that would convert a tab to spaces and only
delete one space when hitting backspace ;)
Jerome
Eclipse, I'm looking at you!
Also Visual Studio and I don't see the delete unindents option.
spir denis.s...@gmail.com wrote in message
news:mailman.3420.1302596459.4748.digitalmar...@puremagic.com...
On 04/12/2011 01:47 AM, Nick Sabalausky wrote:
I've always found it best to just avoid any (L)GPL source or library
outright. Not worth the trouble.
What about other ones, like
Am 12.04.2011 12:24, schrieb Nick Sabalausky:
Russel Winder rus...@russel.org.uk wrote in message
news:mailman.3416.1302591172.4748.digitalmar...@puremagic.com...
Personally I find licences such as BSD, MIT, ASL, etc. ones to avoid
since they allow organizations to take software, sell it for
spir denis.s...@gmail.com wrote in message
news:mailman.3421.1302596976.4748.digitalmar...@puremagic.com...
This is complete misinterpretation. *All* free software can be sold.
Technically, yes. Realistically, no. If there's software that's
free-as-in-freedom, then it's inevitably
On 2011-04-12 00:46:18 -0400, Daniel Gibson metalcae...@gmail.com said:
Especially if SDL1.3 really is released under zlib-license and maybe
could be shipped with Phobos.
Any reference for that? The website says LGPL or commercial license.
http://www.libsdl.org/license.php
--
Michel Fortin
Am 12.04.2011 12:55, schrieb Michel Fortin:
On 2011-04-12 00:46:18 -0400, Daniel Gibson metalcae...@gmail.com said:
Especially if SDL1.3 really is released under zlib-license and maybe
could be shipped with Phobos.
Any reference for that? The website says LGPL or commercial license.
On 4/12/2011 7:57 PM, Daniel Gibson wrote:
Am 12.04.2011 12:55, schrieb Michel Fortin:
On 2011-04-12 00:46:18 -0400, Daniel Gibsonmetalcae...@gmail.com said:
Especially if SDL1.3 really is released under zlib-license and maybe
could be shipped with Phobos.
Any reference for that? The
Daniel Gibson metalcae...@gmail.com wrote in message
news:io1als$jsc$1...@digitalmars.com...
Am 12.04.2011 12:24, schrieb Nick Sabalausky:
Russel Winder rus...@russel.org.uk wrote in message
news:mailman.3416.1302591172.4748.digitalmar...@puremagic.com...
Personally I find licences such as
Piotr Szturmaj Wrote:
I also wander, what people plan to do with libmysql? It's GPL.
There's a FOSS license exception for MySQL client library:
http://www.mysql.com/about/legal/licensing/foss-exception/
Boost license is not on the list, but we may ask them to include it.
I believe,
Am 12.04.2011 12:45, schrieb Nick Sabalausky:
spir denis.s...@gmail.com wrote in message
news:mailman.3421.1302596976.4748.digitalmar...@puremagic.com...
This is complete misinterpretation. *All* free software can be sold.
Technically, yes. Realistically, no. If there's software that's
Am 12.04.2011 13:02, schrieb Nick Sabalausky:
Daniel Gibson metalcae...@gmail.com wrote in message
news:io1als$jsc$1...@digitalmars.com...
Am 12.04.2011 12:24, schrieb Nick Sabalausky:
Russel Winder rus...@russel.org.uk wrote in message
On 04/12/2011 06:30 AM, Adam D. Ruppe wrote:
I just dug up my old wav.d and quickly added wav.play() support
to it for both Windows and Linux. Now, this is sucky D1 code,
but hey, it works, and it's short. If there's interest, I can
port to D2 and add some range support to it and see about
Mafi m...@example.org wrote in message
news:io19ar$47h$1...@digitalmars.com...
Am 12.04.2011 00:31, schrieb Spacen Jasset:
std::getline(is, line);
while (line.size() != 0)
{
...some things...
std::getline(is, line);
}
What's wrong with
while( std::getline(is, line),
spir denis.s...@gmail.com wrote in message
news:mailman.3428.1302601845.4748.digitalmar...@puremagic.com...
On 04/11/2011 09:58 PM, spir wrote:
I'm reading (just for interest) the LLVM Coding Standards at
http://llvm.org/docs/CodingStandards.html. Find them very interesting
because
their
Am 12.04.2011 13:10, schrieb spir:
On 04/12/2011 06:30 AM, Adam D. Ruppe wrote:
I just dug up my old wav.d and quickly added wav.play() support
to it for both Windows and Linux. Now, this is sucky D1 code,
but hey, it works, and it's short. If there's interest, I can
port to D2 and add some
Daniel Gibson metalcae...@gmail.com wrote in message
news:io1c0b$jsc$1...@digitalmars.com...
Am 12.04.2011 13:02, schrieb Nick Sabalausky:
Sending out a press release is dirt-cheap. If EvilSoftwareCo is actually
making significant money, then it's very likely that some news outlets
would
Piotr Szturmaj Wrote:
http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol
LOL, take a look at this:
http://forge.mysql.com/w/index.php?title=MySQL_Internals_ClientServer_Protocoldiff=5078oldid=4374
On 2011-04-12 07:18:39 -0400, Daniel Gibson metalcae...@gmail.com said:
Also you shouldn't write directly against OSS or ALSA but use SDL or
OpenAL or libao or ... instead.
The problem with intermediary libraries is that they require work on
the programmer side to work. I think there is
Am 12.04.2011 13:44, schrieb Michel Fortin:
On 2011-04-12 07:18:39 -0400, Daniel Gibson metalcae...@gmail.com said:
Also you shouldn't write directly against OSS or ALSA but use SDL or
OpenAL or libao or ... instead.
The problem with intermediary libraries is that they require work on the
Nick Sabalausky Wrote:
The whole thing's just a damn mess.
I've always found it best to just avoid any (L)GPL source or library
outright. Not worth the trouble.
GPL is pretty simple: write GPL soft and there will be no problem.
Kagamin wrote:
Piotr Szturmaj Wrote:
http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol
LOL, take a look at this:
http://forge.mysql.com/w/index.php?title=MySQL_Internals_ClientServer_Protocoldiff=5078oldid=4374
That's ridiculous. I've just googled for The MySQL Protocol is
This is a yield in method. Nemerle support it too. But Nemerle support
yield inside separate expression.
On 04/12/2011 12:24 PM, Nick Sabalausky wrote:
Russel Winderrus...@russel.org.uk wrote in message
news:mailman.3416.1302591172.4748.digitalmar...@puremagic.com...
Personally I find licences such as BSD, MIT, ASL, etc. ones to avoid
since they allow organizations to take software, sell it for
On 2011-04-12 07:47:48 -0400, Daniel Gibson metalcae...@gmail.com said:
Am 12.04.2011 13:44, schrieb Michel Fortin:
On 2011-04-12 07:18:39 -0400, Daniel Gibson metalcae...@gmail.com said:
Also you shouldn't write directly against OSS or ALSA but use SDL or
OpenAL or libao or ... instead.
On 04/12/2011 01:31 PM, Nick Sabalausky wrote:
And most of all, I really think the chances of getting irreprably screwed
over like that by putting a program out as BSD instead of GPL are small
enough to just not be worth worrying about.
Isn't BSD license also unwelcome into Phobos? (/That/
On 04/12/2011 10:43 AM, Jacob Carlborg wrote:
On 2011-04-12 03:45, Daniel Gibson wrote:
Am 11.04.2011 19:05, schrieb Russel Winder:
On Mon, 2011-04-11 at 15:39 +, Adam D. Ruppe wrote:
[ . . . ]
fine, but a standard library is distributed with D programs. LGPL
requires you to send source
Am 12.04.2011 14:40, schrieb Michel Fortin:
On 2011-04-12 07:47:48 -0400, Daniel Gibson metalcae...@gmail.com said:
Am 12.04.2011 13:44, schrieb Michel Fortin:
On 2011-04-12 07:18:39 -0400, Daniel Gibson metalcae...@gmail.com
said:
Also you shouldn't write directly against OSS or ALSA but
On 04/12/2011 12:45 PM, Nick Sabalausky wrote:
(depending, of course, on the incomprehensible details of the
GPL)
GPL is just one sample.
And I don't get your insistance on incomprehensible details: as if you did
not know *all* devices and all commercial software you have ever bought come
Am 12.04.2011 14:49, schrieb spir:
On 04/12/2011 10:43 AM, Jacob Carlborg wrote:
On 2011-04-12 03:45, Daniel Gibson wrote:
Am 11.04.2011 19:05, schrieb Russel Winder:
On Mon, 2011-04-11 at 15:39 +, Adam D. Ruppe wrote:
[ . . . ]
fine, but a standard library is distributed with D
On 2011-04-12 00:37, dsimcha wrote:
This message is to formally request a resumption of the review for
std.parallelism, now that Jacob has submitted a pull request for
std.net.isemail and GSoC proposals aren't taking up most of the
community's attention. I suggest one additional week of review,
On 04/12/2011 11:55 AM, Daniel Gibson wrote:
Am 12.04.2011 11:34, schrieb spir:
On 04/12/2011 04:06 AM, Daniel Gibson wrote:
Well I'd always use PostgreSQL instead of MySQL when having the
choice, but
1. often MySQL needs to be used because it's already there
2. PostgreSQL uses the BSD-License
On 04/12/2011 03:02 PM, Daniel Gibson wrote:
D is not a Linux/FOSS-only language, but also to be used on Windows and
for proprietary software. And especially for Windows it's common to
distribute software (especially freeware and shareware ) just as the
self-contained binary.
Windows apps have
== Quote from Jacob Carlborg (d...@me.com)'s article
On 2011-04-12 00:37, dsimcha wrote:
This message is to formally request a resumption of the review for
std.parallelism, now that Jacob has submitted a pull request for
std.net.isemail and GSoC proposals aren't taking up most of the
For my personal libs/programs I fully agree with spir:
1) attribution is a very light burden
2) it is nice, and somehow the right thing to do
3) it gives back at least a bit of advertisement to the stuff *you can
use freely*
For those reasons I did release blip with an apache 2.0 license, by
On 4/12/11 5:07 AM, Lars T. Kyllingstad wrote:
On Mon, 11 Apr 2011 18:37:47 -0400, dsimcha wrote:
This message is to formally request a resumption of the review for
std.parallelism [...]
Lars Kyllingstad is the review manager and Andrei is unofficially the
BDFL of Phobos, so both please
On Mon, 11 Apr 2011 16:17:29 -0400, Jonas Drewsen jdrew...@nospam.com
wrote:
On 11/04/11 22.01, Steven Schveighoffer wrote:
On Mon, 11 Apr 2011 13:05:24 -0400, Russel Winder rus...@russel.org.uk
wrote:
On Mon, 2011-04-11 at 15:39 +, Adam D. Ruppe wrote:
[ . . . ]
fine, but a standard
On Tue, 12 Apr 2011 04:20:44 -0400, spir denis.s...@gmail.com wrote:
On 04/12/2011 01:47 AM, Nick Sabalausky wrote:
Jonas Drewsenjdrew...@nospam.com wrote in message
news:invnrn$2pgf$1...@digitalmars.com...
On 11/04/11 22.01, Steven Schveighoffer wrote:
On Mon, 11 Apr 2011 13:05:24 -0400,
On Tue, 12 Apr 2011 09:46:24 -0400, spir denis.s...@gmail.com wrote:
On 04/12/2011 03:02 PM, Daniel Gibson wrote:
D is not a Linux/FOSS-only language, but also to be used on Windows and
for proprietary software. And especially for Windows it's common to
distribute software (especially freeware
Hi,
about early breaks/returns, it seems that might answer to a similar question
is widely aproved, some maybe it's of interest :
http://programmers.stackexchange.com/questions/58237/are-break-and-continue-bad-programming-practices/58253#58253
(about early breaks/return/continue)
When used at
On Mon, 11 Apr 2011 17:27:41 -0400, bearophile bearophileh...@lycos.com
wrote:
From what I am seeing, in a D2 program if I have many (tens or more)
pure functions that call to each other, and I want to add (or activate)
a printf/writeln inside one (or few) of those functions to debug it, I
On 4/12/11 1:12 AM, spir wrote:
On 04/12/2011 04:05 AM, Nick Sabalausky wrote:
As more and more D2 functions become pure in my code and in Phobos,
something like a -disablepure compiler switch (and printf/writeln
inside
debug{}) may allow more handy debugging with prints (if the purity
is
What he said.
Sent from my iPhone
On Apr 12, 2011, at 12:53 AM, Don nos...@nospam.com wrote:
dsimcha wrote:
This message is to formally request a resumption of the review for
std.parallelism, now that Jacob has submitted a pull request for
std.net.isemail and GSoC proposals aren't taking
On 04/12/2011 04:01 PM, Fawzi Mohamed wrote:
For my personal libs/programs I fully agree with spir:
1) attribution is a very light burden
2) it is nice, and somehow the right thing to do
3) it gives back at least a bit of advertisement to the stuff *you can use
freely*
For those reasons I did
David Gileadi:
I'm not a day-to-day D programmer but it's seemed to me for a while that
having a print/log function that would work in normal code, in pure code
and in CTFE would be extremely useful.
Vote, if you like :-) This asks for something minimal, a way to print strings
at
Recently, I have been playing around with a little units of measurement
system in D. As this topic has already been brought up quite a number of
times here, I thought I would put my implementation up for discussion here.
When this topic came up previously, it has been proposed to include
On 4/12/2011 8:03 AM, Steven Schveighoffer wrote:
use C linkage, you can do whatever you want. It's how druntime accomplishes a
lot of stuff.
For example:
puredebug.d:
import std.stdio;
extern(C) void pureprint(string[] values...)
{
write([pure debug] );
foreach(value; values)
write(value);
Jérôme M. Berger wrote:
Nick Sabalausky wrote:
Andrej Mitrovic andrej.mitrov...@gmail.com wrote in message
news:mailman.3396.1302548836.4748.digitalmar...@puremagic.com...
Smart editors also allow you to unindent with a single backspace
regardless if you're using tabs or spaces.
In other
Nick Sabalausky wrote:
teo teo.ubu...@yahoo.com wrote in message
news:io00gq$5rc$1...@digitalmars.com...
On Fri, 08 Apr 2011 20:26:07 +, Adam D. Ruppe wrote:
We discussed this first in the GUI library thread, but since it
meandered so much, I decided to split off into a new subject.
spir wrote:
On 04/12/2011 07:13 AM, Jonathan M Davis wrote:
It's true that people occasionally end up inserting tabs in space-only
environments, but in my experience, it's fairly rare. It's pretty much a
guarantee, however, that _someone_ will insert spaces in an
environment where
it's
spir wrote:
In addition to those main reasons, they have a few nice side-effects:
* No indent width issue (!),
True
* 1 tab -- 1 indent level conceptually,
True
* deletion is 1 key press, even with stupid editors.
False, not with some *really* stupid editors I have
Andrew Wiley wrote:
The Java world likes ASL precisely because software licensed under it
can be sold.
Note that both GPL and LGPL allow you to sell the software...
Jerome
--
mailto:jeber...@free.fr
http://jeberger.free.fr
Jabber: jeber...@jabber.fr
signature.asc
Steven Schveighoffer wrote:
This, BTW, is why BSD is not acceptable for Phobos.
The requirement to put the license in the documentation (even if you
distribute binary-only) is no good.
Have you looked at the license agreement for most Microsoft
products? or most major video games?
Daniel Gibson wrote:
Especially if SDL1.3 really is released under zlib-license and maybe
could be shipped with Phobos.
SDL 1.3 looks quite nice, but it's going to be several months
until it's stable release.
It won't be difficult to add an SDL implementation to my same
interface down the
On 4/12/11, Jérôme M. Berger jeber...@free.fr wrote:
Andrew Wiley wrote:
The Java world likes ASL precisely because software licensed under it
can be sold.
Note that both GPL and LGPL allow you to sell the software...
Practically this means you can sell services. And not everyone is
Daniel Gibson wrote:
Am 12.04.2011 12:45, schrieb Nick Sabalausky:
Actually, because of that, I could likely be enticed by an (L)GPL-like
license if it was actually readable like zlib, BSD, or MIT, and easier for
users/developers to comply with.
Even though the GPL isn't easy to read I
Am 12.04.2011 20:11, schrieb Jérôme M. Berger:
Daniel Gibson wrote:
Am 12.04.2011 12:45, schrieb Nick Sabalausky:
Actually, because of that, I could likely be enticed by an (L)GPL-like
license if it was actually readable like zlib, BSD, or MIT, and easier for
users/developers to comply
spir wrote:
On 04/12/2011 04:18 AM, dsimcha wrote:
On 4/11/2011 9:55 PM, Daniel Gibson wrote:
Doesn't mysql even have some retarded restriction like it's GPL but may
not be used for commercial purposes so buy mysql if you wanna use it to
make money?
According to Wikipedia
== Quote from Andrei Alexandrescu (seewebsiteforem...@erdani.org)'s article
On 4/12/11 5:07 AM, Lars T. Kyllingstad wrote:
On Mon, 11 Apr 2011 18:37:47 -0400, dsimcha wrote:
This message is to formally request a resumption of the review for
std.parallelism [...]
Lars Kyllingstad is
On Tue, 12 Apr 2011 13:54:19 -0400, Jérôme M. Berger jeber...@free.fr
wrote:
Steven Schveighoffer wrote:
This, BTW, is why BSD is not acceptable for Phobos.
The requirement to put the license in the documentation (even if you
distribute binary-only) is no good.
Have you looked at
On Tue, 12 Apr 2011 13:18:30 -0400, Walter Bright
newshou...@digitalmars.com wrote:
On 4/12/2011 8:03 AM, Steven Schveighoffer wrote:
use C linkage, you can do whatever you want. It's how druntime
accomplishes a
lot of stuff.
For example:
puredebug.d:
import std.stdio;
extern(C) void
Steven Schveighoffer schvei...@yahoo.com wrote in message
news:op.vttw2bybeav7ka@steve-laptop...
This, BTW, is why BSD is not acceptable for Phobos. The requirement to
put the license in the documentation (even if you distribute binary-only)
is no good. Yes, people have said that you can
1 - 100 of 160 matches
Mail list logo