Re: Calypso progress report (+ updated MingW64 build)

2015-11-25 Thread Elie Morisse via Digitalmars-d-announce
On Wednesday, 25 November 2015 at 06:57:14 UTC, deadalnix wrote: I can't find the runtime that goes with this. My best guess was here: https://github.com/Syniurge/druntime/blob/release-0.16.1/src/ldc/eh/common.d But it doesn't check the source language. Can I get some pointers ? In case you

Re: Calypso progress report (+ updated MingW64 build)

2015-11-24 Thread deadalnix via Digitalmars-d-announce
On Tuesday, 24 November 2015 at 22:51:40 UTC, Elie Morisse wrote: On Tuesday, 24 November 2015 at 06:44:31 UTC, deadalnix wrote: Yeah that's what I wanted to look int he IR. Where is _D_ZTISt9exception7__tiwrap defined ? Looks like you trimed the output :( Sorry I got a little heavy handed,

Re: Calypso progress report (+ updated MingW64 build)

2015-11-24 Thread deadalnix via Digitalmars-d-announce
On Wednesday, 25 November 2015 at 01:04:19 UTC, deadalnix wrote: On Tuesday, 24 November 2015 at 22:51:40 UTC, Elie Morisse wrote: On Tuesday, 24 November 2015 at 06:44:31 UTC, deadalnix wrote: Yeah that's what I wanted to look int he IR. Where is _D_ZTISt9exception7__tiwrap defined ? Looks

Re: Calypso progress report (+ updated MingW64 build)

2015-11-24 Thread Elie Morisse via Digitalmars-d-announce
On Tuesday, 24 November 2015 at 06:44:31 UTC, deadalnix wrote: Yeah that's what I wanted to look int he IR. Where is _D_ZTISt9exception7__tiwrap defined ? Looks like you trimed the output :( Sorry I got a little heavy handed, here's the full IR: https://paste.kde.org/piivojs0s

Re: Calypso progress report (+ updated MingW64 build)

2015-11-23 Thread deadalnix via Digitalmars-d-announce
On Monday, 23 November 2015 at 23:33:21 UTC, Elie Morisse wrote: On Monday, 23 November 2015 at 00:04:44 UTC, deadalnix wrote: I'd be very interested by the LLVM IR that this spout out. Here's the IR for https://github.com/Syniurge/Calypso/blob/master/tests/calypso/eh/std_exception.d :

Re: Calypso progress report (+ updated MingW64 build)

2015-11-23 Thread Elie Morisse via Digitalmars-d-announce
On Monday, 23 November 2015 at 00:04:44 UTC, deadalnix wrote: I'd be very interested by the LLVM IR that this spout out. Here's the IR for https://github.com/Syniurge/Calypso/blob/master/tests/calypso/eh/std_exception.d : https://paste.kde.org/pjxrqjjhp Also, good work, pulling that one

Re: Calypso progress report (+ updated MingW64 build)

2015-11-22 Thread deadalnix via Digitalmars-d-announce
On Saturday, 21 November 2015 at 17:28:12 UTC, Elie Morisse wrote: Finally there: https://syniurgeblog.wordpress.com/2015/11/20/catching-cpp-exceptions-in-d/ Although a little late and probably less user-oriented than you wanted? For example, what's the lifetime of the pointer people will

Re: Calypso progress report (+ updated MingW64 build)

2015-11-21 Thread Elie Morisse via Digitalmars-d-announce
On Monday, 16 November 2015 at 19:35:58 UTC, Andrei Alexandrescu wrote: That's great progress. Do you have documentation for how things work? For example, what's the lifetime of the pointer people will get from std::exception::what(). IMHO: don't worry about catching exceptions by value; it's

Re: Calypso progress report (+ updated MingW64 build)

2015-11-16 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 11/15/2015 02:32 PM, Elie Morisse wrote: On Thursday, 22 October 2015 at 01:19:19 UTC, Andrei Alexandrescu wrote: Great news! What's the story on exceptions? Does Calypso allow D code to catch exceptions thrown from C++ code? -- Andrei Small update: the LDC 0.16.1 merge was done and it's

Re: Calypso progress report (+ updated MingW64 build)

2015-11-15 Thread Elie Morisse via Digitalmars-d-announce
On Thursday, 22 October 2015 at 01:19:19 UTC, Andrei Alexandrescu wrote: Great news! What's the story on exceptions? Does Calypso allow D code to catch exceptions thrown from C++ code? -- Andrei Small update: the LDC 0.16.1 merge was done and it's now possible to catch about any C++ exception

