Am 04.09.2011, 19:01 Uhr, schrieb Christian Köstlin
christian.koest...@gmail.com:
On 9/3/11 7:53 , dennis luehring wrote:
Am 26.08.2011 19:43, schrieb Christian Köstlin:
Hi guys,
i started the thread:
http://stackoverflow.com/questions/7202710/fastest-way-of-reading-bytes-in-d2
on
Steven Schveighoffer schvei...@yahoo.com wrote in message
news:op.v3h06olweav7ka@localhost.localdomain...
That sounds like an incorrect restriction. The implicit cast to immutable
should depend on whether the function being *called* qualifies, not if the
function you are calling *from*
Daniel Murphy:
2)
immutable(int[]) fun() { return new int[]; } // conversion happens here
immutable x = fun();
Bearophile's example is of the second, where it definately matters what the
purity of the function is.
This is the enhancement request I have written days ago:
ahead = n._next;
The C/C++ equivalent of this is `ahead = n-next;`, or equivalently
`ahead = (*n).next;`. This is a difference in semantics from C/C++ with
respect to the `.`---it seems like D turns pointer to struct property
accesses into property access with indirection.
Yes. It
On 2011-10-18 12:50, Trass3r wrote:
ahead = n._next;
The C/C++ equivalent of this is `ahead = n-next;`, or equivalently
`ahead = (*n).next;`. This is a difference in semantics from C/C++
with respect to the `.`---it seems like D turns pointer to struct
property accesses into property access
bearophile bearophileh...@lycos.com wrote in message
news:j7jepi$prp$1...@digitalmars.com...
Daniel Murphy:
2)
immutable(int[]) fun() { return new int[]; } // conversion happens here
immutable x = fun();
Bearophile's example is of the second, where it definately matters what
the
purity
On Mon, Oct 17, 2011 at 2:11 PM, Jacob Carlborg d...@me.com wrote:
On 2011-10-17 16:01, Andrea Fontana wrote:
I handle request on different threads. I do some pre-processing on
scgi data and I fill a struct:
request.get[]
request.post[]
request.cookie[]
request.headers[string]
then I
I've been having trouble with my news postings, so forgive me if
I said this before.
But my cgi.d module supports FastCGI via the C library, with the
same D interface as normal CGI or an embedded server:
https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff
Just
On 18.10.2011 19:24, Jeremy Sandell wrote:
On Mon, Oct 17, 2011 at 2:11 PM, Jacob Carlborg d...@me.com
mailto:d...@me.com wrote:
On 2011-10-17 16:01, Andrea Fontana wrote:
I handle request on different threads. I do some pre-processing on
scgi data and I fill a struct:
Sean Silva Wrote:
I have just finished reading Alexandrescu's The D Programming Language, but it
doesn't seem to talk at all about how to use D as a stand-in for C/C++ almost
at
all. E.g., the part of D that doesn't depend on a runtime or garbage
collector.
There isn't any real
Tale time, only tangentially on topic.
Today, I was coincidentally switching one of my work apps from
standard CGI to Fast CGI.
Almost trivial. Set up Apache, then build the program with
-version=fastcgi. Done.
Well, not 100% done. I had a piece of static data in the app
that worked correctly
Al 18/10/11 17:08, En/na Jordi Sayol ha escrit:
Al 18/10/11 16:44, En/na %u ha escrit:
Hello. I downloaded gtkD MS Windows installer, and I tried to
compile one of the examples shown on the gtkD website:
http://www.dsource.org/projects/gtkd
There is not GtkD MS Windows installer on gtkd
I've ran into an awful bug right now (probably not related to your
module). It basically comes down to this inside of a Widget
constructor:
this(Widget parent)
{
super(parent);
void test()
{
msgbox(this.position);
}
I've got xml text of a Bible version. I want to get the text in the
following format:
class Bible {
Book[] bs;
}
class Book {
Chapter[] cs;
}
class Chapter {
Verse[] vs;
}
class Verse {
string v;
}
Here's a part of the xml file:
?xml version=1.0 encoding=ISO-8859-1?
bible
b
I'm trying to implement the function pointer system right now, and it
seems to work on the C side, but not D. I assume I'm missing some kind
of syntax here. I have these global variables:
struct S_FrontendFunctions {
void function() RedrawScreen;
void
I suggest xmlp
http://www.dsource.org/projects/xmlp/
Example:
http://www.dsource.org/projects/xmlp/browser/trunk/test/books.d
He intends to push for it to be in Phobos so it uses the std namespace.
import std.xml2;
On Wed, 19 Oct 2011 17:31:06 +1300, Joel Christensen wrote:
I would like
I think I want to stick with the current std xml library for now.
I think the books example is too different for me to work for what I want.
17 matches
Mail list logo