http://news.ycombinator.com/item?id=911858
Walter Bright Wrote:
> http://news.ycombinator.com/item?id=911858
It's an interesting discussion. From it it seems several persons would like a D
V.1.5, something intermediate between D1 and D2.
Bye,
bearophile
import std.stdio;
void main()
{
writef("Hello world\n");
}
dmd -run test.d gives:
Process: test [1703]
Path:/Users/username/Desktop/test
Identifier: test
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: dmd [1698]
Date/Time: 2009
forgot to add it's freshly downloaded dmd v2.035.
It's a known issue. Apple breaks backwards compatibility all the time. Walter
hinted that 2.034 would fix the issue, but that didn't come to pass. I don't
know if that's from difficulty or shifting priorities. I'm sure a patch would
be appreciated ;)
asd Wrote:
> import std.stdio;
>
>
> void
Nick Sabalausky wrote:
I'm not sure I see the value in being able to rename that. That's like
making sure people can rename "for".
I don't either, that's just a nice side effect for people who dislike
whatever name is decided on.
On Thu, 29 Oct 2009 16:07:14 -0500, Andrei Alexandrescu
wrote:
>
>Apparently the need was felt strongly enough that a library made it into
>Boost that does exactly initialization of collections (and vector in
>particular), in spite of being based on a very questionable design
>technique - over
> Walter Bright Wrote:
>
> http://news.ycombinator.com/item?id=911858
Added mandatory C++ attacks and D fanboyism
#ponce wrote:
Walter Bright Wrote:
http://news.ycombinator.com/item?id=911858
Added mandatory C++ attacks and D fanboyism
I read the exchange just now (nice job ponce) and am a bit surprised how
much others know about what I do, e.g how I don't use D. My entire
doctoral research is impleme
Andrei Alexandrescu:
> I read the exchange just now (nice job ponce) and am a bit surprised how
> much others know about what I do, e.g how I don't use D. My entire
> doctoral research is implemented in D (to say nothing about phobos). I
> haven't used another language extensively for about thr
Andrei Alexandrescu wrote:
It's a rough rough draft, but one for the full chapter on arrays,
associative arrays, and strings.
http://erdani.com/d/thermopylae.pdf
Any feedback is welcome. Thanks!
Andrei
p.28 line 16:
>>> symbols in less bits
should be
>>> symbols in fewer bits
Max Samukha:
> While those are important, I am still not totally convinced that
> dynamic arrays initialized from literals occur often in production
> code. It remains a matter of opinion.
In script-like code literals are common. So when you consider your production
code you must count that scri
Mike Parker wrote:
Andrei Alexandrescu wrote:
It's a rough rough draft, but one for the full chapter on arrays,
associative arrays, and strings.
http://erdani.com/d/thermopylae.pdf
Any feedback is welcome. Thanks!
Andrei
p.28 line 16:
>>> symbols in less bits
should be
>>> symbols in
Has anyone been irked by this? If you have a module called 5th-element.d
there is no way to import that. I don't think it's a major issue, but
I'm also seeing it as a limitation that should have a better explanation.
One way to circumvent that may be
import fifth = "5th-element.d";
i.e., spec
On Sat, Oct 31, 2009 at 12:21:31PM -0500, Andrei Alexandrescu wrote:
> Has anyone been irked by this?
Yes, quite a bit. I tend to use names-like-this whenever I'm allowed,
which includes the filesystem. Of course, it is easy enough to rename
the file when doing D.
> One way to circumvent that ma
On Sat, 31 Oct 2009 09:50:18 -0500, Andrei Alexandrescu wrote:
> #ponce wrote:
>>> Walter Bright Wrote:
>>>
>>> http://news.ycombinator.com/item?id=911858
>>
>> Added mandatory C++ attacks and D fanboyism
>
> I read the exchange just now (nice job ponce) and am a bit surprised how
> much others
Andrei Alexandrescu:
> Has anyone been irked by this? If you have a module called 5th-element.d
> there is no way to import that. I don't think it's a major issue, but
> I'm also seeing it as a limitation that should have a better explanation.
It's a small limitation, but in practice I don't th
Moritz Warning wrote:
On Sat, 31 Oct 2009 09:50:18 -0500, Andrei Alexandrescu wrote:
#ponce wrote:
Walter Bright Wrote:
http://news.ycombinator.com/item?id=911858
Added mandatory C++ attacks and D fanboyism
I read the exchange just now (nice job ponce) and am a bit surprised how
much others
I have shown here a little the Genie language in the past, it' a version of the
Vala language with a cleaned up syntax. In the last months they have added
several new things, some of them can be interesting for D too.
Beside few comments of mine, most of the following text is quoted from this
p
On Sat, 31 Oct 2009 13:06:15 -0500, Andrei Alexandrescu wrote:
> Moritz Warning wrote:
>> On Sat, 31 Oct 2009 09:50:18 -0500, Andrei Alexandrescu wrote:
>>
>>> #ponce wrote:
> Walter Bright Wrote:
>
> http://news.ycombinator.com/item?id=911858
Added mandatory C++ attacks and D fa
Is there a way to run a class's c'tor on a block of memory from a template
function? For example:
C newClass(C, CtorArgs...)(CtorArgs args) {
// Allocate, initialize.
// Want to call the c'tor that takes type CtorArgs.
}
bearophile wrote:
(Time ago I have
suggested a "type" type, to replace some functional-style template
usage with simpler imperative-style compile time functions, but it
was not appreciated. Maybe also because it introduces yet another way
to do the same thing, despite it looks like a simpler way)
Andrei Alexandrescu wrote:
Has anyone been irked by this? If you have a module called 5th-element.d
there is no way to import that. I don't think it's a major issue, but
I'm also seeing it as a limitation that should have a better explanation.
One way to circumvent that may be
import fifth =
dsimcha wrote:
Is there a way to run a class's c'tor on a block of memory from a template
function? For example:
C newClass(C, CtorArgs...)(CtorArgs args) {
// Allocate, initialize.
// Want to call the c'tor that takes type CtorArgs.
}
C newClass(C, CtorArgs...)(CtorArgs args) {
== Quote from Robert Clipsham (rob...@octarineparrot.com)'s article
> dsimcha wrote:
> > Is there a way to run a class's c'tor on a block of memory from a template
> > function? For example:
> >
> > C newClass(C, CtorArgs...)(CtorArgs args) {
> > // Allocate, initialize.
> > // Want to cal
dsimcha wrote:
Is there a way to run a class's c'tor on a block of memory from a template
function? For example:
C newClass(C, CtorArgs...)(CtorArgs args) {
// Allocate, initialize.
// Want to call the c'tor that takes type CtorArgs.
}
Deeply hidden on the Digitalmars homepage, it hin
dsimcha wrote:
== Quote from Robert Clipsham (rob...@octarineparrot.com)'s article
dsimcha wrote:
Is there a way to run a class's c'tor on a block of memory from a template
function? For example:
C newClass(C, CtorArgs...)(CtorArgs args) {
// Allocate, initialize.
// Want to call the
== Quote from grauzone (n...@example.net)'s article
> dsimcha wrote:
> > Is there a way to run a class's c'tor on a block of memory from a template
> > function? For example:
> >
> > C newClass(C, CtorArgs...)(CtorArgs args) {
> > // Allocate, initialize.
> > // Want to call the c'tor that
On 31/10/2009 20:58, Don wrote:
Andrei Alexandrescu wrote:
Has anyone been irked by this? If you have a module called
5th-element.d there is no way to import that. I don't think it's a
major issue, but I'm also seeing it as a limitation that should have a
better explanation.
One way to circumve
== Quote from dsimcha (dsim...@yahoo.com)'s article
> == Quote from grauzone (n...@example.net)'s article
> > dsimcha wrote:
> > > Is there a way to run a class's c'tor on a block of memory from a template
> > > function? For example:
> > >
> > > C newClass(C, CtorArgs...)(CtorArgs args) {
> > >
On 31/10/2009 19:21, Andrei Alexandrescu wrote:
Has anyone been irked by this? If you have a module called 5th-element.d
there is no way to import that. I don't think it's a major issue, but
I'm also seeing it as a limitation that should have a better explanation.
One way to circumvent that may
dsimcha wrote:
Is there a way to run a class's c'tor on a block of memory from a template
function? For example:
C newClass(C, CtorArgs...)(CtorArgs args) {
// Allocate, initialize.
// Want to call the c'tor that takes type CtorArgs.
}
After reading the ticket you made, I was wonderin
== Quote from Robert Clipsham (rob...@octarineparrot.com)'s article
> dsimcha wrote:
> > Is there a way to run a class's c'tor on a block of memory from a template
> > function? For example:
> >
> > C newClass(C, CtorArgs...)(CtorArgs args) {
> > // Allocate, initialize.
> > // Want to cal
dsimcha wrote:
== Quote from dsimcha (dsim...@yahoo.com)'s article
== Quote from grauzone (n...@example.net)'s article
dsimcha wrote:
Is there a way to run a class's c'tor on a block of memory from a template
function? For example:
C newClass(C, CtorArgs...)(CtorArgs args) {
// Allocate,
Yigal Chripun wrote:
On 31/10/2009 19:21, Andrei Alexandrescu wrote:
Has anyone been irked by this? If you have a module called 5th-element.d
there is no way to import that. I don't think it's a major issue, but
I'm also seeing it as a limitation that should have a better explanation.
One way t
== Quote from Andrei Alexandrescu (seewebsiteforem...@erdani.org)'s article
> dsimcha wrote:
> > == Quote from dsimcha (dsim...@yahoo.com)'s article
> >> == Quote from grauzone (n...@example.net)'s article
> >>> dsimcha wrote:
> Is there a way to run a class's c'tor on a block of memory from a
I'm trying to make a delegate thing in a loop and hit something that seemed
intuitively wrong. Here's some short code that shows what I mean:
===
import std.stdio;
class A {
this(void delegate() _a) {
a = _a;
}
void run() { a(); }
private void de
Hi
This is the monthly status for the unofficial d wish list:
http://all-technology.com/eigenpolls/dwishlist/
I am closing this wish list.
New requests should be posted to bugzilla on http://d.puremagic.com/issues/
It would be a great help,
if you could help move some of the wish list items
Andrei Alexandrescu, el 31 de octubre a las 12:21 me escribiste:
> Has anyone been irked by this? If you have a module called
> 5th-element.d there is no way to import that. I don't think it's a
> major issue, but I'm also seeing it as a limitation that should have
> a better explanation.
>
> One
Adam D. Ruppe Wrote:
> I'm trying to make a delegate thing in a loop and hit something that seemed
> intuitively wrong. Here's some short code that shows what I mean:
I can confirm that your intuition matches others'. I don't have a link, but I
do remember a past discussion about binding where
Didn't the owner of this lust say he was stopping it?
4tuu4k...@sneakemail.com Wrote:
>
> Hi
>
> This is the monthly status for the unofficial d wish list:
> http://all-technology.com/eigenpolls/dwishlist/
>
> I am closing this wish list.
> New requests should be posted to bugzilla on http:/
http://www.reddit.com/r/programming/comments/9zqj0/the_state_of_d_programming_is_this_situation/
Andrei Alexandrescu Wrote:
> It's a rough rough draft, but one for the full chapter on arrays,
> associative arrays, and strings.
>
> http://erdani.com/d/thermopylae.pdf
>
> Any feedback is welcome. Thanks!
>
>
> Andrei
Sure I haven't come across anything that someone else hasn't already poi
Walter Bright wrote:
http://www.reddit.com/r/programming/comments/9zqj0/the_state_of_d_programming_is_this_situation/
Guess I should read before posting...
Andrei
http://www.reddit.com/r/programming/comments/9zqj0/the_state_of_d_programming_is_this_situation/
Also, there's a much less popular discussion about the Thermopylae excerpt:
http://www.reddit.com/r/programming/comments/9z41o/andrei_alexandrescus_book_about_the_d_programming/
(I'm not 100% convin
duser4ever wrote:
Andrei Alexandrescu Wrote:
It's a rough rough draft, but one for the full chapter on arrays,
associative arrays, and strings.
http://erdani.com/d/thermopylae.pdf
Any feedback is welcome. Thanks!
Andrei
Sure I haven't come across anything that someone else hasn't already
Andrei Alexandrescu Wrote:
> Walter Bright wrote:
> > http://www.reddit.com/r/programming/comments/9zqj0/the_state_of_d_programming_is_this_situation/
> >
> >
>
> Guess I should read before posting...
>
> Andrei
I did an update on NG messages about ten minutes before posting this and I'm
su
On Sat, 31 Oct 2009 20:52:05 -0400, Adam D. Ruppe
wrote:
I'm trying to make a delegate thing in a loop and hit something that
seemed intuitively wrong. Here's some short code that shows what I mean:
===
import std.stdio;
class A {
this(void delegate() _a) {
a = _a;
I ran the following experiment:
mkdir deleteme
cd deleteme
mkdir std
touch std/algorithm.d
echo 'import std.algorithm; void main(){int a, b;swap(a,b);}' >main.d
dmd main
The attempt to compile main fails with "undefined identifier swap",
which means that the module I defined in the current dire
Hi. I won't be very verbose about this because I submitted a bug about it
(with a patch):
http://d.puremagic.com/issues/show_bug.cgi?id=3462
But I think it might deserve some public discussion too, that's why I'm
bringing it here.
For the lazy, here is the bug report text:
Maybe I'm missing some
50 matches
Mail list logo