Re: Modern COM Programming in D

2012-01-25 Thread kdmult
On Wednesday, 25 January 2012 at 01:08:04 UTC, Lionello Lunesu wrote: Done: http://lunesu.com/uploads/ModernCOMProgramminginD.pdf Could you correct the URL of your files on the last page? My files http://dpxml-lio/d/

Re: Modern COM Programming in D

2012-01-25 Thread Andrei Alexandrescu
On 1/24/12 9:10 PM, Walter Bright wrote: On 1/24/2012 5:07 PM, Lionello Lunesu wrote: Done: http://lunesu.com/uploads/ModernCOMProgramminginD.pdf Added to interface.html http://www.reddit.com/r/programming/comments/ow7qc/modern_com_programming_in_d/ Andrei

Re: Modern COM Programming in D

2012-01-25 Thread bls
On 01/24/2012 09:07 AM, Lionello Lunesu wrote: Little over a year ago I held a tech talk at Microsoft about how I used D to write readable COM code. A while back I thought I'd try to get permission to share these slides, and what'dya know:

Re: Mozilla Rust 0.1

2012-01-25 Thread Steven Schveighoffer
On Wed, 25 Jan 2012 13:40:46 -0500, Alex Rønne Petersen xtzgzo...@gmail.com wrote: On 24-01-2012 23:50, Caligo wrote: On Tue, Jan 24, 2012 at 1:50 AM, dennis luehringdl.so...@gmx.net wrote: The Rust compiler 0.1 is unleashed

Re: Mozilla Rust 0.1

2012-01-25 Thread bearophile
Walter Bright: http://doc.rust-lang.org/doc/tutorial.html does not mention typestate nor variable owning. I find it rather difficult to determine what Rust actually does. I presume Rust documentation is not complete still. Beside variable owning and typestate, another significant feature

Re: Modern COM Programming in D

2012-01-25 Thread Lionello Lunesu
On 25-1-2012 2:26, Walter Bright wrote: On 1/24/2012 9:07 AM, Lionello Lunesu wrote: Little over a year ago I held a tech talk at Microsoft about how I used D to write readable COM code. A while back I thought I'd try to get permission to share these slides, and what'dya know:

Re: Modern COM Programming in D

2012-01-25 Thread Walter Bright
On 1/24/2012 5:07 PM, Lionello Lunesu wrote: Done: http://lunesu.com/uploads/ModernCOMProgramminginD.pdf Added to interface.html

Re: Modern COM Programming in D

2012-01-25 Thread Jesse Phillips
On Tuesday, 24 January 2012 at 17:08:01 UTC, Lionello Lunesu wrote: Little over a year ago I held a tech talk at Microsoft about how I used D to write readable COM code. A while back I thought I'd try to get permission to share these slides, and what'dya know:

Re: Mozilla Rust 0.1

2012-01-25 Thread Jesse Phillips
On Tuesday, 24 January 2012 at 22:11:43 UTC, Nick Sabalausky wrote: Bill Baxter wbax...@gmail.com wrote in message news:mailman.789.1327438644.16222.digitalmars-d-annou...@puremagic.com... Someone on Reddit pointed to this hard-to-find FAQ which sheds some light on what the point of it is:

Re: Mozilla Rust 0.1

2012-01-25 Thread Timon Gehr
On 01/25/2012 07:39 PM, Alex Rønne Petersen wrote: On 24-01-2012 23:51, Caligo wrote: On Tue, Jan 24, 2012 at 2:45 PM, bearophilebearophileh...@lycos.com wrote: Ary Manzana: And also, what's the advantage of the language? Its author is a very intelligent person, worth respect. Rust has

Re: Modern COM Programming in D

2012-01-25 Thread Lionello Lunesu
On 25-1-2012 14:56, kdmult wrote: On Wednesday, 25 January 2012 at 01:08:04 UTC, Lionello Lunesu wrote: Done: http://lunesu.com/uploads/ModernCOMProgramminginD.pdf Could you correct the URL of your files on the last page? My files http://dpxml-lio/d/ Yeah, that's not meant to work.

Re: Modern COM Programming in D

2012-01-25 Thread Lionello Lunesu
On 25-1-2012 14:56, kdmult wrote: On Wednesday, 25 January 2012 at 01:08:04 UTC, Lionello Lunesu wrote: Done: http://lunesu.com/uploads/ModernCOMProgramminginD.pdf Could you correct the URL of your files on the last page? My files http://dpxml-lio/d/ Yeah, that's not meant to work.

