Re: Call D code from C#

2014-01-09 Thread Jacob Carlborg
On 2014-01-09 23:09, tc wrote: I'm from C# world and this is exactly what will make a huge difference. Have a nice portable language with a nice portable UI toolkit. I would like to learn Qt, but for me C++ is a no go (I'm too much used to GC world simplicity/productivity). Have a look at DWT:

Re: Call D code from C#

2014-01-09 Thread Rikki Cattermole
On Thursday, 9 January 2014 at 22:09:14 UTC, tc wrote: Which i a real shame...If D was able to access a UI like Qt, it would give a tremendous push to the language. Not being able to use easily some UI from D is holding back many people. I think Qt is the only reason some people prefer C++ even

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Jameson Ernst
On Friday, 10 January 2014 at 03:29:06 UTC, Alexander Bothe wrote: On Friday, 10 January 2014 at 02:33:05 UTC, Jameson Ernst wrote: On a hunch that maybe it has to do with some strange assembly version or mono version mismatch, I used monodis/ilasm to roundtrip the assembly, reassembling it aga

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Alexander Bothe
On Friday, 10 January 2014 at 02:33:05 UTC, Jameson Ernst wrote: On a hunch that maybe it has to do with some strange assembly version or mono version mismatch, I used monodis/ilasm to roundtrip the assembly, reassembling it against the dependencies provided in the git repo. It still exhibits t

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Jameson Ernst
On Friday, 10 January 2014 at 02:33:05 UTC, Jameson Ernst wrote: Since recompiling from source fixes the problem, this is difficult to test. However, since I've successfully roundtripped the broken dll, I can try to find and set that value in the IL itself. My IL knowledge is a bit rusty, but I

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Jameson Ernst
On a hunch that maybe it has to do with some strange assembly version or mono version mismatch, I used monodis/ilasm to roundtrip the assembly, reassembling it against the dependencies provided in the git repo. It still exhibits the same breakpoint issue, so something is the code itself must be

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Alexander Bothe
On Friday, 10 January 2014 at 00:04:41 UTC, Jameson Ernst wrote: On Thursday, 9 January 2014 at 23:15:12 UTC, Alexander Bothe wrote: On Thursday, 9 January 2014 at 22:50:09 UTC, Daniel Kozak wrote: On Thursday, 9 January 2014 at 21:47:40 UTC, Alexander Bothe wrote: So btw, could you please de

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Jameson Ernst
On Thursday, 9 January 2014 at 23:15:12 UTC, Alexander Bothe wrote: On Thursday, 9 January 2014 at 22:50:09 UTC, Daniel Kozak wrote: On Thursday, 9 January 2014 at 21:47:40 UTC, Alexander Bothe wrote: So btw, could you please define 'does not work'? Is there an exception, is there just a sile

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Alexander Bothe
On Thursday, 9 January 2014 at 22:50:09 UTC, Daniel Kozak wrote: On Thursday, 9 January 2014 at 21:47:40 UTC, Alexander Bothe wrote: So btw, could you please define 'does not work'? Is there an exception, is there just a silent quit, is there a mysterious return value -1 when executing the pr

Re: Range-Based Graph Search in D (blog post)

2014-01-09 Thread Peter Alexander
On Thursday, 9 January 2014 at 22:54:11 UTC, bearophile wrote: Peter Alexander: http://poita.org/2014/01/09/range-based-graph-search-in-d.html I'd like to see the usage of a not implicit graph. There is a crude example in the unit test in the file. You could actually create an non-implicit

Re: Range-Based Graph Search in D (blog post)

2014-01-09 Thread bearophile
Peter Alexander: http://poita.org/2014/01/09/range-based-graph-search-in-d.html I'd like to see the usage of a not implicit graph. Regarding this line: static d(string a, string b) { return zip(a, b).count!"a[0] != a[1]"; } An alternative: enum dist = (in string s, in string s2) pure =>

Re: Range-Based Graph Search in D (blog post)

2014-01-09 Thread qznc
On Thursday, 9 January 2014 at 22:04:16 UTC, Peter Alexander wrote: Trying to write a bit more about D on my blog now. To start, I've written about a proof-of-concept range-based API for graph search. http://poita.org/2014/01/09/range-based-graph-search-in-d.html I'd greatly appreciate any fe

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Daniel Kozak
On Thursday, 9 January 2014 at 21:47:40 UTC, Alexander Bothe wrote: So btw, could you please define 'does not work'? Is there an exception, is there just a silent quit, is there a mysterious return value -1 when executing the program with the debugger? http://youtu.be/HRJgyFi6Zes

