On Wednesday, 1 August 2012 at 15:11:37 UTC, Alexandr Druzhinin
wrote:
Hello all!
I'd like to use octree in my D project. May be someone has the
realization or knows where can I get it?
Thanks in advance.
Hi!
For which purpose do you need an octree implementation in d ?
Collision detectio
bearophile schrieb:
>> (while LDC doesn't do it, so I have to report this to the ldc devs and not
>> to Walter).<
>
> larsivi and Deew have told me that compiling with -inline -singleobj solves
> the problem with ldc, and my test shows it's true.
>
> Bye,
> bearophile
Should that not be a defa
bearophile schrieb:
> Scorn:
>
>> But D as a system-programming language with the ambition to be an
>> alternative to C / C++ has, at least in the long term, to compete with C /
>> C++ regarding these things.<
>
> I understand. The problem is that D is a ne
> Scorn:
>
>> double min(double a, double b, double c)
>> {
>> return a < b && a < c ? a : b < c ? b : c;
>> }
>
> Don't write code like that, add some parenthesys like this:
>
> return (a < b && a < c) ? a :
Don schrieb:
> Trass3r wrote:
>>> But a big problem is that inlining seems to be done only inside one
>>> module and not across modules which makes modules with something like
>>> small helper or math functions which are used across different modules
>>> senseless.
>>>
>>
>> Yeah, I think so as wel
Trass3r schrieb:
> Am 08.02.2010, 16:33 Uhr, schrieb Scorn :
>
>> Trass3r schrieb:
>>> Would be interesting.
>>
>>
>> Yes, this would be very interesting indeed. A list of the rules which
>> dmd uses internally for inlining functions and methods would
> Scorn:
>
>> Hi bearophile. Thanks for your advice (i might try out ldc in the future
>> but now i need phobos and not tango as standard library).
>
> I like DMD for some of the D2 features, for its speed, for allowing
> exceptions to be used on Windows too, for its
>>> Use LDC (D1), you will note a significant improvement over DMD.
>>>
>> Unless you're on windows.
>>
>
> Yep, second big problem.
And unless you're using CodeBlocks (like me at the moment) for
development ...
bearophile schrieb:
> Scorn:
>> The only things i figured out so far is that functions across modules do
>> not seem to get inlined (i don't know if this is the case in general)
>> which would be really bad. Another thing which i believe is that
>> functions / meth
Trass3r schrieb:
> Would be interesting.
Yes, this would be very interesting indeed. A list of the rules which
dmd uses internally for inlining functions and methods similiar to this
(which is for .NET)
http://blogs.msdn.com/ericgu/archive/2004/01/29/64717.aspx
would be really nice. Sure you ca
10 matches
Mail list logo