Re: Modern COM Programming in D

2012-01-25 Thread Lionello Lunesu
On 26-1-2012 0:58, bls wrote: On 01/24/2012 09:07 AM, Lionello Lunesu wrote: Little over a year ago I held a tech talk at Microsoft about how I used D to write readable COM code. A while back I thought I'd try to get permission to share these slides, and what'dya know:

Re: Modern COM Programming in D

2012-01-25 Thread Lionello Lunesu
On 26-1-2012 4:50, Jesse Phillips wrote: On Tuesday, 24 January 2012 at 17:08:01 UTC, Lionello Lunesu wrote: Little over a year ago I held a tech talk at Microsoft about how I used D to write readable COM code. A while back I thought I'd try to get permission to share these slides, and what'dya

Re: Modern COM Programming in D

2012-01-25 Thread Jesse Phillips
On Thursday, 26 January 2012 at 03:50:38 UTC, Lionello Lunesu wrote: Hmm, this would work beautifully! tlbimpd could be extended to generate the same kind of wrappers for each COM object/interface. About WinRT... That's actually how my code started out. There are still some WinR

Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread bls
On 01/25/2012 09:07 AM, Trass3r wrote: Whats.necessary to use D in order to create C++ bindings ? github.com/jacob-carlborg/dstep Quote DStep is a tool for converting C and Objective-C headers to D modules. Well THAT'S nitty gritty :) C++ as well ? How ? And maybe the most imp[ortant

Re: [OT] The Condescending UI (was: Do we need Win95/98/Me support?)

2012-01-25 Thread Derek
On Wed, 25 Jan 2012 11:08:40 +1100, Steven Schveighoffer schvei...@yahoo.com wrote: Me too :) We have a TV in the bedroom where the light was so bright, my wife couldn't sleep. So I taped over it. My new TV has a much dimmer light, but it's still there. You can configure the light to

Re: Can't the dmd source files finally get a proper C++ file extension?

2012-01-25 Thread Nick Sabalausky
Trass3r u...@known.com wrote in message news:op.v8md72wc3ncmek@enigma... Sorry, but it's needed for some ancient platform D has never and will never exist/ed on in. What platform is that? TRS-80! Amiright?

Re: binding tool for C libs

2012-01-25 Thread Gour
On Wed, 25 Jan 2012 02:27:24 +0400 Denis Shelomovskij verylonglogin@gmail.com wrote: Anyway, looks like that isn't the problem I'm trying to solve. I don't accenting on parsing C code (it's done in Function.__ctor and is obvious). The problem is to generate fast wrapper when we already

Re: dmd makefile dependencies

2012-01-25 Thread Rainer Schuetze
A simple and effective way to do it with gcc is to generate dependency files (*.dep) during compilation with -MD/-MF and include these into the makefile with -include *.dep On 25.01.2012 03:26, Trass3r wrote: I assume you mean the windows one? dmc is fast enough that recompiling takes very

Re: [OT] The Condescending UI (was: Do we need Win95/98/Me support?)

2012-01-25 Thread Nick Sabalausky
Steven Schveighoffer schvei...@yahoo.com wrote in message news:op.v8melay5eav7ka@localhost.localdomain... I read that post. I don't think you used it enough. The swiping *is not* the only interface to the photos. You can scroll rapidly through a list of albums (using swiping, but it has

Re: Can't the dmd source files finally get a proper C++ file extension?

2012-01-25 Thread Zachary Lund
On 01/25/2012 12:25 AM, torhu wrote: On 24.01.2012 03:35, Trass3r wrote: It's really annoying. clang++ gives a lot of warnings and IDEs are confused as well. Most compilers have switch a for specifying which language to compile as. That's not the point. If a project uses C++, why give the

Re: public aliases to private/package symbols

2012-01-25 Thread Sönke Ludwig
Another example would be synchronized classes: synchronized class X { public alias f g; private void f(){} } Now g() would be a public method that is not protected by the class' mutex. This case would have to be explicitly forbidden.

Re: public aliases to private/package symbols

2012-01-25 Thread Nick Sabalausky
Sönke Ludwig lud...@informatik.uni-luebeck.de wrote in message news:jfoh1s$25ce$1...@digitalmars.com... Another example would be synchronized classes: synchronized class X { public alias f g; private void f(){} } Now g() would be a public method that is not protected by the class'

