Andrei Alexandrescu Wrote:
http://d-p-l.org
Andrei
http://www.d-programming-language.org/phobos/index.html
Google translation tool bar is missing
On 06-12-2011 02:46, Trass3r wrote:
Why is D1 still the default?
Because this is the first release where I felt D2 was capable of being
the default and I forgot about it until writing the post. It also
requires some reworking of the changes that enable dual compilers.
but why is there a zip
On 06-12-2011 07:06, alex wrote:
1) Code completion can be enabled via adding phobos library paths etc. to the
compiler configuration(s). There's a tutorial how to do this in the 'Getting
Started' section of the project site.
That did the trick, thanks!
2) You can add per-project (both
On 05-12-2011 20:35, alex wrote:
Hi everyone,
I just want to announce the first alpha release of Mono-D.
FYI, Mono-D is a MonoDevelop AddIn which provides code completion/refactoring
features and project management for D.
So, you'll be able to enjoy comfort-features also on non-windows
Sorry, but it's not implemented yet.
Good work.
Tested on Ubuntu 64bit with Monodevelop 2.8 compiled from source.
Works fine and it's very responsive (code completion is too responsive!)
Bug: syntax highlight for test works but not for `test`
alex Wrote:
Hi everyone,
I just want to announce the first alpha release of
On 12/6/11 12:19 AM, Nick Sabalausky wrote:
Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message
news:jbka3d$2r2m$2...@digitalmars.com...
http://d-p-l.org
Nice, but a little reminder that the See Example links are still totally
broken without JS. Should be easy to fix. May want
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message
news:jblir0$20cv$3...@digitalmars.com...
On 12/6/11 12:19 AM, Nick Sabalausky wrote:
Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in message
news:jbka3d$2r2m$2...@digitalmars.com...
http://d-p-l.org
Nice, but a
Nick Sabalausky a@a.a wrote in message
news:jblp89$2blv$1...@digitalmars.com...
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message
news:jblir0$20cv$3...@digitalmars.com...
On 12/6/11 12:19 AM, Nick Sabalausky wrote:
Andrei Alexandrescuseewebsiteforem...@erdani.org wrote in
Don:
Right. But it's hard to come up with high-priority language issues these days.
The old ones have been fixed. g.
There are several things that I'd like to see fixed/improved in D still. In
particular there are two holes from C language that have no place in D, I mean
code like:
x = x++;
On 12/6/11, Jacob Carlborg d...@me.com wrote:
Doesn't sound very effective.
I don't know what that bubbling is all about. You can easily intercept
a signal to a child window via std.signals, in Qt this would be
installing an event filter of some sort. So sink/bubble seems
unnecessary.
The
Am 05.12.2011 18:56, schrieb Nick Sabalausky:
In that project, Haxe's ability to compile the same code, in the same
language, down to both server-side (PHP) and client-side (Flash8) has been
an *enormous* benefit. Just that one ability alone, even without the fact
that Haxe beats the snot
On 12/06/2011 09:37 AM, bearophile wrote:
Don:
Right. But it's hard to come up with high-priority language issues these days. The old
ones have been fixed.g.
There are several things that I'd like to see fixed/improved in D still. In
particular there are two holes from C language that have
On 12/6/11, Adam Wilson flybo...@gmail.com wrote:
No worries, had to ask. Thanks for the link though, it looks promising. :-)
Listen, if you ever need help I'm in #d, nickname drey_. I think we
talked before. It's never a bad idea to exchange ideas, so I'll be
there.
Manu:
but I don't believe I'm alone.. the rest
of the gamedev community will find D soon enough if the language gets it
right...
I think games are one of the most important short-term purposes of D,
despite I think D was not explicitly designed to write games.
I agree, it certainly
On 6 December 2011 10:27, Manu turkey...@gmail.com wrote:
Manu:
but I don't believe I'm alone.. the rest
of the gamedev community will find D soon enough if the language gets it
right...
I think games are one of the most important short-term purposes of D,
despite I think D was not
Cheers, I'll do that! I've still had nothing but trouble getting cygwin to
build the mips toolchain we were experimenting with. I don't know enough
about GCC and making it work _.
Although ideally a binary distribution would probably want to be
mingw/msys based.
On 6 December 2011 14:23, Iain
On 12/5/11 11:55 PM, Andrew Wiley wrote:
On Sun, Dec 4, 2011 at 9:12 PM, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 12/4/11 4:32 PM, Andrew Wiley wrote:
In that case, no object copying is occurring, and I have message
passing for immutable objects working, although my
Adrian adrian.remove-nos...@veith-system.de wrote in message
news:jbkkpf$cut$1...@digitalmars.com...
Am 05.12.2011 18:56, schrieb Nick Sabalausky:
In that project, Haxe's ability to compile the same code, in the same
language, down to both server-side (PHP) and client-side (Flash8) has
been
On 12/6/11 1:20 AM, Walter Bright wrote:
On 12/5/2011 10:52 PM, Don wrote:
On 06.12.2011 05:15, Walter Bright wrote:
On 12/5/2011 8:10 PM, bearophile wrote:
This is not about integers but yeah, I'd like the better str- float
conversions of Python in D too.
Do you have any test data that
On 12/6/11 1:16 AM, Walter Bright wrote:
On 12/5/2011 8:48 PM, Andrei Alexandrescu wrote:
On 12/5/11 10:15 PM, Walter Bright wrote:
On 12/5/2011 8:10 PM, bearophile wrote:
This is not about integers but yeah, I'd like the better str- float
conversions of Python in D too.
Do you have any
On 12/6/2011 9:11 AM, Andrei Alexandrescu wrote:
On 12/6/11 1:16 AM, Walter Bright wrote:
On 12/5/2011 8:48 PM, Andrei Alexandrescu wrote:
On 12/5/11 10:15 PM, Walter Bright wrote:
Darn, licensing problems:
Redistributions in binary form must reproduce the above copyright
notice, this list
On 12/6/2011 9:14 AM, Andrei Alexandrescu wrote:
Translating dtoa.c to D and making sure it works during compilation sounds like
a great project. People who want to help D in any way, please take notice :o).
Sadly, despite dtoa.c's wide use, there doesn't appear to be a test suite for
it. I
On 12/6/11 6:14 PM, Andrei Alexandrescu wrote:
On 12/6/11 1:20 AM, Walter Bright wrote:
(Python's implementation currently uses David Gay's dtoa.c)
Translating dtoa.c to D and making sure it works during compilation
sounds like a great project. People who want to help D in any way,
please
SCons is a Python-based build tool to replace Make and much of the
Autotools functionality. It has D support as part of the core. This
support is though in need of development.
The new Mercurial/BitBucket infrastructure for developing SCons
(replacing the old Subversion/Tigris set up) is now in
Nick Sabalausky a@a.a wrote in message
news:jblhn8$1vis$1...@digitalmars.com...
Adrian adrian.remove-nos...@veith-system.de wrote in message
news:jbkkpf$cut$1...@digitalmars.com...
Am 05.12.2011 18:56, schrieb Nick Sabalausky:
Why did I write the whole thing from scratch in D as a separate
On Tue, 06 Dec 2011 01:31:45 -0800, Andrej Mitrovic
andrej.mitrov...@gmail.com wrote:
On 12/6/11, Adam Wilson flybo...@gmail.com wrote:
No worries, had to ask. Thanks for the link though, it looks promising.
:-)
Listen, if you ever need help I'm in #d, nickname drey_. I think we
talked
On Tue, 06 Dec 2011 00:48:44 -0800, Andrej Mitrovic
andrej.mitrov...@gmail.com wrote:
On 12/6/11, Jacob Carlborg d...@me.com wrote:
Doesn't sound very effective.
I don't know what that bubbling is all about. You can easily intercept
a signal to a child window via std.signals, in Qt this
On Wed, 07 Dec 2011 04:11:40 +1100, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 12/6/11 1:16 AM, Walter Bright wrote:
On 12/5/2011 8:48 PM, Andrei Alexandrescu wrote:
On 12/5/11 10:15 PM, Walter Bright wrote:
On 12/5/2011 8:10 PM, bearophile wrote:
This is not about
Is anyone else other than me interested in using SCons as a build tool
with D code? If there is, perhaps we can collaborate in some way to
progress SCons support for all the various realizations of D?
I am interested. SCons is my build tool of choice (for C/C++),a lthough
I also use fbuild
I posted this on D.learn, but got no responses. I'm hoping it's because
I'm asking the wrong crowd.
I'm finding std.json extremely well written, with one glaring exception.
I can't seem to figure out how to do this:
JSONValue root = JSONValue(null, JSON_TYPE.OBJECT);
root.object[first_object]
I could swear I replied in the other group... must have gotten lost in the
series of tubes.
Anyway, I think std.json is easiest to use with a little template wrapper
instead
of making JSONValues directly.
Try this on for size:
=
import std.json;
import std.conv;
import std.traits;
Adam D. Ruppe Wrote:
val.object[name] = toJsonValue!(typeof(member),
R)(member, formatToStringAs, api);
Whoops, that should have been
val.object[name] = toJsonValue(member);
(I copy pasted this out of my web.d module, which can
On 12/06/2011 02:42 PM, Adam D. Ruppe wrote:
I could swear I replied in the other group... must have gotten lost in the
series of tubes.
Anyway, I think std.json is easiest to use with a little template wrapper
instead
of making JSONValues directly.
Try this on for size:
=
import
Kai Meyer Wrote:
I like it. Any reason something like this doesn't already exist in std.json?
I think it's just that nobody has done updates to std.json for a while, but
I don't really know.
On Tuesday, December 06, 2011 18:26:39 Adam D. Ruppe wrote:
Kai Meyer Wrote:
I like it. Any reason something like this doesn't already exist in
std.json?
I think it's just that nobody has done updates to std.json for a while, but
I don't really know.
I believe that Robert Jacques has a
I have an updated and win32-compilable version of CDGC in a branch. It's
missing some features from the current GC though (it's based on the Tango GC
which has remained relatively static for the past years while druntime's GC has
improved).
Sent from my iPhone
On Dec 5, 2011, at 3:39 PM,
No. Message-passing allocates a block of memory to transport the message. Even
with a free-list there may be an occasional allocation. I could look into using
an array instead of a linked list, but that would mean memmoves. In receive.
Sent from my iPhone
On Dec 5, 2011, at 12:40 PM, Tobias
On 12/6/11 8:11 PM, Sean Kelly wrote:
No. Message-passing allocates a block of memory to transport the message. Even
with a free-list there may be an occasional allocation. I could look into using
an array instead of a linked list, but that would mean memmoves. In receive.
Sent from my iPhone
On Tue, 06 Dec 2011 19:15:26 -0500, Jonathan M Davis jmdavisp...@gmx.com
wrote:
On Tuesday, December 06, 2011 18:26:39 Adam D. Ruppe wrote:
Kai Meyer Wrote:
I like it. Any reason something like this doesn't already exist in
std.json?
I think it's just that nobody has done updates to std.json
On 12/06/2011 09:49 AM, Walter Bright wrote:
On 12/6/2011 9:14 AM, Andrei Alexandrescu wrote:
Translating dtoa.c to D and making sure it works during compilation
sounds like
a great project. People who want to help D in any way, please take
notice :o).
Sadly, despite dtoa.c's wide use, there
Robert Jacques;
I like your modules a lot. I'm sure it will be a bit of a pain to integrate
it into my existing codebase, but they look like it'd be worth it!
On 12/05/2011 11:20 PM, Don wrote:
On 06.12.2011 05:21, bcs wrote:
On 12/05/2011 08:37 AM, Don wrote:
On 05.12.2011 14:31, bearophile wrote:
Found through Reddit, two blog posts about how integers should behave
in system languages (with hardware support):
http://blog.regehr.org/archives/641
On 12/6/11, Adam Wilson flybo...@gmail.com wrote:
My goal for the project is what you would term non-native in that it does
not make use of the OS widgets; however the plan is to provide native
looking skins for the widgets.
That's what the theming API is for on Windows. OSX might have
int z = 0;
int foo(int x, int y) { return x + y; }
int bar(int x) { z++; return x * x + z; }
int baz(int x) { z--; return 2 * x + z; }
int main() {
int w = foo(bar(5), baz(3));
return w;
}
See also:
http://en.wikipedia.org/wiki/Sequence_point
I think ',' in parameter lists are already
On 07.12.2011 05:11, bcs wrote:
On 12/05/2011 11:20 PM, Don wrote:
On 06.12.2011 05:21, bcs wrote:
On 12/05/2011 08:37 AM, Don wrote:
On 05.12.2011 14:31, bearophile wrote:
Found through Reddit, two blog posts about how integers should behave
in system languages (with hardware support):
Is D associative array thread safe, and will it relocate memory when
add or delete a value?
Where I can find the implemention.
http://d.puremagic.com/issues/show_bug.cgi?id=7045
--- Comment #4 from Trass3r mrmoc...@gmx.de 2011-12-06 03:14:54 PST ---
btw, isn't this a regression?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=7045
--- Comment #5 from Trass3r mrmoc...@gmx.de 2011-12-06 04:06:55 PST ---
Seems like it was fixed in the meantime.
http://www.mail-archive.com/digitalmars-d@puremagic.com/msg70809.html
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=7070
Summary: can't assign null to Variant
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: regression
http://d.puremagic.com/issues/show_bug.cgi?id=7071
Summary: final: shouldn't affect variables
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: minor
http://d.puremagic.com/issues/show_bug.cgi?id=7071
Vladimir Panteleev thecybersha...@gmail.com changed:
What|Removed |Added
Keywords|rejects-valid |
http://d.puremagic.com/issues/show_bug.cgi?id=7072
Summary: [2.057 Beta] Assertion failure: '0' on line 145 in
file 'mtype.c'
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=7073
Summary: Parsing of class-returning varargs function inside
module ctor fails
Product: D
Version: D1 D2
Platform: All
OS/Version: All
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=7073
--- Comment #1 from Alex R�nne Petersen xtzgzo...@gmail.com 2011-12-06
07:07:37 PST ---
(In reply to comment #0)
Code:
class A
{
}
static this()
{
A foo(A[] a ...)
{
return new A();
}
}
Errors:
http://d.puremagic.com/issues/show_bug.cgi?id=7067
--- Comment #4 from Andrei Alexandrescu and...@metalanguage.com 2011-12-06
07:53:28 PST ---
Turn random generators into final classes?
We have backward compatibility to worry about.
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=7067
--- Comment #5 from Vladimir Panteleev thecybersha...@gmail.com 2011-12-06
08:04:49 PST ---
The disadvantages of breaking backwards compatibility need to be considered on
a case-by-case basis. I think that turning RNGs into reference types has
http://d.puremagic.com/issues/show_bug.cgi?id=7067
--- Comment #6 from bearophile_h...@eml.cc 2011-12-06 09:49:20 PST ---
(In reply to comment #5)
The biggest problem is intentional usage of value semantics (it would
transparently turn into reference semantics).
I suggest to ignore such
http://d.puremagic.com/issues/show_bug.cgi?id=7074
Summary: std.concurrency.receive segfaults when called from new
thread
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=7040
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=7072
--- Comment #1 from David Simcha dsim...@yahoo.com 2011-12-06 15:56:46 PST ---
I didn't realize the significance of this until I looked at the source code to
mtype.c, but there's actually a line before the assertion failure line. The
full
http://d.puremagic.com/issues/show_bug.cgi?id=7069
Rob Jacques sandf...@jhu.edu changed:
What|Removed |Added
CC||sandf...@jhu.edu
---
http://d.puremagic.com/issues/show_bug.cgi?id=6969
--- Comment #2 from Nick Sabalausky cbkbbej...@mailinator.com 2011-12-06
16:57:34 PST ---
I'm not very familiar with DMD's internals wrt semantics, but from what I can
tell so far, the problem may have to do with a certain section near the end
http://d.puremagic.com/issues/show_bug.cgi?id=6969
--- Comment #3 from Nick Sabalausky cbkbbej...@mailinator.com 2011-12-06
16:59:05 PST ---
*Ahem*:
That call to semantic2 is *IN* the call stack...
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=7072
--- Comment #2 from David Simcha dsim...@yahoo.com 2011-12-06 17:33:24 PST ---
Unbelievably simple test case after about 1.5 hours of recursively reducing
SciD code:
struct S
{
this(A)(A args) { }
}
void main() {
auto s = S( null );
}
http://d.puremagic.com/issues/show_bug.cgi?id=7035
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=7035
--- Comment #2 from Jonathan M Davis jmdavisp...@gmx.com 2011-12-06 20:08:24
PST ---
Ah. I guess that you mean in the zip file. You need to be more specific. Not
only did you not specificy _which_ documentation had the issue, but you didn't
http://d.puremagic.com/issues/show_bug.cgi?id=7075
Summary: Struct class comparison should check opAssign for
class
Product: D
Version: D2
Platform: Other
OS/Version: Other
Status: NEW
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=7075
Jesse Phillips jesse.k.phillip...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=7076
Summary: _d_throwc silently continues execution on failure
Product: D
Version: D2
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=7072
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=7001
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=7072
--- Comment #4 from Walter Bright bugzi...@digitalmars.com 2011-12-06
21:09:06 PST ---
https://github.com/D-Programming-Language/dmd/commit/0a20f8f170cbcbf3f3fd6971b339e8d82d311a1c
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=7001
--- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2011-12-06
23:00:04 PST ---
(In reply to comment #2)
and since directory separators
are invalid in both directory and file names
Why are they invalid in directory names?
--
http://d.puremagic.com/issues/show_bug.cgi?id=7001
--- Comment #4 from Jonathan M Davis jmdavisp...@gmx.com 2011-12-06 23:14:01
PST ---
If you have /dir or dir/, the name of the directory is dir, not /dir, or dir/.
It is illegal on Posix systems to have a directory name with / in it, just like
75 matches
Mail list logo