On 17/09/2009 06:43, Nick Sabalausky wrote:
Justin Johanssonproc...@adam-dott-com.au wrote in message
news:h8ruu1$1qp...@digitalmars.com...
Being somewhat of a fan of Elliotte Rusty Harold, I drop in for a coffee
read at his cafes from time to time. I think D people will enjoy this
December
Rainer Deyke wrote:
Don wrote:
Ah. The important thing that makes this work is that the global FP state
has a clearly defined default. (round-to-nearest, full precision, no
floating point exceptions enabled). Part of the implicit contract of
calling a 'memoisable pure' function is that the
Nick Sabalausky wrote:
Justin Johansson proc...@adam-dott-com.au wrote in message
news:h8ruu1$1qp...@digitalmars.com...
Being somewhat of a fan of Elliotte Rusty Harold, I drop in for a coffee
read at his cafes from time to time. I think D people will enjoy this
December 2008 article with
Tom S wrote:
Personally I'm of the opinion that functions should
be explicitly marked for CTFE, and this is just another reason for such.
I'm using a patched DMD with added pragma(ctfe) which instructs the
compiler not to run any codegen or generate debug info
functions/aggregates marked as
Tom S wrote:
When building my second largest project, DMD eats up about 1.2GB of
memory and dies (even without -g). Luckily, xfBuild allows me to set the
limit of modules to be compiled at a time, so when I cap it to 200, it
compiled... but didn't link :( Somewhere in the process a library is
Google labs are thinking about another language that runs on the JavaVM, named
Noop, A testable programming language:
http://code.google.com/p/noop/
It has no subclassing, no primitives, and by default variables (references) are
final not null. It uses properties by default.
More details:
Nick Sabalausky wrote:
Justin Johansson proc...@adam-dott-com.au wrote in message
news:h8ruu1$1qp...@digitalmars.com...
Being somewhat of a fan of Elliotte Rusty Harold, I drop in for a coffee
read at his cafes from time to time. I think D people will enjoy this
December 2008 article
Justin Johansson:
But what if xs contains no numbers i.e. xs = (), the empty list? What should
max( xs) return in the way of a meaningful result short of throwing an
exception?
In both Python and my dlibs it throws an exception.
An elegant solution to this problem is to specify the max
Wed, 16 Sep 2009 12:41:06 +0200, Fawzi Mohamed thusly wrote:
On 2009-09-16 02:40:02 +0200, Justin Johansson
proc...@adam-dott-com.au said:
A colleague of mine is suggesting that I really do take a closer look
at D2 now but I'm not sure that I'm ready to go standing on the
bleading bleading
bearophile Wrote:
Justin Johansson:
The important point in this solution is realizing a type system that treats
a list of zero_or_one numbers, a list of zero numbers, a list of
zero_or_more numbers, etc, as distinct types.
I don't understand the correlation from this last part and what
making primitives full objects is the right design and has nothing to do
with bloat which just means the implementation sucks.
consider:
struct Integer(int bits, signed = true) {...}
with specializations for 8, 16, 32, 64
Integer!(32) will have the same size as an int since structs
language_fan wrote:
Wed, 16 Sep 2009 12:41:06 +0200, Fawzi Mohamed thusly wrote:
On 2009-09-16 02:40:02 +0200, Justin Johansson
proc...@adam-dott-com.au said:
A colleague of mine is suggesting that I really do take a closer look
at D2 now but I'm not sure that I'm ready to go standing
language_fan wrote:
Wed, 16 Sep 2009 12:41:06 +0200, Fawzi Mohamed thusly wrote:
On 2009-09-16 02:40:02 +0200, Justin Johansson
proc...@adam-dott-com.au said:
A colleague of mine is suggesting that I really do take a closer look
at D2 now but I'm not sure that I'm ready to go standing on
Daniel Keep wrote:
language_fan wrote:
Wed, 16 Sep 2009 12:41:06 +0200, Fawzi Mohamed thusly wrote:
On 2009-09-16 02:40:02 +0200, Justin Johansson
proc...@adam-dott-com.au said:
A colleague of mine is suggesting that I really do take a closer look
at D2 now but I'm not sure that I'm ready
Thu, 17 Sep 2009 09:46:01 -0500, Andrei Alexandrescu wrote:
language_fan wrote:
Do the various variant structures presented here support recursive type
definitions such as lists? Is this done efficiently?
In Phobos' Algebraic, if you mention the type This inside the allowed
types list, it
simon wrote:
Was just wondering if there were plans to create a Snow Leopard build of D
2.0?
I'd be very interested in an answer to this, too. Even something vague
would be OK for me.
Urban
On 17/09/2009 14:44, downs wrote:
Nick Sabalausky wrote:
Justin Johanssonproc...@adam-dott-com.au wrote in message
news:h8ruu1$1qp...@digitalmars.com...
Being somewhat of a fan of Elliotte Rusty Harold, I drop in for a
coffee read at his cafes from time to time. I think D people
will enjoy
Yigal Chripun wrote:
On 17/09/2009 16:15, Justin Johansson wrote:
making primitives full objects is the right design and has nothing to do
with bloat which just means the implementation sucks.
consider:
struct Integer(int bits, signed = true) {...}
with specializations for 8, 16, 32, 64
Andrei Alexandrescu Wrote:
I have big plans with Variant - I want to make it (or a related type)
the variable type common in dynamic languages, with flexibility, dynamic
invocation using common syntax, the works. So if you write a short
script and want dynamic typing, you should be able to
Do you guys think it might be an idea to fork the thread?
Subject say Syntactic sugar and OOP
JJ
Lutger Wrote:
Yigal Chripun wrote:
On 17/09/2009 16:15, Justin Johansson wrote:
making primitives full objects is the right design and has nothing to do
with bloat which just means the
Op Thu, 17 Sep 2009 16:56:41 +0200 schreef Andrei Alexandrescu
seewebsiteforem...@erdani.org:
I have big plans with Variant - I want to make it (or a related type)
the variable type common in dynamic languages, with flexibility, dynamic
invocation using common syntax, the works. So if you
Urban Hafner wrote:
simon wrote:
Was just wondering if there were plans to create a Snow Leopard build of D 2.0?
I'd be very interested in an answer to this, too. Even something vague
would be OK for me.
Urban
From the dmd 1.047 2.032 release announcement: This will probably
be the last
Walter Bright wrote:
Tom S wrote:
Personally I'm of the opinion that functions should be explicitly
marked for CTFE, and this is just another reason for such. I'm using a
patched DMD with added pragma(ctfe) which instructs the compiler not
to run any codegen or generate debug info
Walter Bright wrote:
Tom S wrote:
When building my second largest project, DMD eats up about 1.2GB of
memory and dies (even without -g). Luckily, xfBuild allows me to set
the limit of modules to be compiled at a time, so when I cap it to
200, it compiled... but didn't link :( Somewhere in the
Tom S wrote:
Walter Bright wrote:
Tom S wrote:
Personally I'm of the opinion that functions should be explicitly
marked for CTFE, and this is just another reason for such. I'm using
a patched DMD with added pragma(ctfe) which instructs the compiler
not to run any codegen or generate debug
I just wanted you to know that i built dwt-linux (from the repository)
with ldc, just a few small changes were made:
hg diff -U0
diff -r 5f6d9bb33a53 dsss.conf
--- a/dsss.conf Sat Apr 04 21:38:37 2009 +0200
+++ b/dsss.conf Thu Sep 17 16:19:06 2009 +0200
@@ -3,1 +3,1 @@
-buildflags+=-Jres
Thats good news. How long was the compile time? How big the executable?
notna wrote:
Stewart Gordon schrieb:
The .ptr is necessary, but the cast(uint) isn't. Even if a change of
type were necessary, just 1U would do. (U is a suffix meaning
unsigned. There's also L meaning long.)
Stewart.
Thank Stewart.
As the std.md5-example is not working with unicode
Stewart Gordon wrote:
downs wrote:
snip
while (auto len = file.readBlock(buffer.ptr, buffer.sizeof))
snip
md5_example_2.d(7): expression expected, not 'auto'
md5_example_2.d(7): found 'len' when expecting ')'
md5_example_2.d(7): found '=' instead of statement
(this is line 7 after I
I understand a bitarray being faster than a boolean array as the first uses
bitwise (hardware) operators.
Is this a correct understanding of the situation?
Why then is a boolean array not implemented in that way?
I expect there to be a good reason which I just don't know.
I'd like to be able to
Don Wrote:
If D2 -- I haven't been able to get D2 DLLs to work at all. They just
crash during the initialization (something to do with initialising the
thread-locals, I think, but I haven't been able to track it down
completely).
Hi,
I've recently been having a go at writing a COM object
Hello Saaa,
I understand a bitarray being faster than a boolean array as the first
uses
bitwise (hardware) operators.
Is this a correct understanding of the situation?
Why then is a boolean array not implemented in that way?
Because you can't slice a bit array the same way you can slice a int
Does the tango build by any chance set any distinguishing predefined
version identifiers?
http://d.puremagic.com/issues/show_bug.cgi?id=3321
Ary Borenszweig a...@esperanto.org.ar changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=3324
Summary: d1: std.md5: given example not working
Product: D
Version: 1.042
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=3321
--- Comment #3 from Ellery Newcomer ellery-newco...@utulsa.edu 2009-09-17
07:44:38 PDT ---
(In reply to comment #2)
Yes, that's normal behaviour.
According to whom? The C preprocessor?
When I read the spec, I came away with the impression
http://d.puremagic.com/issues/show_bug.cgi?id=3326
Summary: $ in delegate literal causes Access Violation
Product: D
Version: 2.032
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: wrong-code
Severity:
http://d.puremagic.com/issues/show_bug.cgi?id=1812
Ali Cehreli acehr...@yahoo.com changed:
What|Removed |Added
CC||acehr...@yahoo.com
http://d.puremagic.com/issues/show_bug.cgi?id=3327
Summary: OPTLINK and the librarian fail to see a symbol in a
library
Product: D
Version: 1.047
Platform: Other
OS/Version: Windows
Status: NEW
Severity:
http://d.puremagic.com/issues/show_bug.cgi?id=3328
Summary: DMD strips package names from objects (ignores -op)
with -lib
Product: D
Version: 1.047
Platform: Other
OS/Version: Windows
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=3328
--- Comment #1 from Tomasz Stachowiak h3r3...@mat.uni.torun.pl 2009-09-17
19:05:02 PDT ---
Created an attachment (id=453)
example
Attachment failed while submitting the issue.
--
Configure issuemail:
41 matches
Mail list logo