Re: public aliases to private/package symbols

2012-01-25 Thread Nick Sabalausky
Nick Sabalausky a@a.a wrote in message news:jfojur$2a7l$1...@digitalmars.com... Sönke Ludwig lud...@informatik.uni-luebeck.de wrote in message news:jfoh1s$25ce$1...@digitalmars.com... Another example would be synchronized classes: synchronized class X { public alias f g; private void

C/C++ backend for DMD?

2012-01-25 Thread equinox
Hi, I have been thinking . Would not C and C++ backend would make DMD more versatile? D language could be used in many platforms easily. D language could be used in .net and elsewhere. It could be compiled with other language that are also translated into C/C++. Regards Márton Papp

Re: public aliases to private/package symbols

2012-01-25 Thread Sönke Ludwig
Am 25.01.2012 11:02, schrieb Nick Sabalausky: Nick Sabalauskya@a.a wrote in message news:jfojur$2a7l$1...@digitalmars.com... Sönke Ludwiglud...@informatik.uni-luebeck.de wrote in message news:jfoh1s$25ce$1...@digitalmars.com... Another example would be synchronized classes: synchronized

Re: D for the web?

2012-01-25 Thread Tobias Pankrath
What's your point? Any one of them answered the wrong way would render it unusuable for my use-cases. Technical or not, that certainly makes them relevent. My point was, that compiling a language like D/Java to Javascript for web programming is an approach, that can work well. Your

Re: FFT in D (using SIMD) and benchmarks

2012-01-25 Thread Marco Leise
If you want to, you can take a look at the link in this forum post: http://encode.ru/threads/1461-New-Fast-Fourier-Transform-Algorithm?highlight=FFT It looks like MIT has a new FFT algorithm.

Re: D for the web?

2012-01-25 Thread Nick Sabalausky
Tobias Pankrath tob...@pankrath.net wrote in message news:jfoo3q$2ge8$1...@digitalmars.com... What's your point? Any one of them answered the wrong way would render it unusuable for my use-cases. Technical or not, that certainly makes them relevent. My point was, that compiling a language

Re: C/C++ backend for DMD?

2012-01-25 Thread Nick Sabalausky
equi...@atw.hu wrote in message news:op.v8mxx6s9xa30qa@marton-pc... Hi, I have been thinking . Would not C and C++ backend would make DMD more versatile? D language could be used in many platforms easily. D language could be used in .net and elsewhere. It could be compiled with other language

Re: C/C++ backend for DMD?

2012-01-25 Thread Bernard Helyer
On Wednesday, 25 January 2012 at 12:03:15 UTC, Nick Sabalausky wrote: equi...@atw.hu wrote in message news:op.v8mxx6s9xa30qa@marton-pc... Hi, I have been thinking . Would not C and C++ backend would make DMD more versatile? D language could be used in many platforms easily. D language could

Re: FFT in D (using SIMD) and benchmarks

2012-01-25 Thread Robert Jacques
On Wed, 25 Jan 2012 05:58:52 -0600, Marco Leise marco.le...@gmx.de wrote: If you want to, you can take a look at the link in this forum post: http://encode.ru/threads/1461-New-Fast-Fourier-Transform-Algorithm?highlight=FFT It looks like MIT has a new FFT algorithm. For those who want the short

Re: [OT] The Condescending UI (was: Do we need Win95/98/Me support?)

2012-01-25 Thread Steven Schveighoffer
On Wed, 25 Jan 2012 03:43:15 -0500, Nick Sabalausky a@a.a wrote: Steven Schveighoffer schvei...@yahoo.com wrote in message news:op.v8melay5eav7ka@localhost.localdomain... I read that post. I don't think you used it enough. The swiping *is not* the only interface to the photos. You can

Re: C/C++ backend for DMD?

2012-01-25 Thread Steven Schveighoffer
On Wed, 25 Jan 2012 05:26:20 -0500, equi...@atw.hu wrote: Hi, I have been thinking . Would not C and C++ backend would make DMD more versatile? D language could be used in many platforms easily. D language could be used in .net and elsewhere. It could be compiled with other language that

Re: Can't the dmd source files finally get a proper C++ file extension?

2012-01-25 Thread Trass3r
Exactly. Even a capital .C is recognized as C++ source code if .cpp isn't desired.

Re: dmd makefile dependencies

2012-01-25 Thread Trass3r
Am 25.01.2012, 08:36 Uhr, schrieb Rainer Schuetze r.sagita...@gmx.de: A simple and effective way to do it with gcc is to generate dependency files (*.dep) during compilation with -MD/-MF and include these into the makefile with -include *.dep That sounds sound :)

