After seeing this interesting thread:
http://stackoverflow.com/questions/9314534/why-does-changing-0-1f-to-0-slow-down-performance-by-10x
Do you know if there's a simple way to perform _MM_SET_FLUSH_ZERO_MODE in D?
According to Agner that operation is not needed on Sandy Bridge processors, but
m
On Friday, 17 February 2012 at 00:47:35 UTC, bioinfornatics wrote:
Le vendredi 17 février 2012 à 01:33 +0100, bioinfornatics a
écrit :
reading
http://www.d-programming-language.org/phobos/std_array.html#split
---
S[] split(S)(S s); // merge space
Le vendredi 17 février 2012 à 01:33 +0100, bioinfornatics a écrit :
> reading
> http://www.d-programming-language.org/phobos/std_array.html#split
>
> ---
> S[] split(S)(S s); // merge space together
>
> and
>
> Unqual!(S1)[] split(S1, S2)(S1 s, S2
reading
http://www.d-programming-language.org/phobos/std_array.html#split
---
S[] split(S)(S s); // merge space together
and
Unqual!(S1)[] split(S1, S2)(S1 s, S2 delim); // do not merge delim
together ?
---
On 2012-02-16 22:08, Jonathan M Davis wrote:
On Thursday, February 16, 2012 20:17:22 Jacob Carlborg wrote:
Note that I'm saying "overload" not "override".
Ah, so you did. Yes, that would probably be a problem, though aliases can
probably fix it (that's how you deal with having all of the overl
On Thursday, February 16, 2012 20:17:22 Jacob Carlborg wrote:
> Note that I'm saying "overload" not "override".
Ah, so you did. Yes, that would probably be a problem, though aliases can
probably fix it (that's how you deal with having all of the overloads for a
function in the same overload set
On 02/16/2012 08:36 PM, H. S. Teoh wrote:
More questions about hex floats. So we've established that hex floats
have decimal exponents. So how should the following be tokenized?
0x1p1E8
Should it be tokenized as (Float: 0x1p1)(Identifier: E8), or should it
be an error?
T
It should
More questions about hex floats. So we've established that hex floats
have decimal exponents. So how should the following be tokenized?
0x1p1E8
Should it be tokenized as (Float: 0x1p1)(Identifier: E8), or should it
be an error?
T
--
Не дорог подарок, дорога любовь.
On 2012-02-16 20:05, Jonathan M Davis wrote:
On Thursday, February 16, 2012 13:26:59 Jacob Carlborg wrote:
Since D have delegates I would use those for event handling and not
listeners. I think they are a much better fit, as long as you don't have
to force the user to handle many different event
On Thursday, February 16, 2012 13:26:59 Jacob Carlborg wrote:
> Since D have delegates I would use those for event handling and not
> listeners. I think they are a much better fit, as long as you don't have
> to force the user to handle many different events on the same object.
Oh, I'm not necessa
On Thursday, 16 February 2012 at 16:25:04 UTC, Mike Parker wrote:
On 2/16/2012 5:39 AM, Chris Pons wrote:
Hey everyone,
I am new to D, and interested in using it with Derelict2 for
game
development. I plan on using Visual D, which I have installed
already. I
used the visual studio 2008 solutio
On 02/16/2012 05:06 PM, Don Clugston wrote:
On 16/02/12 13:28, Stewart Gordon wrote:
On 16/02/2012 12:04, Don Clugston wrote:
On 15/02/12 22:24, H. S. Teoh wrote:
What's the original rationale for requiring that hex float literals
must
always have an exponent? For example, 0xFFi obviously must
On 2/16/2012 5:39 AM, Chris Pons wrote:
Hey everyone,
I am new to D, and interested in using it with Derelict2 for game
development. I plan on using Visual D, which I have installed already. I
used the visual studio 2008 solution file to build the libraries and the
.di files but unfortunately I d
On 2/16/2012 4:07 AM, Chris Pons wrote:
I am sorry about the double post. I am in the middle of trying to
install derelict following this tutorial:
http://h3.gd/dmedia/?n=Tutorials.SdlGlTutorial1
However, when I get to the third step I get this error:
Error 1 Error: module gl is in file 'dere
On 2/16/2012 3:32 AM, Chris Pons wrote:
On Wednesday, 15 February 2012 at 15:41:02 UTC, Kiith-Sa wrote:
On Wednesday, 15 February 2012 at 06:51:11 UTC, RedShift wrote:
Can I use OpenGL or DirectX with D? If so, where can I find a guide
to get everything setup?
Derelict provides bindings for O
On 16/02/12 13:28, Stewart Gordon wrote:
On 16/02/2012 12:04, Don Clugston wrote:
On 15/02/12 22:24, H. S. Teoh wrote:
What's the original rationale for requiring that hex float literals must
always have an exponent? For example, 0xFFi obviously must be float, not
integer, so why does the compi
On 2/16/2012 1:23 AM, Kiith-Sa wrote:
To clarify, Derelict 2 fully supports up to OpenGL 3.3. 4.x support is
partial (but will be fully implemented very soon). Derelict 3 supports
all versions of OpenGL, minus features deprecated in 3.x (i.e. core
OpenGL profiles only).
Does that mean it is not
On 02/16/2012 01:32 AM, Jacob Carlborg wrote:
On 2012-02-16 03:35, Ellery Newcomer wrote:
has anyone else gotten warnings of the nature
/usr/bin/ld: Warning: size of symbol `{875charlongsymbol}' changed from
107 in multi_index.o to 99 in multi_index.o
Sounds like you should do a clean build.
As a user (read developer), I'd rather code to the generic interface
when possible. I like that concrete implementations looks rather long
and ugly
I don't think you should be worried that your users is using direct
implementations rather than the interface - their problem!
Remember that in
On 16/02/2012 12:04, Don Clugston wrote:
On 15/02/12 22:24, H. S. Teoh wrote:
What's the original rationale for requiring that hex float literals must
always have an exponent? For example, 0xFFi obviously must be float, not
integer, so why does the compiler (and the spec) require an exponent?
On 2012-02-16 11:23, Jonathan M Davis wrote:
On Thursday, February 16, 2012 11:11:20 Jacob Carlborg wrote:
You can create an abstract class that implements some parts of the
interface. Then the user (developer) is free to choose to inherit from
the interface or the abstract class.
Which result
On 15/02/12 22:24, H. S. Teoh wrote:
What's the original rationale for requiring that hex float literals must
always have an exponent? For example, 0xFFi obviously must be float, not
integer, so why does the compiler (and the spec) require an exponent?
The syntax comes from C99.
On Thursday, 16 February 2012 at 10:24:44 UTC, Jonathan M Davis
wrote:
On Thursday, February 16, 2012 11:11:20 Jacob Carlborg wrote:
You can create an abstract class that implements some parts of
the
interface. Then the user (developer) is free to choose to
inherit from
the interface or the ab
On Thursday, February 16, 2012 11:11:20 Jacob Carlborg wrote:
> You can create an abstract class that implements some parts of the
> interface. Then the user (developer) is free to choose to inherit from
> the interface or the abstract class.
Which results in a classic problem that you run into in
On 2012-02-16 04:01, Kevin wrote:
I was implementing a framework and I found that I wanted two things.
- A strong set of interfaces so that I can get what I want from a
variety of sources.
- Some basic implementations of these interfaces.
For example, say I was writing a database class. I could
On Thursday, 16 February 2012 at 05:06:13 UTC, Jesse Phillips
wrote:
BTW, I totally recommend LuaD when interacting with lua.
Thank you for the explanation.
I've started with LuaD, but I kinda didn't like it, can't exactly
say why. I rather want to use Lua directly for now, and maybe
write my
On 02/16/2012 04:01 AM, Kevin wrote:
I was implementing a framework and I found that I wanted two things.
- A strong set of interfaces so that I can get what I want from a
variety of sources.
- Some basic implementations of these interfaces.
For example, say I was writing a database class. I cou
27 matches
Mail list logo