Re: PHP to D Conversion

2019-10-19 Thread Boris Carvajal via Digitalmars-d-learn
On Saturday, 19 October 2019 at 19:08:45 UTC, Vino wrote: On Friday, 18 October 2019 at 14:56:05 UTC, Andre Pany wrote: On Friday, 18 October 2019 at 09:21:46 UTC, Vino wrote: On Friday, 18 October 2019 at 09:17:24 UTC, Vino wrote: [...] And now getting the error : Program exited with code

Re: Help playing sounds using arsd.simpleaudio

2019-10-19 Thread Murilo via Digitalmars-d-learn
On Saturday, 19 October 2019 at 13:08:49 UTC, Adam D. Ruppe wrote: try it now with the new version of simpleaudio.d from git Ahh, now it works! Thank you so much man. I really appreciate the work you do with your library, I have been using it for everything, I'm now training a neural

Re: PHP to D Conversion

2019-10-19 Thread Vino via Digitalmars-d-learn
On Friday, 18 October 2019 at 14:56:05 UTC, Andre Pany wrote: On Friday, 18 October 2019 at 09:21:46 UTC, Vino wrote: On Friday, 18 October 2019 at 09:17:24 UTC, Vino wrote: [...] And now getting the error : Program exited with code -1073741819 Hi, Maybe port 8080 is blocked, because

Re: Import sources from parent project

2019-10-19 Thread Andre Pany via Digitalmars-d-learn
On Saturday, 19 October 2019 at 18:00:12 UTC, Andrey wrote: Hi, I have got this structure of my project: parentapp dub.json source common.d childapp1 dub.json source app.d somefile.d childapp2 dub.json source

Import sources from parent project

2019-10-19 Thread Andrey via Digitalmars-d-learn
Hi, I have got this structure of my project: parentapp dub.json source common.d childapp1 dub.json source app.d somefile.d childapp2 dub.json source app.d The "childapp1" and "childapp2" are standanole

Re: Final necessary for inline optimization?

2019-10-19 Thread Johan Engelen via Digitalmars-d-learn
Just a brief answer. On Saturday, 19 October 2019 at 15:58:08 UTC, IGotD- wrote: Which one is it, LDC recognizes TestClass isn't derived or is sure that the class (c) isn't derived in particular? It is the latter: the optimizer is able to prove that object c has a vtable that is known

Final necessary for inline optimization?

2019-10-19 Thread IGotD- via Digitalmars-d-learn
When I'm playing around with different D compilers I get different results regarding class method inlining. According most information I have seen, you must declare a class method final for the compiler to be able inline the method otherwise it will be a virtual table call. Take this simple

Re: Help playing sounds using arsd.simpleaudio

2019-10-19 Thread Adam D. Ruppe via Digitalmars-d-learn
try it now with the new version of simpleaudio.d from git