Re: Calypso progress report (+ updated MingW64 build)

2015-10-27 Thread jmh530 via Digitalmars-d-announce
On Monday, 26 October 2015 at 23:39:19 UTC, bachmeier wrote: It's not difficult to embed R inside D. I will finish a forecasting project in early November, and will be able to finish it up after that. That will bring R's full plotting capabilities to D. This sounds cool. I look forward to

Re: Calypso progress report (+ updated MingW64 build)

2015-10-27 Thread bachmeier via Digitalmars-d-announce
On Tuesday, 27 October 2015 at 15:23:34 UTC, jmh530 wrote: On Monday, 26 October 2015 at 23:39:19 UTC, bachmeier wrote: It's not difficult to embed R inside D. I will finish a forecasting project in early November, and will be able to finish it up after that. That will bring R's full

Re: Calypso progress report (+ updated MingW64 build)

2015-10-26 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2015-10-26 at 02:54 +, Elie Morisse via Digitalmars-d- announce wrote: > […] > The build process got much simpler 2 weeks ago though, now that > it doesn't depend on an LLVM source tree and an external Clang > executable anymore it's almost identical to building LDC. In which case

Re: Calypso progress report (+ updated MingW64 build)

2015-10-26 Thread Laeeth Isharc via Digitalmars-d-announce
Elie - thanks for posting the build. Have been working on something else past day, but this is on my list to look at next. Having quantlib work would be very nice for many financial users. Lots of people use it, even just as a check on their own stuff. Russell, I agree about the plotting,

Re: Calypso progress report (+ updated MingW64 build)

2015-10-25 Thread Elie Morisse via Digitalmars-d-announce
On Sunday, 25 October 2015 at 21:42:15 UTC, Stefan wrote: Hello, // compile with: ldc2 -cpp-args -std=gnu++11 main.d modmap (C++) "cmath"; import (C++) std._; import std.stdio; int main() { writeln(sin(cast(float)0.8159)); return 0; } gives a lot of "error: constexpr function

Re: Calypso progress report (+ updated MingW64 build)

2015-10-25 Thread Stefan via Digitalmars-d-announce
Hello, // compile with: ldc2 -cpp-args -std=gnu++11 main.d modmap (C++) "cmath"; import (C++) std._; import std.stdio; int main() { writeln(sin(cast(float)0.8159)); return 0; } gives a lot of "error: constexpr function never produces a constant expression" messages. Not sure this

Re: Calypso progress report (+ updated MingW64 build)

2015-10-25 Thread Laeeth Isharc via Digitalmars-d-announce
On Monday, 26 October 2015 at 01:39:52 UTC, Elie Morisse wrote: On Sunday, 25 October 2015 at 21:42:15 UTC, Stefan wrote: Hello, // compile with: ldc2 -cpp-args -std=gnu++11 main.d modmap (C++) "cmath"; import (C++) std._; import std.stdio; int main() { writeln(sin(cast(float)0.8159));

Re: Calypso progress report (+ updated MingW64 build)

2015-10-25 Thread Elie Morisse via Digitalmars-d-announce
On Monday, 26 October 2015 at 01:52:37 UTC, Laeeth Isharc wrote: any chance of some release builds on github when the time is right? I've tried a few times, and somewhat embarrassingly each time I get a bit further, but still never made it to a usable version of ldc-calypso. I didn't want to

Re: Calypso progress report (+ updated MingW64 build)

2015-10-25 Thread Elie Morisse via Digitalmars-d-announce
On Sunday, 25 October 2015 at 21:42:15 UTC, Stefan wrote: Hello, // compile with: ldc2 -cpp-args -std=gnu++11 main.d modmap (C++) "cmath"; import (C++) std._; import std.stdio; int main() { writeln(sin(cast(float)0.8159)); return 0; } gives a lot of "error: constexpr function

Re: Calypso progress report (+ updated MingW64 build)

