On Sun, 06 Jun 2010 08:42:22 -0400, new to d wrote:
> new to d Wrote:
>
>> After reading on this newsgroup about the use of D with cgi i've tried
>> it on my host. Even a simple hello world program gives me internal
>> server error while equivalent c program compiled with gcc works fine.
>> Does
Am 06.06.2010 17:30, schrieb Zarathustra:
are delegats part of the ABI, i can't find a delegat calling scheme in
the ABI-Description - should this be in EAX, as last/first part on
stack, ECX?
The delegates are called by exactly same way as any other member function. Put
ptr
= 'this'(context
Michal Minich wrote:
On Sun, 06 Jun 2010 09:00:25 -0400, new to d wrote:
import std.stdio;
void main(string[] args)
{
writeln("Hello world!");
}
Just a guess, but maybe the difference of your C and D programs is in
return value, which can be differently interpreted by CGI host. try
Zarathustra:
> I think there is a good chance for create the set examples which show how to
> use D
> features on the C level. I will thinking about it in my free time :) The idea
> is
> really interesting and it would be useful(especially to better understand
> these
> mechanisms) for some peop
> my fault - yes its possible to use delegates in non D but delegat-struct
> knowing languages (and a small pice of special calling code), sorry
> Zarathrustra i missed the point of your post in whole
No problem, I'm glad that we have reached an agreement.
> wouldn't it be nice to have an complete
On 2010-06-06 09:15, Mike Linford wrote:
What's the current preferred way of doing cross-platform GUIs in
nowadays? DWT looks like a good option, but apparently its been dead for
a while?
--Mike L.
I would not consider it dead, but nothing has been updated for a while.
I'm working on updating
new to d Wrote:
> Robert Clipsham Wrote:
>
> > On 06/06/10 14:00, new to d wrote:
> > > It's a typical hello world program:
> > >
> > > import std.stdio;
> > >
> > > void main(string[] args) { writeln("Hello world!"); }
> > >
> > > I also tried using printf instead of writeln. I'm compiling it wi
Robert Clipsham Wrote:
> On 06/06/10 14:00, new to d wrote:
> > It's a typical hello world program:
> >
> > import std.stdio;
> >
> > void main(string[] args) { writeln("Hello world!"); }
> >
> > I also tried using printf instead of writeln. I'm compiling it with
> > dmd test.d. I'm using dmd v2.0
On Sun, 06 Jun 2010 09:00:25 -0400, new to d wrote:
> import std.stdio;
>
> void main(string[] args)
> {
> writeln("Hello world!");
> }
Just a guess, but maybe the difference of your C and D programs is in
return value, which can be differently interpreted by CGI host. try
returning 1 or
On 06/06/10 14:00, new to d wrote:
It's a typical hello world program:
import std.stdio;
void main(string[] args) { writeln("Hello world!"); }
I also tried using printf instead of writeln. I'm compiling it with
dmd test.d. I'm using dmd v2.046. I'm compiling the c program with
gcc -otest2 test
Robert Clipsham Wrote:
> On 06/06/10 13:40, new to d wrote:
> > After reading on this newsgroup about the use of D with cgi i've
> > tried it on my host. Even a simple hello world program gives me
> > internal server error while equivalent c program compiled with gcc
> > works fine. Does any one h
On 06/06/10 13:40, new to d wrote:
After reading on this newsgroup about the use of D with cgi i've
tried it on my host. Even a simple hello world program gives me
internal server error while equivalent c program compiled with gcc
works fine. Does any one here have any idea what the problem could
new to d Wrote:
> After reading on this newsgroup about the use of D with cgi i've tried it on
> my host. Even a simple hello world program gives me internal server error
> while equivalent c program compiled with gcc works fine. Does any one here
> have any idea what the problem could be?
I f
After reading on this newsgroup about the use of D with cgi i've tried it on my
host. Even a simple hello world program gives me internal server error while
equivalent c program compiled with gcc works fine. Does any one here have any
idea what the problem could be?
http://d.puremagic.com/issues/show_bug.cgi?id=4279
http://d.puremagic.com/issues/show_bug.cgi?id=4281
Steven Schveighoffer:
> Probably because you aren't allowed to change keys for AAs. Passing the
> key as a char[] type would allow that.
Modifying AA keys after they are inserted in the AA is bad because their hash
value and position inside the AA doesn't get recomputed.
The current design/be
Am 06.06.2010 11:33, schrieb Simen kjaeraas:
Also, pointers to delegates can be passed to C-linkage functions. A
delegate is nothing but a struct, and as such there is no reason for
it not to be passable to a C-linkage function.
my fault - yes its possible to use delegates in non D but delegat-
dennis luehring wrote:
D still won't accept an delegat in an extern C because this type does
not exists in the C world
Nor do classes, and those certainly can be passed to a C-linkage
function.
Also, pointers to delegates can be passed to C-linkage functions. A
delegate is nothing but a str
> What's the current preferred way of doing cross-platform GUIs in
> nowadays? DWT looks like a good option, but apparently its been dead for
> a while?
>
> --Mike L.
DWT is great but yes it looks dead for half a year. There are gtkd (also not
updated for a while but it works well with D1 (I'm not
What's the current preferred way of doing cross-platform GUIs in
nowadays? DWT looks like a good option, but apparently its been dead for
a while?
--Mike L.
20 matches
Mail list logo