Re: dmd makefile dependencies

2012-01-25 Thread Trass3r
Run a clean build and test every so often (several times per hour) but MOST builds should be incremental so as to be as fast as can be managed. Yep, even Clang needs half a minute to do a full build for me.

automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread bls
I have to say that I am very disappointed regarding the feedback I got from from my wxWidgets good news message. Here is a historical chance to enhance D's spectrum in a way that has been pipe-dream just a few month ago and the community feedback is : ) we are busy with optimizing bla bla.

Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread Trass3r
Whats.necessary to use D in order to create C++ bindings ? github.com/jacob-carlborg/dstep

Re: Can't the dmd source files finally get a proper C++ file extension?

2012-01-25 Thread Marco Leise
Am 25.01.2012, 16:23 Uhr, schrieb Trass3r u...@known.com: Exactly. Even a capital .C is recognized as C++ source code if .cpp isn't desired. The poor github is also confused: https://github.com/D-Programming-Language/dmd/graphs/languages

Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread Zachary Lund
On 01/25/2012 11:41 AM, bls wrote: On 01/25/2012 09:07 AM, Trass3r wrote: Whats.necessary to use D in order to create C++ bindings ? github.com/jacob-carlborg/dstep Quote DStep is a tool for converting C and Objective-C headers to D modules. Well THAT'S nitty gritty :) C++ as well ? How

Re: Message-Passing

2012-01-25 Thread Manu
On 23 January 2012 02:00, Timon Gehr timon.g...@gmx.ch wrote: Erlang *has* been used in multiple large projects and it is likely that you make use of some service that is powered by erlang on a daily basis. It is successful in its niche. Copying its message passing API is reasonable and safe:

Re: FFT in D (using SIMD) and benchmarks

2012-01-25 Thread Manu
Can you paste disassembly's of the GDC code and the G++ code? I imagine there's something trivial in the scheduler that GDC has missed. Like the other day I noticed GDC was unnecessarily generating a stack frame for leaf functions, which Iain already fixed. I'd also be interested to try out my

Re: Aliasing of template results

