Re: DirectX bindings

2013-11-11 Thread evilrat
On Friday, 8 November 2013 at 02:57:25 UTC, Andrej Mitrovic wrote: On 11/3/13, evilrat evilrat...@gmail.com wrote: https://github.com/evilrat666/directx-d Nice! I tried porting one of the samples from the SDK but it uses D3DX11CompileFromFile which is missing in the bindings. MSDN says they

Static Parameter Function Specialization in D

2013-11-11 Thread Nordlöw
I've read somewhere that D supports specialization of functions to calls where arguments are compile-time constants. Typical use of this is in matrix power functions (if exponent is 2 `x*x` is often faster than the general case). I want this in my member function bool

Re: Static Parameter Function Specialization in D

2013-11-11 Thread Xinok
On Monday, 11 November 2013 at 13:41:04 UTC, Nordlöw wrote: I've read somewhere that D supports specialization of functions to calls where arguments are compile-time constants. Typical use of this is in matrix power functions (if exponent is 2 `x*x` is often faster than the general case). I

Re: Static Parameter Function Specialization in D

2013-11-11 Thread Dicebot
Please never post such questions to announcement list. There is a D.learn for that.

Re: dchip is a D2 port of the Chipmunk2D physics library for 2D games

2013-11-11 Thread Andrej Mitrovic
On 11/11/13, Sergei Nosov sergei.no...@gmail.com wrote: I've done some experiments regarding dmd/ldc comparison. Machine: Ubuntu 12.04 (x86_64), Intel® Core™ i5-3470 CPU @ 3.20GHz × 4 Compilers: DMD64 D Compiler v2.064, LDC - the LLVM D compiler (0.12.0): based on DMD v2.063.2 and LLVM

Re: code.dlang.org now supports categories and search

2013-11-11 Thread Andrej Mitrovic
On 11/10/13, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: On 11/10/13, Sönke Ludwig slud...@outerproduct.org wrote: I've also thought about that in the past days, shouldn't be difficult to add (an RSS feed could also be interesting). I didn't want to appear needy, but yes an RSS feed

Re: Static Parameter Function Specialization in D

2013-11-11 Thread Nordlöw
On Monday, 11 November 2013 at 14:41:14 UTC, Dicebot wrote: Please never post such questions to announcement list. There is a D.learn for that. I'm very sorry. It was a mistake. Can I move or delete this post?

Re: The D in Novosibirsk State University

2013-11-11 Thread Joakim
On Sunday, 10 November 2013 at 20:05:29 UTC, Michael wrote: Yes, Russia) Topic: The D Programming Language: features and application. Author: Nikolai Tolstokulakov. Event: NSU Tech Talks Date: Nov 05, 2013 Slides:

Re: dmd 2.064.2

2013-11-11 Thread Jacob Carlborg
On 2013-11-05 23:08, Walter Bright wrote: Ok, this is it: http://ftp.digitalmars.com/dmd_2.064.2-0_amd64.deb http://ftp.digitalmars.com/dmd-2.064.2-0.fedora.i386.rpm http://ftp.digitalmars.com/dmd-2.064.2-0.fedora.x86_64.rpm http://ftp.digitalmars.com/dmd_2.064.2-0_i386.deb

Re: dmd 2.064.2

2013-11-11 Thread Jordi Sayol
El 11/11/13 19:00, Jacob Carlborg ha escrit: The version says DMD64 D Compiler v2.064 instead of DMD64 D Compiler v2.064.2. Same on Linux. On v2.064.2: ... DMD64 D Compiler v2.064 ... On v2.063.2: ... DMD64 D Compiler v2.063.2 ... -- Jordi Sayol

Re: The D in Novosibirsk State University

2013-11-11 Thread Michael
On Sunday, 10 November 2013 at 23:19:22 UTC, Froglegs wrote: Slides are in English, do most Russian programmers speak English? Not only programmers and English. It's mix of education, culture and pro activity (Internet helps). Also additional language adds additional + to karma ;)

Re: dmd 2.064.2

2013-11-11 Thread Rory McGuire
On 11 Nov 2013 20:32, Jordi Sayol g.sa...@yahoo.es wrote: El 11/11/13 19:00, Jacob Carlborg ha escrit: The version says DMD64 D Compiler v2.064 instead of DMD64 D Compiler v2.064.2. Walter said the version number was not updated before compile, sounded like he preferred not to have to

Re: dchip is a D2 port of the Chipmunk2D physics library for 2D games

2013-11-11 Thread Sergei Nosov
On Monday, 11 November 2013 at 15:29:20 UTC, Andrej Mitrovic wrote: On 11/11/13, Sergei Nosov sergei.no...@gmail.com wrote: I've done some experiments regarding dmd/ldc comparison. Machine: Ubuntu 12.04 (x86_64), Intel® Core™ i5-3470 CPU @ 3.20GHz × 4 Compilers: DMD64 D Compiler v2.064, LDC -

Re: dchip is a D2 port of the Chipmunk2D physics library for 2D games

2013-11-11 Thread Andrej Mitrovic
On 11/12/13, Sergei Nosov sergei.no...@gmail.com wrote: In my version of dub it's -release -inline -O. I've tried also adding the -noboundscheck flag and it yielded the same results. I guess the setup for ldc is similar. What about using -version=CHIP_USE_DOUBLES ? I get quite a slowdown when

Re: Static Parameter Function Specialization in D

2013-11-11 Thread Jonathan M Davis
On Monday, November 11, 2013 17:56:38 Nordlöw wrote: On Monday, 11 November 2013 at 14:41:14 UTC, Dicebot wrote: Please never post such questions to announcement list. There is a D.learn for that. I'm very sorry. It was a mistake. Can I move or delete this post? No. This forum has three

Re: dchip is a D2 port of the Chipmunk2D physics library for 2D games

2013-11-11 Thread Sergei Nosov
On Tuesday, 12 November 2013 at 04:07:14 UTC, Andrej Mitrovic wrote: On 11/12/13, Sergei Nosov sergei.no...@gmail.com wrote: In my version of dub it's -release -inline -O. I've tried also adding the -noboundscheck flag and it yielded the same results. I guess the setup for ldc is similar.

Re: Visual D 0.3.37 released

2013-11-11 Thread evilrat
On Sunday, 10 November 2013 at 08:53:08 UTC, evilrat wrote: ok i forgot about output pane. so what i see here... ConsoleApp1\Debug\ConsoleApp1.pdb: cannot load PDB helper DLL so the problem with debug server formats? i wish it would work with visual studio 2013 soon, but at least x64 debug