Hello Walter,
Yes, I receive a lot of information via the back channel that I
can't discuss more than that.
Can you give a ball park on how many?
--
... IXOYE
BCS wrote:
Hello Walter,
Yes, I receive a lot of information via the back channel that I
can't discuss more than that.
Can you give a ball park on how many?
Sorry, I never kept track.
I've just released a new Goldie version, v0.3, with many improvements and
enhancements.
Goldie (pronounced goal D) is a GOLD Engine for D1/Tango (Although it will
change to D2 in a future release). It gives D developers the ability to
easily load, lex and parse a text/source file according to
dsimcha wrote:
I'm working on the next iteration of my Plot2Kill library, and I **really**
have fallen in love with property chaining. It's the greatest thing since
sliced arrays. However, I've run into an issue that I had previously
overlooked:
class Foo {
Type _val;
Dnia 24-07-2010 o 04:21:57 dsimcha dsim...@yahoo.com napisał(a):
I'm working on the next iteration of my Plot2Kill library, and I
**really**
have fallen in love with property chaining. It's the greatest thing
since
sliced arrays. However, I've run into an issue that I had previously
Dnia 24-07-2010 o 12:52:51 Tomek Sowiński j...@ask.me napisał(a):
Funny enough, if you put Bar into Foo (Foo bar = new Bar; ) it doesn't
work no more.
Eh, not funny at all. It doesn't work because it shouldn't (I think).
Walter Bright newshou...@digitalmars.com wrote in message
news:i2cteh$uf...@digitalmars.com...
Andrei Alexandrescu wrote:
Walter Bright wrote:
Andrei Alexandrescu wrote:
Walter Bright wrote:
Don wrote:
While running the semantic on each function body, the compiler could
fairly easily check
div0 d...@users.sourceforge.net wrote in message
news:i2d2ek$179...@digitalmars.com...
On 23/07/2010 21:54, Don wrote:
I completely agree that there will always be opportunities for CTFE
which will be missed unless you allow the compile time to become
arbitrarily long.
Which is why
Jonathan M Davis jmdavisp...@gmail.com wrote in message
news:mailman.435.1279700666.24349.digitalmar...@puremagic.com...
On Wednesday 21 July 2010 00:09:05 Don wrote:
While running the semantic on each function body, the compiler could
fairly easily check to see if the function is CTFEable.
On 24/07/2010 12:46, Jim Balter wrote:
div0 d...@users.sourceforge.net wrote in message
news:i2d2ek$179...@digitalmars.com...
On 23/07/2010 21:54, Don wrote:
I completely agree that there will always be opportunities for CTFE
which will be missed unless you allow the compile time to become
Steven Schveighoffer schvei...@yahoo.com wrote in message
news:op.vf5kynqgeav...@localhost.localdomain...
On Tue, 20 Jul 2010 09:52:00 -0400, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
On 07/20/2010 03:01 AM, Peter Alexander wrote:
Some more arguments for iterators/cursors:
I also found chaining more cumbersome than it should be, and made a
bug report
http://d.puremagic.com/issues/show_bug.cgi?id=2295
and it turned out I wasn't the first thinking along those lines, as
http://d.puremagic.com/issues/show_bug.cgi?id=1835
shows.
Maybe it is time to
Peter Alexander peter.alexander...@gmail.com wrote in message
news:i27p32$dt...@digitalmars.com...
On 21/07/10 6:33 PM, Andrei Alexandrescu wrote:
Peter Alexander wrote:
== Quote from Walter Bright (newshou...@digitalmars.com)'s article
If some algorithms used ranges and others used
It sounds like the D PL has invented the range idiom unlike any other PL.
Since the dawn of PL's, which must be about 50 years now since Lisp
for example, it is hard to imagine a new PL inventing a completely
new idiom as ranges seem to purport. Given the many academic
arguments for ranges as
On 24/07/10 2:13 PM, Jim Balter wrote:
Peter Alexander peter.alexander...@gmail.com wrote in message
news:i27p32$dt...@digitalmars.com...
On 21/07/10 6:33 PM, Andrei Alexandrescu wrote:
Peter Alexander wrote:
== Quote from Walter Bright (newshou...@digitalmars.com)'s article
If some
Am 05.04.2010, 01:22 Uhr, schrieb martin2000
i...@neuroscience-cologne.info:
is it feasible at all, to get OpenCl
running? I doesn't matter if Windows X64 or MacOS.
http://bitbucket.org/trass3r/cl4d/wiki/Home
Am 17.07.2010, 18:24 Uhr, schrieb notna
notna.remove.t...@ist-einmalig.de:
Do you have any plans to update your bindings to OpenCL 1.1 soon?
I'd be happy to play around with them ;-)
Well I just found out by accident that OpenCL 1.1 has been released.
I don't have much time atm, but you may
On 24/07/10 12:43 PM, Jim Balter wrote:
I thought that this was exactly the halting problem.
A common misconception, but not so. The halting problem is to find an
algorithm that will, for every possible function and data as input,
correctly determine whether the function will terminate. Turing
maybe this will give some pointers
http://lambda-the-ultimate.org/node/3520
div0:
No they aren't.
command line options apply to the entire module(s) not to specific
invocations of a function.
In both GNU C and CLisp you can add annotations to change the optimization
level on a function by function basis:
== Quote from Tomek Sowiński (j...@ask.me)'s article
pragma(msg, typeof(bar.val(someValue))); // Bar, not Foo.
This looks like a job for the template this parameter:
T val(this T)(int newVal) {
_val =3D newVal;
return cast(T) this;
}
Funny enough, if you put
On Sat, 24 Jul 2010 16:44:38 +0200, dsimcha dsim...@yahoo.com wrote:
== Quote from Tomek Sowiński (j...@ask.me)'s article
pragma(msg, typeof(bar.val(someValue))); // Bar, not Foo.
This looks like a job for the template this parameter:
T val(this T)(int newVal) {
_val =3D
On Saturday 24 July 2010 06:36:34 Justin Johansson wrote:
It sounds like the D PL has invented the range idiom unlike any other PL.
Since the dawn of PL's, which must be about 50 years now since Lisp
for example, it is hard to imagine a new PL inventing a completely
new idiom as ranges seem
== Quote from Simen kjaeraas (simen.kja...@gmail.com)'s article
On Sat, 24 Jul 2010 16:44:38 +0200, dsimcha dsim...@yahoo.com wrote:
=3D=3D Quote from Tomek Sowi=C5=84ski (j...@ask.me)'s article
pragma(msg, typeof(bar.val(someValue))); // Bar, not Foo.
This looks like a job for the
I applied most the v1.1 changes to the bindings.
cl_platform.d still needs to be done.
http://bitbucket.org/trass3r/cl4d/changesets
Justin Johansson, el 24 de julio a las 23:06 me escribiste:
It sounds like the D PL has invented the range idiom unlike any other PL.
Since the dawn of PL's, which must be about 50 years now since Lisp
for example, it is hard to imagine a new PL inventing a completely
new idiom as ranges
Hi everyone, I have some questions about D and phobos library.
Well first of all, what about the issue when compiling a D source in a .dll ?
Is it ok or there are still some problems ?
Secondly, I will have to communicate with the serial port RS232 on Windows
but I don't find something
http://assets.en.oreilly.com/1/event/45/The%20D%20Programming%20Language%20Presentation.pdf
Ezneh petitv.i...@gmail.com wrote in message
news:i2f8c5$2cc...@digitalmars.com...
Hi everyone, I have some questions about D and phobos library.
Well first of all, what about the issue when compiling a D source in a
.dll ? Is it ok or there are still some problems ?
Secondly, I will have
Justin Johansson wrote:
It sounds like the D PL has invented the range idiom unlike any other PL.
Pointer programming is deeply embedded into the C++ culture, and iterators segue
nicely into that culture. For D, however, programming revolves around arrays,
and ranges fit naturally into that.
Mike James Wrote:
Ezneh petitv.i...@gmail.com wrote in message
news:i2f8c5$2cc...@digitalmars.com...
Hi everyone, I have some questions about D and phobos library.
Well first of all, what about the issue when compiling a D source in a
.dll ? Is it ok or there are still some problems ?
It will be great and hopefull.
Helpfull* sorry for double posting x)
Ez.
Walter Bright:
http://assets.en.oreilly.com/1/event/45/The%20D%20Programming%20Language%20Presentation.pdf
I'm currently reading many other PDF/PPT from other conferences too.
In your RAII example you are doing something that's scary, mixing C heap
allocations with D GC heap allocations with C
cool, thanks for the updates
Am 24.07.2010 17:22, schrieb Trass3r:
I applied most the v1.1 changes to the bindings.
cl_platform.d still needs to be done.
http://bitbucket.org/trass3r/cl4d/changesets
Ezneh petitv.i...@gmail.com wrote in message
news:i2f8c5$2cc...@digitalmars.com...
Hi everyone, I have some questions about D and phobos library.
Well first of all, what about the issue when compiling a D source in a
.dll ? Is it ok or there are still some problems ?
Secondly, I will have
bearophile wrote:
In your RAII example you are doing something that's scary, mixing C heap
allocations with D GC heap allocations with C free.
You're right, the buf.dup code is not only scary, it's dead wrong. My screw up.
Derp, derp.
Jim Balter wrote:
Jonathan M Davis jmdavisp...@gmail.com wrote in message
news:mailman.435.1279700666.24349.digitalmar...@puremagic.com...
On Wednesday 21 July 2010 00:09:05 Don wrote:
While running the semantic on each function body, the compiler could
fairly easily check to see if the
Peter Alexander peter.alexander...@gmail.com wrote in message
news:i2er6d$1jk...@digitalmars.com...
On 24/07/10 12:43 PM, Jim Balter wrote:
I thought that this was exactly the halting problem.
A common misconception, but not so. The halting problem is to find an
algorithm that will, for every
Don nos...@nospam.com wrote in message
news:i2ffm7$2qf...@digitalmars.com...
Jim Balter wrote:
Jonathan M Davis jmdavisp...@gmail.com wrote in message
news:mailman.435.1279700666.24349.digitalmar...@puremagic.com...
On Wednesday 21 July 2010 00:09:05 Don wrote:
While running the semantic
Don wrote:
Being marked as 'pure' is no guarantee that the function will terminate.
Right, and the compiler makes no attempt to check this, either.
Andrei Alexandrescu wrote:
The analysis I discussed is a flow- and path-independent analysis. It
always terminates and produces conservative results (i.e. it associates
one Boolean with each function, not on each tuple of a function and
inputs. This is how the current compiler works - if you
Jim Balter j...@balter.name wrote in message
news:i2fkp7$2i...@digitalmars.com...
Peter Alexander peter.alexander...@gmail.com wrote in message
news:i2er6d$1jk...@digitalmars.com...
On 24/07/10 12:43 PM, Jim Balter wrote:
I thought that this was exactly the halting problem.
A common
If CTFE gets used a lot, for example to parse a piece of D code at compile-time
(as I am trying to do now), or it's used a lot, it can slow down the whole
compilation. To solve this some kind of Just In Time compilation can be used to
compile CTFE code and speed it up a lot.
There are several
Walter Bright wrote:
Andrei Alexandrescu wrote:
The analysis I discussed is a flow- and path-independent analysis. It
always terminates and produces conservative results (i.e. it
associates one Boolean with each function, not on each tuple of a
function and inputs. This is how the current
I think that some years from now, in situations where D will be used used in
functional-style programming, the pure attribute for functions will be
important and useful.
In functional-style programming you often use Higher-Order Functions like map,
filter and reduce. So it can be quite
The slides for another talk, Build Your Own Contributors (One Part at a
Time), by Denise Paolucci (Dreamwidth Studios), Mark Smith (Dreamwidth
Studios):
http://assets.en.oreilly.com/1/event/45/Build%20Your%20Own%20Contributors%20_One%20Part%20at%20a%20Time_%20Presentation%201.ppt
Some of the
Is there any simple PNG lib that's:
1. Written in pure D.
2. Licensed under the Boost or zlib/libpng license, or some other license
that is open-source, non-copyleft and doesn't require binary attribution.
3. Small enough that I could just copy/paste it into my Plot2Kill lib and
give credit,
Is D 2.0 still in alpha?
--
-Arth
On 7/24/2010 15:34, Jim Balter wrote:
The point about difficulty goes to why this is not a matter of the
halting problem. Even if the halting problem were decidable, that would
not help us in the slightest because we are trying to solve a
*practical* problem. Even if you could prove, for every
Try mine but a! My computer died on my last Wednesday, and it
hosts my dcode too!
It is a few hundred lines of D that takes a pixel array and puts out a
simple png file. Does the bare minimum I needed to get the job done,
but sounds like that's exactly what you want.
My code sounds like
Is D 2.0 still in alpha?
It's in beta. Somewhat.
Nice one.. Thanks for the reply Trass3r...
I'm so excited [?]
On Sun, Jul 25, 2010 at 9:24 AM, Trass3r u...@known.com wrote:
Is D 2.0 still in alpha?
It's in beta. Somewhat.
--
-Arth
360.gif
Rainer Deyke:
(A function that performs I/O is
obviously not a candidate for CTFE.)
I don't fully agree, see this enhancement request of mine:
http://d.puremagic.com/issues/show_bug.cgi?id=3952
Bye,
bearophile
If you could send this stuff to me whenever your computer is working again, or
better yet post it to some repository for everyone, that'd be great. My email
address that I actually check frequently but avoid giving out in places were
spambots may be present is n...@domain.com, where name =
Hello Trass3r,
Is D 2.0 still in alpha?
It's in beta. Somewhat.
The language? More like an RC. DMD? Beta.
--
... IXOYE
Hello dsimcha,
Is there any simple PNG lib that's:
http://www.dsource.org/projects/scrapple/wiki/LodePngLibrary
1. Written in pure D.
I think so.
2. Licensed under the Boost or zlib/libpng license, or some other
license that is open-source, non-copyleft and doesn't require binary
Hello Deokjae,
Hi there, I have some questions on the following code.
import std.stdio;
struct S {
int x;
}
void main() {
int[3] a = new int[3];//A
S* b = new S();//B
delete b;//C
}
What's the meaning of the line A?
Is the array allocated on heap? or stack?
IITC new give you something on
1. When will a 64-bit compiler be available for Linux (ideally Red
Hat Enterprise Linux x86_64)?
This is heavily being worked on:
http://dsource.org/projects/dmd/log/trunk
GDC and LDC basically support x64 but D2 support isn't mature.
2. Is ODBC supported? Is there a Phobos library or is it
GDC and LDC basically support x64 but D2 support isn't mature.
http://packages.debian.org/squeeze/gdc-4.3
http://dsource.org/projects/ldc/wiki/PlatformSupport
Deokjae Lee asitdepe...@gmail.com wrote:
Hi there, I have some questions on the following code.
import std.stdio;
struct S {
int x;
}
void main() {
int[3] a = new int[3];//A
S* b = new S();//B
delete b;//C
}
What's the meaning of the line A?
Create a static
Ralph:
1. When will a 64-bit compiler be available for Linux (ideally Red
Hat Enterprise Linux x86_64)?
Walter is working on 64 bit port right now, he said it will take two months, he
has already compiled a hello world with it days ago, so he's probably past 1/3
or 1/2 of the work. So if
Deokjae Lee:
What's the meaning of the line A?
It creates on the stack a 2-word structure, puts unsigned 3 in one word and in
the other word puts a pointer to a newly allocated area on the GC-managed heap,
that can contain 3 integers (plus one bookkeeping byte), so this heap area is
probably
bearophile bearophileh...@lycos.com wrote:
Deokjae Lee:
What's the meaning of the line A?
It creates on the stack a 2-word structure, puts unsigned 3 in one word
and in the other word puts a pointer to a newly allocated area on the
GC-managed heap, that can contain 3 integers (plus one
Simen kjaeraas:
Check the code again. int[3] is stack-allocated. There is a temporary on
the heap, but it is thrown away after being used to initialize a.
I didn't see the 3.
I am very sorry Deokjae Lee... -.-'
dcoder wrote:
== Quote from Steven Schveighoffer (schvei...@yahoo.com)'s article
This is what I think you should use:
string[int[2]]
snip
board[[0,0]] = Rook;
Further to what others have said, why use strings? There are only 12
possible chess pieces (black and white), plus blank, so
Thanks Trass3r and Bearophile for the quick responses.
Ralph.
I have similar situation. My employer could consider to use D for
prototyping or even production, but lack of linux armel cross compiler
is show-stopper for us.
--
serg.
In the following D2 the D type system is strong enough to allow foo1() to be
pure because sqr() is a pointer to a pure function. In foo2() I have tried to
do the same thing avoiding templates, and it works. In foo3() I have tried to
write the type literal, but I was not able to:
pure int
http://d.puremagic.com/issues/show_bug.cgi?id=4498
Summary: cannot get return type of a function returning a
nested struct with typeof
Product: D
Version: D2
Platform: Other
OS/Version: Linux
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=4499
Summary: calls to @disabled postblit are emitted
Product: D
Version: D2
Platform: Other
OS/Version: Linux
Status: NEW
Keywords: accepts-invalid
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=4500
Summary: scoped moves class after calling the constructor
Product: D
Version: D2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=4497
--- Comment #1 from Trass3r mrmoc...@gmx.de 2010-07-24 04:39:33 PDT ---
Note that this is also true for objects passed to a function as const Class
object
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
---
http://d.puremagic.com/issues/show_bug.cgi?id=1835
Simen Kjaeraas simen.kja...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=1835
Christian Kamm kamm-removet...@incasoftware.de changed:
What|Removed |Added
Status|NEW
http://d.puremagic.com/issues/show_bug.cgi?id=4503
--- Comment #1 from Trass3r mrmoc...@gmx.de 2010-07-24 12:05:53 PDT ---
error occurs at mtype.c:5542
if (t-ty == Tinstance t != this !t-deco)
{ error(loc, forward reference to '%s', t-toChars());
return;
}
This is also true if
http://d.puremagic.com/issues/show_bug.cgi?id=4077
--- Comment #13 from bearophile_h...@eml.cc 2010-07-24 15:30:48 PDT ---
Thank you very much to Stewart Gordon, Don and Walter. One more down.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=1835
--- Comment #8 from Fawzi Mohamed fa...@gmx.ch 2010-07-24 16:18:40 PDT ---
Yes indeed and Christian showed this templates argument allows one workaround
to achieve this (a wrapper object is another).
{{{
class A {
void a(...){ ... }
T
http://d.puremagic.com/issues/show_bug.cgi?id=3560
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=4077
Leandro Lucarella llu...@gmail.com changed:
What|Removed |Added
CC||llu...@gmail.com
http://d.puremagic.com/issues/show_bug.cgi?id=4474
bearophile_h...@eml.cc changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=3706
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3463
--- Comment #45 from Leandro Lucarella llu...@gmail.com 2010-07-24 20:08:30
PDT ---
Well, I've made a little benchmark for the patch.
I'm using the voronoi[1] benchmark, since I think is a good GC benchmark,
because it exercises the GC a lot,
82 matches
Mail list logo