2012-01-25 Thread Manu
On 22 January 2012 20:36, Alex Rønne Petersen xtzgzo...@gmail.com wrote: On 22-01-2012 19:33, Andrej Mitrovic wrote: A while ago there was a suggestion by Andrei to incorporate this sort of syntax: template ElementType(T : T[]) { alias ElementType = T; } struct Foo(T) { alias

Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread bls
On 01/25/2012 10:01 AM, Zachary Lund wrote: On 01/25/2012 11:41 AM, bls wrote: On 01/25/2012 09:07 AM, Trass3r wrote: Whats.necessary to use D in order to create C++ bindings ? github.com/jacob-carlborg/dstep Quote DStep is a tool for converting C and Objective-C headers to D modules.

Re: FFT in D (using SIMD) and benchmarks

2012-01-25 Thread Iain Buclaw
On 25 January 2012 12:54, Manu turkey...@gmail.com wrote: Can you paste disassembly's of the GDC code and the G++ code? I imagine there's something trivial in the scheduler that GDC has missed. Like the other day I noticed GDC was unnecessarily generating a stack frame for leaf functions,

Re: using enums for flags

2012-01-25 Thread Simen Kjærås
On Wed, 25 Jan 2012 03:22:03 +0100, Trass3r u...@known.com wrote: Does it really make sense to allow bitwise operations on different enums? Maybe. Certainly sometimes, but those could just as easily use casts. There should at least be some way to get this straight without having to resort

Re: public aliases to private/package symbols

2012-01-25 Thread Nick Sabalausky
Peter Alexander peter.alexander...@gmail.com wrote in message news:jzvidktaqmkptrooi...@dfeed.kimsufi.thecybershadow.net... On Wednesday, 25 January 2012 at 00:08:25 UTC, Timon Gehr wrote: Accessibility-raising aliases are trivially safe, because the alias declaration must have access to the

Re: public aliases to private/package symbols

2012-01-25 Thread Timon Gehr
On 01/25/2012 01:59 AM, Peter Alexander wrote: On Wednesday, 25 January 2012 at 00:08:25 UTC, Timon Gehr wrote: Accessibility-raising aliases are trivially safe, because the alias declaration must have access to the aliased symbol. You are probably right about not introducing holes, but I can

Re: D for the web?

2012-01-25 Thread Nick Sabalausky
F i L witte2...@gmail.com wrote in message news:yfxraaqypcvgjmpic...@dfeed.kimsufi.thecybershadow.net... Nick Sabalausky wrote: Although sometimes I almost want to root for MS though: MS's box model and JS mouse API both prove just how far the W3C has it's head up its ass. I can't help

Re: dmd makefile dependencies

2012-01-25 Thread Daniel Murphy
I assume you mean the windows one? dmc is fast enough that recompiling takes very little time, especially compared to running the test suites. So long as you don't modify any header files you shouldn't need to recompile everything anyway... iirc Walter's complaint is that the makefiles

Re: FFT in D (using SIMD) and benchmarks

2012-01-25 Thread a
On Wednesday, 25 January 2012 at 00:49:15 UTC, bearophile wrote: a: Because dmd currently doesn't have an intrinsic for the SHUFPS instruction I've included a version block with some GDC specific code (this gave me a speedup of up to 80%). It seems an instruction worth having in dmd too.

Re: D for the web?

2012-01-25 Thread Marco Leise
Am 24.01.2012, 20:57 Uhr, schrieb F i L witte2...@gmail.com: I'm unfamiliar with Java Web Start, but if it's anything like MS's ActiveX plugin (which is commonly compared to NaCL) then it differs from NaCL in one major way: security. ActiveX could run native native code in a browser as

Re: [OT] The Condescending UI (was: Do we need Win95/98/Me support?)

2012-01-25 Thread Stewart Gordon
On 24/01/2012 00:13, Walter Bright wrote: snip Copyrights expire after 20 years. Renewable for another 20 years for a fee of $1000/year per registered copyright. So your idea is to make it harder for people to keep their works copyrighted? Under your plan, what will happen to copyrighted

using enums for flags

2012-01-25 Thread Trass3r
So I was just reading http://stackoverflow.com/questions/1448396/how-to-use-enums-as-flags-in-c And did a quick test: enum STC { A = 0x1, B = 0x2, C = 0x4 } enum FOO { F = 0x8, G = 0x10 } void main() { STC s = STC.A | STC.C; STC s2 = s

Re: dmd makefile dependencies

2012-01-25 Thread Trass3r
I assume you mean the windows one? dmc is fast enough that recompiling takes very little time, especially compared to running the test suites. Nope, Linux. iirc Walter's complaint is that the makefiles quickly get out of sync anyway, so it's a better habit to use make clean constantly

Re: FFT in D (using SIMD) and benchmarks

2012-01-25 Thread bearophile
a: I have updated the graph now. Thank you, it's a very nice graph. The reference lines of FFTW help. From how much AVX improves the situation I see Intel engineers know their work; I didn't know AVX is able to bring such performance improvement (in carefully written code). The C++

Re: [OT] The Condescending UI (was: Do we need Win95/98/Me support?)

2012-01-25 Thread Nick Sabalausky
Steven Schveighoffer schvei...@yahoo.com wrote in message news:op.v8l5cqtfeav7ka@localhost.localdomain... I just stayed in a hotel this past weekend, where the bedside lamp had those same O and | symbols. When I wanted to turn the light on or off, do you really think I spent a single

Re: public aliases to private/package symbols

2012-01-25 Thread Nick Sabalausky
Timon Gehr timon.g...@gmx.ch wrote in message news:jfnlpu$k0p$1...@digitalmars.com... On 01/25/2012 01:59 AM, Peter Alexander wrote: On Wednesday, 25 January 2012 at 00:08:25 UTC, Timon Gehr wrote: Accessibility-raising aliases are trivially safe, because the alias declaration must have

Re: [OT] The Condescending UI (was: Do we need Win95/98/Me support?)

2012-01-25 Thread Walter Bright
On 1/24/2012 6:18 PM, Stewart Gordon wrote: On 24/01/2012 00:13, Walter Bright wrote: snip Copyrights expire after 20 years. Renewable for another 20 years for a fee of $1000/year per registered copyright. So your idea is to make it harder for people to keep their works copyrighted? After

Re: public aliases to private/package symbols

2012-01-25 Thread Timon Gehr
On 01/25/2012 03:56 AM, Nick Sabalausky wrote: Timon Gehrtimon.g...@gmx.ch wrote in message news:jfnlpu$k0p$1...@digitalmars.com... On 01/25/2012 01:59 AM, Peter Alexander wrote: On Wednesday, 25 January 2012 at 00:08:25 UTC, Timon Gehr wrote: Accessibility-raising aliases are trivially

Re: Can't the dmd source files finally get a proper C++ file extension?

2012-01-25 Thread Trass3r
Sorry, but it's needed for some ancient platform D has never and will never exist/ed on in. What platform is that?

Re: dmd makefile dependencies

2012-01-25 Thread Daniel Murphy
Trass3r u...@known.com wrote in message news:op.v8mbp6li3ncmek@enigma... I assume you mean the windows one? dmc is fast enough that recompiling takes very little time, especially compared to running the test suites. Nope, Linux. Ah ok, different issue.

Re: [OT] The Condescending UI (was: Do we need Win95/98/Me support?)

2012-01-25 Thread Nick Sabalausky
Stewart Gordon smjg_1...@yahoo.com wrote in message news:jfnoph$p5c$1...@digitalmars.com... On 24/01/2012 00:13, Walter Bright wrote: snip Copyrights expire after 20 years. Renewable for another 20 years for a fee of $1000/year per registered copyright. I can't answer for Walter. But, for

Re: [OT] The Condescending UI (was: Do we need Win95/98/Me support?)

2012-01-25 Thread Steven Schveighoffer
On Tue, 24 Jan 2012 21:46:05 -0500, Nick Sabalausky a@a.a wrote: Steven Schveighoffer schvei...@yahoo.com wrote in message news:op.v8l5cqtfeav7ka@localhost.localdomain... You may hate to hear it, but the company that usually gets this right is Apple :) My palm phone had an LED that