2015-10-25 Thread Elie Morisse via Digitalmars-d-announce
On Friday, 23 October 2015 at 09:19:44 UTC, Kagamin wrote: On Thursday, 22 October 2015 at 23:24:57 UTC, Elie Morisse wrote: Default constructors are invoked Including class fields? class A { QString s_myFilename; this() { //is s_myFilename constructed already? } } That

Re: Calypso progress report (+ updated MingW64 build)

2015-10-23 Thread Kagamin via Digitalmars-d-announce
On Thursday, 22 October 2015 at 23:24:57 UTC, Elie Morisse wrote: Default constructors are invoked Including class fields? class A { QString s_myFilename; this() { //is s_myFilename constructed already? } }

Re: Calypso progress report (+ updated MingW64 build)

2015-10-22 Thread Kai Nacke via Digitalmars-d-announce
On Thursday, 22 October 2015 at 15:23:34 UTC, Szymon Gatner wrote: On Thursday, 22 October 2015 at 15:22:16 UTC, Szymon Gatner wrote: On Wednesday, 21 October 2015 at 23:40:15 UTC, Elie Morisse wrote: It's been a while since the last update, so here's a quick one before making the jump to LDC

Re: Calypso progress report (+ updated MingW64 build)

2015-10-22 Thread Elie Morisse via Digitalmars-d-announce
On Thursday, 22 October 2015 at 18:02:08 UTC, Kagamin wrote: Cool, is that a value type QString? Really? Then functions in Qt5 demo should accept QString by ref to better match C++. Not sure if I already announced it here but one major change a few months ago is that all C++ classes are now

Re: Calypso progress report (+ updated MingW64 build)

2015-10-22 Thread Elie Morisse via Digitalmars-d-announce
On Thursday, 22 October 2015 at 06:28:06 UTC, Suliman wrote: Does it's mean, that Calypso can be work as plugin for Clang? As a LDC plugin, so that LDC doesn't depend on Clang. On Thursday, 22 October 2015 at 15:22:16 UTC, Szymon Gatner wrote: Wow, this is fantastic. What about Windows and

Re: Calypso progress report (+ updated MingW64 build)

2015-10-22 Thread jmh530 via Digitalmars-d-announce
On Thursday, 22 October 2015 at 23:23:50 UTC, Elie Morisse wrote: MSVC hasn't been tested since 5 months ago. Calypso built by MSVC compiles basic examples but last time we tried none of the C++ standard lib test cases worked. Maybe it's better now that the template support is more robust

Re: Calypso progress report (+ updated MingW64 build)

2015-10-22 Thread jmh530 via Digitalmars-d-announce
On Thursday, 22 October 2015 at 03:14:39 UTC, Joakim wrote: On Wednesday, 21 October 2015 at 23:40:15 UTC, Elie Morisse wrote: It's been a while since the last update, so here's a quick one before making the jump to LDC 0.16. You should write a blog post explaining what you have done so far

Re: Calypso progress report (+ updated MingW64 build)

2015-10-22 Thread Suliman via Digitalmars-d-announce
On Wednesday, 21 October 2015 at 23:40:15 UTC, Elie Morisse wrote: make Calypso an optional shared library Does it's mean, that Calypso can be work as plugin for Clang?

Re: Calypso progress report (+ updated MingW64 build)

2015-10-21 Thread Elie Morisse via Digitalmars-d-announce
On Thursday, 22 October 2015 at 01:19:19 UTC, Andrei Alexandrescu wrote: On 10/21/2015 07:40 PM, Elie Morisse wrote: It's been a while since the last update, so here's a quick one before making the jump to LDC 0.16. Great news! What's the story on exceptions? Does Calypso allow D code to

Re: Calypso progress report (+ updated MingW64 build)

2015-10-21 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 10/21/2015 07:40 PM, Elie Morisse wrote: It's been a while since the last update, so here's a quick one before making the jump to LDC 0.16. Great news! What's the story on exceptions? Does Calypso allow D code to catch exceptions thrown from C++ code? -- Andrei

Calypso progress report (+ updated MingW64 build)

2015-10-21 Thread Elie Morisse via Digitalmars-d-announce
It's been a while since the last update, so here's a quick one before making the jump to LDC 0.16. Kelly added a more complex Qt5 demo, I recently added an Ogre3D one: https://www.youtube.com/watch?v=eryhDOa9MV0 https://github.com/Syniurge/Calypso/blob/master/tests/calypso/ogre3d/demo.d

Re: Calypso progress report (+ updated MingW64 build)

2015-10-21 Thread Joakim via Digitalmars-d-announce
On Wednesday, 21 October 2015 at 23:40:15 UTC, Elie Morisse wrote: It's been a while since the last update, so here's a quick one before making the jump to LDC 0.16. You should write a blog post explaining what you have done so far and what remains to be done, then submit it to the usual link