Re: Call D code from C#

2014-01-09 Thread tc
May I ask why is GtkD not an option? Do not get me wrong, I am not a GTK advocate, I am myself a FLTK user/developer. However, GTK would probably be my second choice after FLTK, if I ever had to chose another GUI toolkit for my C++ projects. Look at this comparison: http://bit.ly/KFbLbs In s

Re: Call D code from C#

2014-01-09 Thread tc
Which i a real shame...If D was able to access a UI like Qt, it would give a tremendous push to the language. Not being able to use easily some UI from D is holding back many people. I think Qt is the only reason some people prefer C++ even now. I'm from C# world and this is exactly what will

Range-Based Graph Search in D (blog post)

2014-01-09 Thread Peter Alexander
Trying to write a bit more about D on my blog now. To start, I've written about a proof-of-concept range-based API for graph search. http://poita.org/2014/01/09/range-based-graph-search-in-d.html I'd greatly appreciate any feedback on the design. As we don't yet have a graph library for D, it

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Alexander Bothe
On Thursday, 9 January 2014 at 21:26:41 UTC, Jameson Ernst wrote: On Thursday, 9 January 2014 at 19:20:35 UTC, Daniel Kozak wrote: So I really do not know, what is wrong with my monodevelop. Anyway with patched gdb (https://github.com/ibuclaw/gdb) and normal GDB plugin I can debbug my applicati

Re: D Developers Group on LinkedIn

2014-01-09 Thread Dejan Lekic
On Thursday, 9 January 2014 at 18:35:18 UTC, extrawurst wrote: On Thursday, 9 January 2014 at 18:31:11 UTC, extrawurst wrote: Hello everyone, I took the liberty to create a LinkedIn Group called "D Developers Group". I think as D more and more enters the professional sphere of software develo

Re: D Developers Group on LinkedIn

2014-01-09 Thread Dejan Lekic
On Thursday, 9 January 2014 at 18:31:11 UTC, extrawurst wrote: Hello everyone, I took the liberty to create a LinkedIn Group called "D Developers Group". I think as D more and more enters the professional sphere of software development this might be helpful. Official job descriptions looking

Re: Call D code from C#

2014-01-09 Thread Dejan Lekic
On Thursday, 9 January 2014 at 15:58:20 UTC, anthony wrote: Hi to all here, (another one here that wants to desperately use D in his work environment!) So, I am a C# and C++ guy who is used to high quality tools and UI libraries. I discovered VisualD and I settled on using it, it is really

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Jameson Ernst
On Thursday, 9 January 2014 at 19:20:35 UTC, Daniel Kozak wrote: So I really do not know, what is wrong with my monodevelop. Anyway with patched gdb (https://github.com/ibuclaw/gdb) and normal GDB plugin I can debbug my application quiet well. Just set this up, and the regular GDB plugin with

Re: Call D code from C#

2014-01-09 Thread Jacob Carlborg
On 2014-01-09 16:58, anthony wrote: The only problem that concerns me is the lack of a UI library to use with the language. GTK+ is not an option for me. Qt is but I do not see any way to use it from D. Have a look at DWT: https://github.com/d-widget-toolkit/dwt -- /Jacob Carlborg

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Daniel Kozak
On Thursday, 9 January 2014 at 18:54:12 UTC, Alexander Bothe wrote: On Thursday, 9 January 2014 at 18:03:06 UTC, Daniel Kozak wrote: With 4.2.2 everything is OK,but with 4.2.3 it does not work properly. Why do you have gdb from AUR? Where should I get gdb else from? :-P I already noticed some

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Alexander Bothe
On Thursday, 9 January 2014 at 19:02:15 UTC, Dicebot wrote: On Thursday, 9 January 2014 at 18:54:12 UTC, Alexander Bothe wrote: On Thursday, 9 January 2014 at 18:03:06 UTC, Daniel Kozak wrote: With 4.2.2 everything is OK,but with 4.2.3 it does not work properly. Why do you have gdb from AUR?

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Dicebot
On Thursday, 9 January 2014 at 18:54:12 UTC, Alexander Bothe wrote: On Thursday, 9 January 2014 at 18:03:06 UTC, Daniel Kozak wrote: With 4.2.2 everything is OK,but with 4.2.3 it does not work properly. Why do you have gdb from AUR? Where should I get gdb else from? :-P From main repos? :)

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Alexander Bothe
On Thursday, 9 January 2014 at 18:03:06 UTC, Daniel Kozak wrote: With 4.2.2 everything is OK,but with 4.2.3 it does not work properly. Why do you have gdb from AUR? Where should I get gdb else from? :-P I already noticed some different debugging issues with 4.2.3 - but those were occurring in

Re: Call D code from C#

2014-01-09 Thread anthonyb
On Thursday, 9 January 2014 at 17:56:46 UTC, Adam D. Ruppe wrote: On Thursday, 9 January 2014 at 16:15:23 UTC, bearophile wrote: Is QtD not good enough? When I tried it, a while ago, it was completely unusable - random runtime crashes. Which i a real shame...If D was able to access a UI lik

Re: D Developers Group on LinkedIn

2014-01-09 Thread John Colvin
On Thursday, 9 January 2014 at 18:36:17 UTC, extrawurst wrote: On Thursday, 9 January 2014 at 18:33:33 UTC, John Colvin wrote: http://www.linkedin.com/groups/D-Developer-Network-3923820 yeah my bad I was just searching for stuff like "D programming" :( There are a few groups on various netw

Re: D Developers Group on LinkedIn

2014-01-09 Thread extrawurst
On Thursday, 9 January 2014 at 18:31:11 UTC, extrawurst wrote: Hello everyone, I took the liberty to create a LinkedIn Group called "D Developers Group". I think as D more and more enters the professional sphere of software development this might be helpful. Official job descriptions looking

Re: D Developers Group on LinkedIn

2014-01-09 Thread extrawurst
On Thursday, 9 January 2014 at 18:33:33 UTC, John Colvin wrote: http://www.linkedin.com/groups/D-Developer-Network-3923820 yeah my bad I was just searching for stuff like "D programming" :(

D Developers Group on LinkedIn

2014-01-09 Thread extrawurst
Hello everyone, I took the liberty to create a LinkedIn Group called "D Developers Group". I think as D more and more enters the professional sphere of software development this might be helpful. Official job descriptions looking for D developers appear and I would like to be able to tag my p

Re: D Developers Group on LinkedIn

2014-01-09 Thread John Colvin
On Thursday, 9 January 2014 at 18:31:11 UTC, extrawurst wrote: Hello everyone, I took the liberty to create a LinkedIn Group called "D Developers Group". I think as D more and more enters the professional sphere of software development this might be helpful. Official job descriptions looking

Re: Mobile App STACK4 with a D backend

2014-01-09 Thread Andrei Alexandrescu
On 1/8/14 7:03 PM, Andrei Alexandrescu wrote: On 1/8/14 4:54 PM, extrawurst wrote: On Tuesday, 7 January 2014 at 16:55:04 UTC, Andrei Alexandrescu wrote: On 1/6/14 3:53 PM, extrawurst wrote: On Friday, 3 January 2014 at 05:27:28 UTC, Rob wrote: Works great on my S4 against AI (damned AI beat

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Daniel Kozak
On Thursday, 9 January 2014 at 16:49:53 UTC, Alexander Bothe wrote: On Thursday, 9 January 2014 at 08:28:21 UTC, Jameson Ernst wrote: Is there a way to configure the plugin to add that option? It doesn't appear to be configurable, at least not from within the IDE. It's done by default already

Re: Gtkd2 in serious use

2014-01-09 Thread Johannes Pfau
Am Thu, 09 Jan 2014 16:22:58 + schrieb "Steve Teale" : > A couple of months ago I was handing out congratulations to Mike > Wey on his splendid work in creating gtkd2. > > I have had a good go at it since, and with a couple of small > glitches along the way, it has been as close to flawless

Re: Call D code from C#

2014-01-09 Thread Adam D. Ruppe
On Thursday, 9 January 2014 at 16:15:23 UTC, bearophile wrote: Is QtD not good enough? When I tried it, a while ago, it was completely unusable - random runtime crashes.

Re: Call D code from C#

2014-01-09 Thread anthonyb
QtD does not seem to be actively developed and i want something that is somewhat "future safe", if you can say that about our job!

Re: Call D code from C#

2014-01-09 Thread anthonyb
Hhmm...It sounds interesting! Looking at it right now... Thanks! You can expose D code as COM objects and use them from C# this way. http://dlang.org/dll.html#com

Re: Call D code from C#

2014-01-09 Thread Radu
On Thursday, 9 January 2014 at 15:58:20 UTC, anthony wrote: Hi to all here, (another one here that wants to desperately use D in his work environment!) So, I am a C# and C++ guy who is used to high quality tools and UI libraries. I discovered VisualD and I settled on using it, it is really

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Alexander Bothe
On Thursday, 9 January 2014 at 08:28:21 UTC, Jameson Ernst wrote: Is there a way to configure the plugin to add that option? It doesn't appear to be configurable, at least not from within the IDE. It's done by default already. I've had this same issue, and found that the D debugging plugin d

Re: Call D code from C#

2014-01-09 Thread evilrat
On Thursday, 9 January 2014 at 16:09:11 UTC, anthony wrote: Thanks for the (ultra fast) reply! I has that coming that P/Invoke is the only way, unfortunately. Are you aware of any other problems using this technique ? why unfortunately? using this in visual studio allows me debug both C#/D c

Re: Call D code from C#

2014-01-09 Thread bearophile
anthony: The only problem that concerns me is the lack of a UI library to use with the language. GTK+ is not an option for me. Qt is but I do not see any way to use it from D. Is QtD not good enough? Bye, bearophile

Gtkd2 in serious use

2014-01-09 Thread Steve Teale
A couple of months ago I was handing out congratulations to Mike Wey on his splendid work in creating gtkd2. I have had a good go at it since, and with a couple of small glitches along the way, it has been as close to flawless as I can imagine. Anyway, I have got a long way down the road I'v

Re: Call D code from C#

2014-01-09 Thread John Colvin
On Thursday, 9 January 2014 at 15:58:20 UTC, anthony wrote: Hi to all here, (another one here that wants to desperately use D in his work environment!) So, I am a C# and C++ guy who is used to high quality tools and UI libraries. I discovered VisualD and I settled on using it, it is really

Re: Call D code from C#

2014-01-09 Thread anthony
Thanks for the (ultra fast) reply! I has that coming that P/Invoke is the only way, unfortunately. Are you aware of any other problems using this technique ?

Re: Call D code from C#

2014-01-09 Thread anthony
Oopss...I think I posted on the wrong section of the forum and I do not see a way to put it on the correct one... :(

Call D code from C#

2014-01-09 Thread anthony
Hi to all here, (another one here that wants to desperately use D in his work environment!) So, I am a C# and C++ guy who is used to high quality tools and UI libraries. I discovered VisualD and I settled on using it, it is really awesome! The only problem that concerns me is the lack of a

Re: LLVM 3.4 released

2014-01-09 Thread Moritz Maxeiner
On Monday, 6 January 2014 at 16:10:51 UTC, Kai Nacke wrote: Hi all! LLVM 3.4 is out! You can read the release notes http://llvm.org/releases/3.4/docs/ReleaseNotes.html or download it from http://llvm.org/releases/. As usual, LDC and dlang.org are mentioned in the release notes. I also take

Re: Mobile App STACK4 with a D backend

2014-01-09 Thread extrawurst
On Thursday, 9 January 2014 at 03:03:23 UTC, Andrei Alexandrescu wrote: On 1/8/14 4:54 PM, extrawurst wrote: On Tuesday, 7 January 2014 at 16:55:04 UTC, Andrei Alexandrescu wrote: On 1/6/14 3:53 PM, extrawurst wrote: On Friday, 3 January 2014 at 05:27:28 UTC, Rob wrote: Works great on my S4 a

Re: LLVM 3.4 released

2014-01-09 Thread Kai Nacke
On Wednesday, 8 January 2014 at 19:17:17 UTC, Adam Wilson wrote: On Mon, 06 Jan 2014 08:10:49 -0800, Kai Nacke wrote: Hi all! LLVM 3.4 is out! You can read the release notes http://llvm.org/releases/3.4/docs/ReleaseNotes.html or download it from http://llvm.org/releases/. As usual, LDC a

Re: LLVM 3.4 released

2014-01-09 Thread Kai Nacke
On Thursday, 9 January 2014 at 07:41:33 UTC, Jacob Carlborg wrote: On 2014-01-08 20:15, Adam Wilson wrote: What is the latest on Windows SEH? LLVM is not going to get that for 32bit, not a long as there is a patent. If I remember it right then the patent will expire this spring. Regards,

Re: Mono-D v0.5.5.5 - Huge completion refactoring/v0.5.5.6 - Bug fixes

2014-01-09 Thread Jameson Ernst
On Wednesday, 8 January 2014 at 14:30:50 UTC, Alexander Bothe wrote: On Wednesday, 8 January 2014 at 12:35:47 UTC, Daniel Kozak wrote: I do not think so because it runs gdb, and it stops on break point, but it does not show it properly on monodevelop editor (red marker is not mark as current st