Re: dmd makefile dependencies

2012-01-25 Thread bcs
On 01/24/2012 05:50 PM, Daniel Murphy wrote: I assume you mean the windows one? dmc is fast enough that recompiling takes very little time, especially compared to running the test suites. So long as you don't modify any header files you shouldn't need to recompile everything anyway... iirc

Re: public aliases to private/package symbols

2012-01-25 Thread Nick Sabalausky
Timon Gehr timon.g...@gmx.ch wrote in message news:jfnsne$10re$1...@digitalmars.com... On 01/25/2012 03:56 AM, Nick Sabalausky wrote: There's no need for special cases. Just don't go de-aliasing symbols. That takes care of everything. It does not. private class A{ static A

Re: public aliases to private/package symbols

2012-01-25 Thread Nick Sabalausky
Nick Sabalausky a@a.a wrote in message news:jfo1i0$18rq$1...@digitalmars.com... Timon Gehr timon.g...@gmx.ch wrote in message news:jfnsne$10re$1...@digitalmars.com... On 01/25/2012 03:56 AM, Nick Sabalausky wrote: There's no need for special cases. Just don't go de-aliasing symbols. That

Re: Can't the dmd source files finally get a proper C++ file extension?

2012-01-25 Thread torhu
On 24.01.2012 03:35, Trass3r wrote: It's really annoying. clang++ gives a lot of warnings and IDEs are confused as well. Most compilers have switch a for specifying which language to compile as.

Deimos: Request for repository for libFLAC

2012-01-25 Thread Jonathan M Davis
Walter, or one of the few that has permission to create a repository in libFLAC (Brad and Andrei? I don't remember who), would you please create a repository for libFLAC? I'd like to add the bindings for it. Thanks. - Jonathan M Davis

Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread Gour
On Wed, 25 Jan 2012 10:44:43 -0800 bls bizp...@orange.fr wrote: Unfortunately I am not a student anymore instead I am a unhappy tax payer. Same here. To fulfill my Job I need GUI,RIA(WEB), Database and XML(SOAP) support. I need GUI Database support, but not for the job, but for a

MS extend C++ significantly for Windows8... and Andrei got name drop

2012-01-25 Thread Manu
http://channel9.msdn.com/Events/BUILD/BUILD2011/TOOL-532T This is fairly interesting. MS have extended their C++ compiler significantly for Windows8 with a bunch of non-standard stuff. FINALLY implement garbage collection, ref counting, properties, delegates, events, generics, etc... If other

Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread Jacob Carlborg
On 2012-01-25 18:41, bls wrote: On 01/25/2012 09:07 AM, Trass3r wrote: Whats.necessary to use D in order to create C++ bindings ? github.com/jacob-carlborg/dstep Quote DStep is a tool for converting C and Objective-C headers to D modules. Well THAT'S nitty gritty :) C++ as well ? How ?

Windows API and druntime/Phobos

2012-01-25 Thread Jonathan M Davis
The level of support for the Windows API in druntime and Phobos is pretty low. As I understand it, Windows users are pretty much forced to use http://www.dsource.org/projects/bindings/browser/trunk/win32 if they need comprehensive Win32 API bindings. druntime seems to be trying to define all of

Re: D for the web?

2012-01-25 Thread Klaim - Joël Lamotte
Let just make sure D can compile for NaCl and wait for it to be on other browsers than Chrome... Native code should be executed in native. Klaim

Re: import question

2012-01-25 Thread Manu
On 23 January 2012 12:47, Don Clugston d...@nospam.com wrote: On 22/01/12 03:56, Nick Sabalausky wrote: Jonathan M Davisjmdavisp...@gmx.com wrote in message news:mailman.670.1327197408.**16222.digitalmars-d@puremagic.**com... On Saturday, January 21, 2012 22:28:20 equi...@atw.hu wrote:

Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread Jacob Carlborg
On 2012-01-25 20:13, Jacob Carlborg wrote: On 2012-01-25 18:41, bls wrote: On 01/25/2012 09:07 AM, Trass3r wrote: Whats.necessary to use D in order to create C++ bindings ? github.com/jacob-carlborg/dstep Quote DStep is a tool for converting C and Objective-C headers to D modules. Well

Re: Windows API and druntime/Phobos

2012-01-25 Thread Vladimir Panteleev
On Wednesday, 25 January 2012 at 19:16:34 UTC, Jonathan M Davis wrote: The level of support for the Windows API in druntime and Phobos is pretty low. As I understand it, Windows users are pretty much forced to use http://www.dsource.org/projects/bindings/browser/trunk/win32 if they need

Re: using enums for flags

2012-01-25 Thread Era Scarecrow
On Wed, 25 Jan 2012 03:22:03 +0100, Trass3r u...@known.com wrote: Does it really make sense to allow bitwise operations on different enums? Maybe. Certainly sometimes, but those could just as easily use casts. There should at least be some way to get this straight without having to 

Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread bls
On 01/25/2012 11:06 AM, Gour wrote: After researching a lot, I believe that wxWidgets is the best solution for multi-platform development and I'll try to help as much as possible those people trying to make it happen. Sinvcerely, Gour Hi Gour thanks for the feedback, Indeed. wxWidgets in

Re: Windows API and druntime/Phobos

2012-01-25 Thread Don
On 25.01.2012 05:48, Jonathan M Davis wrote: The level of support for the Windows API in druntime and Phobos is pretty low. As I understand it, Windows users are pretty much forced to use http://www.dsource.org/projects/bindings/browser/trunk/win32 if they need comprehensive Win32 API bindings.

Re: MS extend C++ significantly for Windows8... and Andrei got name drop

2012-01-25 Thread bls
On 01/25/2012 07:03 AM, Manu wrote: This is fairly interesting. MS have extended their C++ compiler significantly for Windows8 with a bunch of non-standard stuff. FINALLY implement garbage collection, ref counting, properties, delegates, events, generics, etc... If other compilers adopt this

Re: Windows API and druntime/Phobos

2012-01-25 Thread Jesse Phillips
On Wednesday, 25 January 2012 at 19:16:34 UTC, Jonathan M Davis wrote: The level of support for the Windows API in druntime and Phobos is pretty low. As I understand it, Windows users are pretty much forced to use http://www.dsource.org/projects/bindings/browser/trunk/win32 if they need

Re: C/C++ backend for DMD?

2012-01-25 Thread Andrew Wiley
On Wed, Jan 25, 2012 at 4:26 AM, equi...@atw.hu wrote: Hi, I have been thinking . Would not C and C++ backend would make DMD more versatile? D language could be used in many platforms easily. D language could be used in .net and elsewhere. It could be compiled with other language that are

Re: FFT in D (using SIMD) and benchmarks

2012-01-25 Thread Manu
On 25 January 2012 20:50, Iain Buclaw ibuc...@ubuntu.com wrote: On 25 January 2012 12:54, Manu turkey...@gmail.com wrote: Can you paste disassembly's of the GDC code and the G++ code? I imagine there's something trivial in the scheduler that GDC has missed. Like the other day I noticed GDC

Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread Gour
On Wed, 25 Jan 2012 11:26:34 -0800 bls bizp...@orange.fr wrote: wxWidgets in 2.9.3 has closed the gap to QT. (webkit, f.i.) The documentation is also very close to what QT has to offer thanks to Doxygen. Let's hope 3.0 will polish it even further. I wonder how much sense it would make

Re: MS extend C++ significantly for Windows8... and Andrei got name drop

2012-01-25 Thread Trass3r
Even if you paint shit yellow it's not necessarily gold. :D

Re: [OT] The Condescending UI (was: Do we need Win95/98/Me support?)

2012-01-25 Thread Nick Sabalausky
Steven Schveighoffer schvei...@yahoo.com wrote in message news:op.v8nbixzyeav7ka@localhost.localdomain... I must rave about the trackpad on the macbook pro. The interface is so damned good, I hate going back to my linux laptop (which I must do for work). A good trackpad?!? That seems

Re: MS extend C++ significantly for Windows8... and Andrei got name drop

2012-01-25 Thread Trass3r
This is fairly interesting. MS have extended their C++ compiler significantly for Windows8 with a bunch of non-standard stuff. Yeah, while refusing to implement most of C++11.

Re: MS extend C++ significantly for Windows8... and Andrei got name drop

2012-01-25 Thread Manu
On 25 January 2012 21:47, bls bizp...@orange.fr wrote: On 01/25/2012 07:03 AM, Manu wrote: This is fairly interesting. MS have extended their C++ compiler significantly for Windows8 with a bunch of non-standard stuff. FINALLY implement garbage collection, ref counting, properties,

Re: MS extend C++ significantly for Windows8... and Andrei got name drop

2012-01-25 Thread Manu
On 25 January 2012 23:33, Trass3r u...@known.com wrote: This is fairly interesting. MS have extended their C++ compiler significantly for Windows8 with a bunch of non-standard stuff. Yeah, while refusing to implement most of C++11. Good! The C++11 committee should be shot. They've got it

Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread Andrej Mitrovic
The Json parsing I've initially attempted was a mistake. I've assumed the XML parsing would be harder than necessary, but I ended up fighting wxPhp's arbitrary Json output (arrays holding objects of different types.. which is no good for D, or my sanity). Yesterday I've started working on xml

Re: Windows API and druntime/Phobos

2012-01-25 Thread Yao Gómez
On Wednesday, 25 January 2012 at 19:58:40 UTC, Jesse Phillips wrote: [snip] Phobos already has std.windows, it just needs expanded. The issue is that this would be a huge undertaking, as the std.windows (or core.sys.windows, to be more precise) is awfully incomplete. Maybe we could add the

OT

2012-01-25 Thread Trass3r
For some reason your messages never have the proper position (i.e. they aren't connected with the post the respond to) in the message tree.

Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread Trass3r
I'm trying to reimplement the code as a separate tool in D using the Clang C bindings. So far it's not working out that well, there's not much documentation available. Are the C bindings complete? I imagine they don't get that much attention.

Re: automated C++ binding generation.. Booost D, NO , Not us. SIMD is more important.

2012-01-25 Thread Trass3r
Whats.necessary to use D in order to create C++ bindings ? I forgot SWIG.

Re: Windows API and druntime/Phobos

2012-01-25 Thread Vladimir Panteleev
On Wednesday, 25 January 2012 at 19:58:40 UTC, Jesse Phillips wrote: I don't think it makes sense in Druntime. It isn't required for the compiler to work that I know of. Underlying implementation of language features trickles down to using either the DMC runtime or Windows APIs. Druntime

Re: Windows API and druntime/Phobos

2012-01-25 Thread Trass3r
There is no obvious finer-grained separation of modules, so including only a part of them would need to be done on mostly subjective decisions. Yep, Walter just added what he used.

Re: [OT] The Condescending UI

2012-01-25 Thread David Gileadi
On 1/25/12 2:31 PM, Nick Sabalausky wrote: Steven Schveighofferschvei...@yahoo.com wrote in message news:op.v8nbixzyeav7ka@localhost.localdomain... I must rave about the trackpad on the macbook pro. The interface is so damned good, I hate going back to my linux laptop (which I must do for

  1   2   3   >