Re: DConf 2014 publishes schedule, opens registration

2014-05-23 Thread Ali Çehreli via Digitalmars-d-announce
On 03/03/2014 04:13 PM, Ali Çehreli wrote: On 03/03/2014 04:09 PM, Alessandro Stamatto wrote: Damn! No spoilers about the mysterious Scott Meyers talk, what is the last thing D needs?!?!?! Curious! 8-) Scott himself? ;) Ali It turns out, I was right for the wrong reason. :) It was an

Re: DConf 2014 publishes schedule, opens registration

2014-05-23 Thread Paolo Invernizzi via Digitalmars-d-announce
On Friday, 23 May 2014 at 06:51:44 UTC, Ali Çehreli wrote: On 03/03/2014 04:13 PM, Ali Çehreli wrote: On 03/03/2014 04:09 PM, Alessandro Stamatto wrote: Damn! No spoilers about the mysterious Scott Meyers talk, what is the last thing D needs?!?!?! Curious! 8-) Scott himself? ;) Ali It

Re: DConf 2014 publishes schedule, opens registration

2014-05-23 Thread Atila Neves via Digitalmars-d-announce
On Friday, 23 May 2014 at 06:51:44 UTC, Ali Çehreli wrote: On 03/03/2014 04:13 PM, Ali Çehreli wrote: On 03/03/2014 04:09 PM, Alessandro Stamatto wrote: Damn! No spoilers about the mysterious Scott Meyers talk, what is the last thing D needs?!?!?! Curious! 8-) Scott himself? ;) Ali It

Re: DConf 2014 publishes schedule, opens registration

2014-05-23 Thread Nick Sabalausky via Digitalmars-d-announce
On 5/23/2014 2:51 AM, Ali Çehreli wrote: On 03/03/2014 04:13 PM, Ali Çehreli wrote: On 03/03/2014 04:09 PM, Alessandro Stamatto wrote: Damn! No spoilers about the mysterious Scott Meyers talk, what is the last thing D needs?!?!?! Curious! 8-) Scott himself? ;) Ali It turns

Re: 10 Years of Derelict

2014-05-23 Thread ParticlePerter via Digitalmars-d-announce
Adding my appreciation, and totally agree with ponce. If it were not for Derelict and its easy setup ( much easier than in C/C++ world ) I wouldn't get the chance to fall in love and stick with D. Thanks a lot ! Cheers, ParticlePeter !

Re: DlangUI

2014-05-23 Thread Chris via Digitalmars-d-announce
On Tuesday, 20 May 2014 at 18:13:36 UTC, Vadim Lopatin wrote: Hello! I would like to announce my project, DlangUI library - cross-platform GUI for D. https://github.com/buggins/dlangui License: Boost License 1.0 Native library written in D (not a wrapper to other GUI library) - easy to

Re: DConf 2014 publishes schedule, opens registration

2014-05-23 Thread Robert BuRnEr Schadek via Digitalmars-d-announce
On 05/22/2014 11:51 PM, Ali Çehreli via Digitalmars-d-announce wrote: On 03/03/2014 04:13 PM, Ali Çehreli wrote: On 03/03/2014 04:09 PM, Alessandro Stamatto wrote: Damn! No spoilers about the mysterious Scott Meyers talk, what is the last thing D needs?!?!?! Curious! 8-) Scott

Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-23 Thread Andrei Alexandrescu via Digitalmars-d-announce
Adam graciously shared the slides of his DConf 2014 talk with us: http://imgur.com/hHCN3OL Andrei

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-23 Thread Mattcoder via Digitalmars-d-announce
On Friday, 23 May 2014 at 19:29:12 UTC, Andrei Alexandrescu wrote: Adam graciously shared the slides of his DConf 2014 talk with us: http://imgur.com/hHCN3OL Andrei Hehe, I'm just imagining what Walter will say: Lack of images! Matheus.

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-23 Thread Piotrek via Digitalmars-d-announce
On Friday, 23 May 2014 at 19:29:12 UTC, Andrei Alexandrescu wrote: Adam graciously shared the slides of his DConf 2014 talk with us: http://imgur.com/hHCN3OL Andrei I didn't know zipped pesentasion file can be still readable ;)

Re: DConf 2014 publishes schedule, opens registration

2014-05-23 Thread Atila Neves via Digitalmars-d-announce
On Friday, 23 May 2014 at 16:47:25 UTC, Robert BuRnEr Schadek via Digitalmars-d-announce wrote: On 05/22/2014 11:51 PM, Ali Çehreli via Digitalmars-d-announce wrote: On 03/03/2014 04:13 PM, Ali Çehreli wrote: On 03/03/2014 04:09 PM, Alessandro Stamatto wrote: Damn! No spoilers about the

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-23 Thread Steven Schveighoffer via Digitalmars-d-announce
On Fri, 23 May 2014 12:29:12 -0700, Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Adam graciously shared the slides of his DConf 2014 talk with us: http://imgur.com/hHCN3OL Oh cool! finally the conference-goers can see the slides :) -Steve

dbox is a complete D2 port of the Box2D game physics library

2014-05-23 Thread Andrej Mitrovic via Digitalmars-d-announce
https://github.com/d-gamedev-team/dbox What is Box2D? == Box2D[1] is an open source C++ physics engine used for simulating rigid bodies in 2D. Box2D is developed by Erin Catto and is zlib-licensed. Box2D is mainly used for game development and interactive physics simulations. Box2D

Re: dbox is a complete D2 port of the Box2D game physics library

2014-05-23 Thread Piotrek via Digitalmars-d-announce
Hi, nice one. How does it compare to C++ version in terms of performance? Piotrek

Re: dbox is a complete D2 port of the Box2D game physics library

2014-05-23 Thread Andrej Mitrovic via Digitalmars-d-announce
On 5/24/14, Piotrek via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: nice one. How does it compare to C++ version in terms of performance? I haven't tested the performance yet! I'm definitely interested, but as usual I assume LDC will probably beat DMD in this area.

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-23 Thread Gary Willoughby via Digitalmars-d-announce
On Friday, 23 May 2014 at 19:29:12 UTC, Andrei Alexandrescu wrote: Adam graciously shared the slides of his DConf 2014 talk with us: http://imgur.com/hHCN3OL Andrei Ha, I really liked his talk :)

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-23 Thread Adam D. Ruppe via Digitalmars-d-announce
You can see some margin notes I added this morning about stuff I was thinking about saying to fill time! For example, being willing to experiment helps with speed, like Walter said. It also applies here: disassemblies might be scary the first time, but if you dive into it and see about toying

Re: Per popular demand, here are Adam D Ruppe's presentation slides

2014-05-23 Thread Adam D. Ruppe via Digitalmars-d-announce
On Friday, 23 May 2014 at 19:59:23 UTC, Mattcoder wrote: Hehe, I'm just imagining what Walter will say: Lack of images! Heh, I actually went through a few idea stages here: 1) I'd list the druntime functions. I determined this to be boring and subject to change anyway. But I spent like a

Re: DConf 2014 publishes schedule, opens registration

2014-05-23 Thread Robert BuRnEr Schadek via Digitalmars-d-announce
On 05/23/2014 01:41 PM, Atila Neves via Digitalmars-d-announce wrote: On Friday, 23 May 2014 at 16:47:25 UTC, Robert BuRnEr Schadek via Digitalmars-d-announce wrote They only problem with his talk was that I now feel very bad about my C++ skills ;-) You? I was the one he said that's cute

Re: Easy huge GC optimizations

2014-05-23 Thread Rainer Schuetze via Digitalmars-d
On 22.05.2014 21:04, Etienne wrote: On 2014-05-22 2:12 PM, Rainer Schuetze wrote: NO_INTERIOR is currently only used for the hash array used by associative arrays. It is a bit dangerous to use as any pointer,slice or register still operating on the array is ignored, so collecting it might

Re: Including Dub with D

2014-05-23 Thread Jacob Carlborg via Digitalmars-d
On 22/05/14 21:11, Nick Sabalausky wrote: Is there anything blocking actual adoption of SDL? I'm not holding anything up am I? Sonke: If there's anything you need done/dealt-with regarding SDLang-D, let me know. Do we want/need the SDL parser/writer to be included into Phobos first? --

Re: Including Dub with D

2014-05-23 Thread Suliman via Digitalmars-d
what it the reason to change json to SDL?

Re: Thank you Kenji

2014-05-23 Thread Ali Çehreli via Digitalmars-d
On 05/22/2014 09:11 PM, Martin Nowak wrote: Today at DConf we learned, once again, that people are doing and starting amazing projects using D. A lot of which wouldn't have been possible without your contribution. So I just wanted to say thank you. -Martin There is word out there that Kenji

Re: Thank you Kenji

2014-05-23 Thread Andrea Fontana via Digitalmars-d
On Friday, 23 May 2014 at 04:11:39 UTC, Martin Nowak wrote: Today at DConf we learned, once again, that people are doing and starting amazing projects using D. A lot of which wouldn't have been possible without your contribution. So I just wanted to say thank you. -Martin When I read the

Re: Thank you Kenji

2014-05-23 Thread Anon via Digitalmars-d
On Friday, 23 May 2014 at 06:57:06 UTC, Ali Çehreli wrote: There is word out there that Kenji Hara and bearophile are the same person. (I think it is the same AI running on a powerful server farm. :p) Ali That explains why he couldn't come to DConf.

Re: Thank you Kenji

2014-05-23 Thread Philippe Sigaud via Digitalmars-d
For those who don't know Kenji because he rarely posts on the forums, Brad put up a slide at Dconf yesterday showing the top committers by pull requests over the last three years and Kenji was at the top for '12 and '13. He was second so far this year, after Andrej. I don't know if he

Re: Thank you Kenji

2014-05-23 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 23 May 2014 at 08:23:21 UTC, Philippe Sigaud via Digitalmars-d wrote: Thanks a lot, Kenji Hara! D would not be what it is today without your commitment. That's for sure! Thank you also from myself, and from all of us in my company that are using D! So again: Thank you Kenji

Re: Thank you Kenji

2014-05-23 Thread John Colvin via Digitalmars-d
On Friday, 23 May 2014 at 08:23:21 UTC, Philippe Sigaud via Digitalmars-d wrote: For those who don't know Kenji because he rarely posts on the forums, Brad put up a slide at Dconf yesterday showing the top committers by pull requests over the last three years and Kenji was at the top for '12

Re: Including Dub with D

2014-05-23 Thread Jacob Carlborg via Digitalmars-d
On 23/05/14 08:33, Suliman wrote: what it the reason to change json to SDL? Less verbose. -- /Jacob Carlborg

Re: Thank you Kenji

2014-05-23 Thread Jacob Carlborg via Digitalmars-d
On 23/05/14 08:57, Ali Çehreli wrote: There is word out there that Kenji Hara and bearophile are the same person. (I think it is the same AI running on a powerful server farm. :p) I don't care, as long as the pull requests keep coming :) -- /Jacob Carlborg

Re: Including Dub with D

2014-05-23 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 23 May 2014 at 09:09:51 UTC, Jacob Carlborg wrote: On 23/05/14 08:33, Suliman wrote: what it the reason to change json to SDL? Less verbose. And it supports comments in not-an-ugly-way! --- Paolo

Re: Including Dub with D

2014-05-23 Thread Andrej Mitrovic via Digitalmars-d
On 5/23/14, Jacob Carlborg via Digitalmars-d digitalmars-d@puremagic.com wrote: On 23/05/14 08:33, Suliman wrote: what it the reason to change json to SDL? Less verbose. And hopefully less problems with trailing commas.

Re: Thank you Kenji

2014-05-23 Thread Andrej Mitrovic via Digitalmars-d
On 5/23/14, Joakim via Digitalmars-d digitalmars-d@puremagic.com wrote: For those who don't know Kenji because he rarely posts on the forums, Brad put up a slide at Dconf yesterday showing the top committers by pull requests over the last three years and Kenji was at the top for '12 and '13.

Re: Thank you Kenji

2014-05-23 Thread w0rp via Digitalmars-d
You are the man, Kenji. I salute you.

Why is there still a web archive for the newsgroup?

2014-05-23 Thread Joakim via Digitalmars-d
I was just googling for some info and I ran across the old web archive: http://www.digitalmars.com/d/archives/digitalmars/D/radical_ideas_about_GC_and_ARC_need_to_be_time_driven_231949.html Why is this web archive being kept around? It means that there are three different places where any

Re: Why is there still a web archive for the newsgroup?

2014-05-23 Thread w0rp via Digitalmars-d
I wonder what effect this has on PageRank. I have been told that Google can identify a site as an originator of content some times, and could reduce the rank of another site based on that, something like that. Then again, all SEO is basically nonsense, due to nobody truly understanding Google

Re: Including Dub with D

2014-05-23 Thread Chris via Digitalmars-d
On Thursday, 22 May 2014 at 19:50:51 UTC, Dicebot wrote: Yeah Sonke contributions to community are beyond any imagination already. She should push for him and move forward (assuming he is ok with it ;)) I agree. I have a project (and even handed in a paper about it*) based on vibe.d. It was

Re: Easy huge GC optimizations

2014-05-23 Thread Chris via Digitalmars-d
On Friday, 23 May 2014 at 06:17:43 UTC, Rainer Schuetze wrote: On 22.05.2014 21:04, Etienne wrote: On 2014-05-22 2:12 PM, Rainer Schuetze wrote: NO_INTERIOR is currently only used for the hash array used by associative arrays. It is a bit dangerous to use as any pointer,slice or register

Re: Steve Yegge on D

2014-05-23 Thread Chris via Digitalmars-d
On Friday, 23 May 2014 at 05:31:48 UTC, Mengu wrote: On Thursday, 22 May 2014 at 09:52:20 UTC, Joakim wrote: I was reading Brad Roberts' bio before his upcoming talk today, where he mentioned that he first heard of D because of blog posts by Steve Yegge, when I remembered that it was likely

Re: Why is there still a web archive for the newsgroup?

2014-05-23 Thread H. S. Teoh via Digitalmars-d
On Fri, May 23, 2014 at 11:35:18AM +, w0rp via Digitalmars-d wrote: I wonder what effect this has on PageRank. I have been told that Google can identify a site as an originator of content some times, and could reduce the rank of another site based on that, something like that. Then again,

Re: Why is there still a web archive for the newsgroup?

2014-05-23 Thread Chris via Digitalmars-d
On Friday, 23 May 2014 at 14:12:38 UTC, H. S. Teoh via Digitalmars-d wrote: On Fri, May 23, 2014 at 11:35:18AM +, w0rp via Digitalmars-d wrote: I wonder what effect this has on PageRank. I have been told that Google can identify a site as an originator of content some times, and could

Re: Including Dub with D

2014-05-23 Thread Jeremy Powers via Digitalmars-d
On 23/05/14 08:33, Suliman wrote: what it the reason to change json to SDL? Less verbose. Can you elaborate? I find JSON to be precisely the right verbosity - enough to be human readable, not too much. Is the decision to switch documented/discussed somewhere? It seems unnecessary to

Re: Including Dub with D

2014-05-23 Thread Dicebot via Digitalmars-d
Original thread : http://forum.rejectedsoftware.com/groups/rejectedsoftware.dub/thread/2/ Summary by Sonke: https://github.com/rejectedsoftware/dub/wiki/Sdl-based-package-format-draft As there seem to be some objections I did not expect before we can go with another run of discussion with

Re: Including Dub with D

2014-05-23 Thread Kiith-Sa via Digitalmars-d
On Friday, 23 May 2014 at 06:24:28 UTC, Jacob Carlborg wrote: On 22/05/14 21:11, Nick Sabalausky wrote: Is there anything blocking actual adoption of SDL? I'm not holding anything up am I? Sonke: If there's anything you need done/dealt-with regarding SDLang-D, let me know. Do we want/need

Re: Including Dub with D

2014-05-23 Thread Dicebot via Digitalmars-d
On Friday, 23 May 2014 at 14:43:20 UTC, Kiith-Sa wrote: On Friday, 23 May 2014 at 06:24:28 UTC, Jacob Carlborg wrote: On 22/05/14 21:11, Nick Sabalausky wrote: Is there anything blocking actual adoption of SDL? I'm not holding anything up am I? Sonke: If there's anything you need

Re: Why is there still a web archive for the newsgroup?

2014-05-23 Thread H. S. Teoh via Digitalmars-d
On Fri, May 23, 2014 at 02:30:56PM +, Chris via Digitalmars-d wrote: On Friday, 23 May 2014 at 14:12:38 UTC, H. S. Teoh via Digitalmars-d wrote: [...] I've always been skeptical of SEO. Google is known to implement changes to their ranking algorithm specifically to counter artificially

Re: Why is there still a web archive for the newsgroup?

2014-05-23 Thread Chris via Digitalmars-d
On Friday, 23 May 2014 at 15:12:06 UTC, H. S. Teoh via Digitalmars-d wrote: On Fri, May 23, 2014 at 02:30:56PM +, Chris via Digitalmars-d wrote: On Friday, 23 May 2014 at 14:12:38 UTC, H. S. Teoh via Digitalmars-d wrote: [...] I've always been skeptical of SEO. Google is known to

Re: Thank you Kenji

2014-05-23 Thread Meta via Digitalmars-d
Yes, Kenji does some amazing work. D would be far behind where it is now without him.

Re: We forgot to define a MIME-type for D!

2014-05-23 Thread Dejan Lekic via Digitalmars-d
On Sunday, 10 February 2013 at 17:15:40 UTC, Marco Leise wrote: Oh noes... Now Mono-Develop used text/x-d and Pygments uses text/x-dsrc. FreeDesktop guys have set `text/x-dsrc` to be the MIME type for the D source files. You can find it in /usr/share/mime/globs file.

Re: Easy huge GC optimizations

2014-05-23 Thread John Colvin via Digitalmars-d
On Friday, 23 May 2014 at 13:43:53 UTC, Chris wrote: On Friday, 23 May 2014 at 06:17:43 UTC, Rainer Schuetze wrote: On 22.05.2014 21:04, Etienne wrote: On 2014-05-22 2:12 PM, Rainer Schuetze wrote: NO_INTERIOR is currently only used for the hash array used by associative arrays. It is a

Re: Thank you Kenji

2014-05-23 Thread Dejan Lekic via Digitalmars-d
On Friday, 23 May 2014 at 04:11:39 UTC, Martin Nowak wrote: Today at DConf we learned, once again, that people are doing and starting amazing projects using D. A lot of which wouldn't have been possible without your contribution. So I just wanted to say thank you. -Martin If anyone deserves

Re: Easy huge GC optimizations

2014-05-23 Thread Etienne via Digitalmars-d
On 2014-05-23 2:17 AM, Rainer Schuetze wrote: On 22.05.2014 21:04, Etienne wrote: On 2014-05-22 2:12 PM, Rainer Schuetze wrote: NO_INTERIOR is currently only used for the hash array used by associative arrays. It is a bit dangerous to use as any pointer,slice or register still operating on

Re: Easy huge GC optimizations

2014-05-23 Thread Etienne via Digitalmars-d
On 2014-05-23 11:41 AM, John Colvin wrote: Bear in mind here that most code goes though a whole bunch of machine learning algorithms in the CPU itself. Like it or not, it has proved extremely successful. I'm happy you're here to say this. Machine learning is the future of algorithms

Re: Easy huge GC optimizations

2014-05-23 Thread Etienne via Digitalmars-d
On 2014-05-23 12:33 PM, Etienne wrote: It only skips the inner search of the pool, like marking it NO_SCAN if a sample of the pointers that pointed to it are still alive. Sorry that's not true. It's like marking it NO_INTERIOR while it being still SCAN. By default, all the pages would be

Re: Easy huge GC optimizations

2014-05-23 Thread Chris via Digitalmars-d
On Friday, 23 May 2014 at 15:41:39 UTC, John Colvin wrote: On Friday, 23 May 2014 at 13:43:53 UTC, Chris wrote: On Friday, 23 May 2014 at 06:17:43 UTC, Rainer Schuetze wrote: On 22.05.2014 21:04, Etienne wrote: On 2014-05-22 2:12 PM, Rainer Schuetze wrote: NO_INTERIOR is currently only

Re: Easy huge GC optimizations

2014-05-23 Thread Etienne via Digitalmars-d
On 2014-05-23 1:29 PM, Chris wrote: I know that CPU's do a good bit of guessing. But that's not the same thing. If they err, they make up for it (Ooops, it's not in the cache! Will get it from HD, just a nanosec!). If the GC errs, how do you make up for it? Please educate me. If the GC errs,

Re: Easy huge GC optimizations

2014-05-23 Thread Chris via Digitalmars-d
On Friday, 23 May 2014 at 17:38:27 UTC, Etienne wrote: On 2014-05-23 1:29 PM, Chris wrote: I know that CPU's do a good bit of guessing. But that's not the same thing. If they err, they make up for it (Ooops, it's not in the cache! Will get it from HD, just a nanosec!). If the GC errs, how do

Re: Easy huge GC optimizations

2014-05-23 Thread Rainer Schuetze via Digitalmars-d
On 23.05.2014 18:41, Etienne wrote: On 2014-05-23 12:33 PM, Etienne wrote: It only skips the inner search of the pool, like marking it NO_SCAN if a sample of the pointers that pointed to it are still alive. Sorry that's not true. It's like marking it NO_INTERIOR while it being still SCAN.

Re: Thank you Kenji

2014-05-23 Thread Benjamin Thaut via Digitalmars-d
Am 23.05.2014 06:11, schrieb Martin Nowak: Today at DConf we learned, once again, that people are doing and starting amazing projects using D. A lot of which wouldn't have been possible without your contribution. So I just wanted to say thank you. -Martin I have to follow up on this. Of all

Re: Easy huge GC optimizations

2014-05-23 Thread Etienne via Digitalmars-d
On 2014-05-23 2:08 PM, Chris wrote: Fair enough. But what about programs that allocate a lot and run for ages (a server app for example)? A server app? Couldn't have asked me for a better example. You can see my native events fork here (I'm working on replacing libevent):

Re: Easy huge GC optimizations

2014-05-23 Thread Etienne via Digitalmars-d
On 2014-05-23 2:14 PM, Rainer Schuetze wrote: BTW: How do you detect the sample pointers are alive? Or do you mean just the roots? You store a void** and the original value, dereference it to see if it's the same value as the original. Loop through 20 of those if you have 500, and you update

Re: isUniformRNG

2014-05-23 Thread Joseph Rushton Wakeling via Digitalmars-d
Hi Nick, Short reply because I think things are converging pretty well decision-wise :-) because crypto RNGs' .popFront() is of necessity going to be non-pure.) To make sure I understand (it seems my understanding of D's pure isn't quite as strong as I'd thought): It cannot be pure

Re: Easy huge GC optimizations

2014-05-23 Thread Rainer Schuetze via Digitalmars-d
On 23.05.2014 20:52, Etienne wrote: On 2014-05-23 2:14 PM, Rainer Schuetze wrote: BTW: How do you detect the sample pointers are alive? Or do you mean just the roots? You store a void** and the original value, dereference it to see if it's the same value as the original. Loop through 20 of

Re: Including Dub with D

2014-05-23 Thread Nick Sabalausky via Digitalmars-d
On 5/23/2014 10:35 AM, Jeremy Powers via Digitalmars-d wrote: On 23/05/14 08:33, Suliman wrote: what it the reason to change json to SDL? Less verbose. Can you elaborate? I find JSON to be precisely the right verbosity - enough to be human readable, not too much. Is the decision to

Re: isUniformRNG

2014-05-23 Thread Nick Sabalausky via Digitalmars-d
On 5/23/2014 3:04 PM, Joseph Rushton Wakeling via Digitalmars-d wrote: Hi Nick, Short reply because I think things are converging pretty well decision-wise :-) because crypto RNGs' .popFront() is of necessity going to be non-pure.) To make sure I understand (it seems my understanding of

Re: isUniformRNG

2014-05-23 Thread Joseph Rushton Wakeling via Digitalmars-d
On 23/05/14 21:38, Nick Sabalausky via Digitalmars-d wrote: Oh, right. For some reason I was thinking front, not popFront. My bad. Actually it's probably irrelevant in your case anyway, isn't it, because you'll be outputting raw binary data to a provided output range ... ? Well, I don't

Re: When the materials from dconf will be duplicated?

2014-05-23 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 23 May 2014 at 04:22:31 UTC, Suliman wrote: subj. It's very interesting to look... Andrei posted my little paper that I scribbled up last night lol http://imgur.com/hHCN3OL

Contracts: Potential for improvements

2014-05-23 Thread Andre via Digitalmars-d
Hi, after I attended a session for C4J (Contracts for Java) I revisited the contracts functionality in D. I tried to develop a very small example and failed early. It seems just by using interfaces for your class, contracts stopped working silently. By reading the bug reports for contracts

Re: Easy huge GC optimizations

2014-05-23 Thread via Digitalmars-d
On Friday, 23 May 2014 at 15:41:39 UTC, John Colvin wrote: Bear in mind here that most code goes though a whole bunch of machine learning algorithms in the CPU itself. Like it or not, it has proved extremely successful. What kind of machine learning? Branch prediction?

Interesting Bug in D

2014-05-23 Thread Adam Wilson via Digitalmars-d
Hi Kenji, My name is Adam Wilson. I am working on the Aurora Project for D and I was wondering if I could interest you in a bug that is giving me quite a lot of trouble. The problem is around how static if is parsed. Specifically, if you have two static if blocks that both evaluate to

Re: Thank you Kenji

2014-05-23 Thread Andrei Alexandrescu via Digitalmars-d
On 5/22/14, 9:11 PM, Martin Nowak wrote: Today at DConf we learned, once again, that people are doing and starting amazing projects using D. A lot of which wouldn't have been possible without your contribution. So I just wanted to say thank you. -Martin YES! D is incomparably better off ever

Re: Easy huge GC optimizations

2014-05-23 Thread Etienne via Digitalmars-d
On 2014-05-23 3:08 PM, Rainer Schuetze wrote: AFAICT your test case does not measure garbage collection, but manual memory management using the GC as the memory manager. delete/free are not meant to be called by user code as these are unsafe operations. Yes, you're right, the test without the

Re: Thank you Kenji

2014-05-23 Thread Steven Schveighoffer via Digitalmars-d
On Thu, 22 May 2014 21:11:38 -0700, Martin Nowak c...@dawg.eu wrote: Today at DConf we learned, once again, that people are doing and starting amazing projects using D. A lot of which wouldn't have been possible without your contribution. So I just wanted to say thank you. Seconded. Kenji is

Re: Thank you Kenji

2014-05-23 Thread bearophile via Digitalmars-d
Benjamin Thaut: I have to follow up on this. Of all bugs that have been issues for me, Kenji fixed the most of them. Thank you very much for your awesome work Kenji. Kenji has discussed, closed, refused, fixed, so many bugs and ideas. Thank you Kenji for your quite sharp mind and for all

Introducing Sampling to the GC

2014-05-23 Thread Etienne Cimon via Digitalmars-d
I've made some benchmarks, and I have found that for every (costly) collection routine of the GC, about ~0.7% of an application's (GC page bin contents) used memory is actually freed (in the GC pages). I made some tools to come up with those statistics, available with a patched druntime:

Re: Thank you Kenji

2014-05-23 Thread monarch_dodra via Digitalmars-d
On Friday, 23 May 2014 at 20:58:48 UTC, bearophile wrote: Benjamin Thaut: I have to follow up on this. Of all bugs that have been issues for me, Kenji fixed the most of them. Thank you very much for your awesome work Kenji. Kenji has discussed, closed, refused, fixed, so many bugs and

Re: Thank you Kenji

2014-05-23 Thread deadalnix via Digitalmars-d
On Friday, 23 May 2014 at 04:11:39 UTC, Martin Nowak wrote: Today at DConf we learned, once again, that people are doing and starting amazing projects using D. A lot of which wouldn't have been possible without your contribution. So I just wanted to say thank you. -Martin I can only agree and

Attaching and detaching threads from a C callee.

2014-05-23 Thread David Soria Parra via Digitalmars-d
Hi, I've asked this question before on the learn mailinglist but haven't received any answer yet so I think this might belong to general. I am looking for a convenient way to detach all but the current thread from the druntime. I know thread_detachByAddr and thread_detachThis exists,

To deadalnix

2014-05-23 Thread Joshua Niehus via Digitalmars-d
watching your talk was like witnessing Fermats last theorem being proven... the scheduler solution was brilliant and the semantic analysis of a mixin statement that resulted in a comprehensible error message blew my mind. Here is a belated applause that should have happened during those

Re: Thank you Kenji

2014-05-23 Thread Philpax via Digitalmars-d
Seeing Kenji at work is amazing. Thanks for all the great work, Kenji!

Re: Thank you Kenji

2014-05-23 Thread Jordi Sayol via Digitalmars-d
El 23/05/14 06:11, Martin Nowak via Digitalmars-d ha escrit: Today at DConf we learned, once again, that people are doing and starting amazing projects using D. A lot of which wouldn't have been possible without your contribution. So I just wanted to say thank you. -Martin +1000

Re: How to get struct's members ?

2014-05-23 Thread monarch_dodra via Digitalmars-d-learn
On Friday, 23 May 2014 at 01:17:18 UTC, bioinfornatics wrote: Dear, I would like to get struct's members and zip them with an action as struct A { int a; int b; } std.range.zip( __traits( allmembers, A ), [(x) = x == 0, (y) = y 3] ); like this i could apply an action to each field. I

Re: How to get struct's members ?

2014-05-23 Thread Philippe Sigaud via Digitalmars-d-learn
On Fri, May 23, 2014 at 8:44 AM, monarch_dodra via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: On Friday, 23 May 2014 at 01:17:18 UTC, bioinfornatics wrote: I would like to get struct's members and zip them with an action tupleof will do what you need (mostly). However, I

DerelictAL with alut?

2014-05-23 Thread Jack via Digitalmars-d-learn
Erm excuse me. Does the current DerelictAL come with alut bindings? If not, does it come with libaudio then? I saw this very old page on the internet about DerelictAL having some alut bindings: http://svn.dsource.org/projects/derelict/trunk/docs/al.html But I can't find any alut functions.

Re: DerelictAL with alut?

2014-05-23 Thread Rene Zwanenburg via Digitalmars-d-learn
On Friday, 23 May 2014 at 08:17:28 UTC, Jack wrote: Erm excuse me. Does the current DerelictAL come with alut bindings? If not, does it come with libaudio then? I saw this very old page on the internet about DerelictAL having some alut bindings:

Re: DerelictAL with alut?

2014-05-23 Thread Jack via Digitalmars-d-learn
On Friday, 23 May 2014 at 08:36:29 UTC, Rene Zwanenburg wrote: On Friday, 23 May 2014 at 08:17:28 UTC, Jack wrote: Erm excuse me. Does the current DerelictAL come with alut bindings? If not, does it come with libaudio then? I saw this very old page on the internet about DerelictAL having

Re: DerelictAL with alut?

2014-05-23 Thread Rene Zwanenburg via Digitalmars-d-learn
On Friday, 23 May 2014 at 09:01:24 UTC, Jack wrote: On Friday, 23 May 2014 at 08:36:29 UTC, Rene Zwanenburg wrote: On Friday, 23 May 2014 at 08:17:28 UTC, Jack wrote: Erm excuse me. Does the current DerelictAL come with alut bindings? If not, does it come with libaudio then? I saw this very

Re: DerelictAL with alut?

2014-05-23 Thread Jack via Digitalmars-d-learn
On Friday, 23 May 2014 at 09:11:45 UTC, Rene Zwanenburg wrote: On Friday, 23 May 2014 at 09:01:24 UTC, Jack wrote: On Friday, 23 May 2014 at 08:36:29 UTC, Rene Zwanenburg wrote: On Friday, 23 May 2014 at 08:17:28 UTC, Jack wrote: Erm excuse me. Does the current DerelictAL come with alut

Re: DerelictAL with alut?

2014-05-23 Thread Mike Parker via Digitalmars-d-learn
On 5/23/2014 6:01 PM, Jack wrote: On Friday, 23 May 2014 at 08:36:29 UTC, Rene Zwanenburg wrote: On Friday, 23 May 2014 at 08:17:28 UTC, Jack wrote: Erm excuse me. Does the current DerelictAL come with alut bindings? If not, does it come with libaudio then? I saw this very old page on the

Re: DerelictAL with alut?

2014-05-23 Thread Mike Parker via Digitalmars-d-learn
On 5/23/2014 6:11 PM, Rene Zwanenburg wrote: http://kcat.strangesoft.net/alure-docs/files/alure-cpp.html Hrm. I looked all over the ALURE homepage for a link to online docs. Thanks for posting it.

Re: DerelictAL with alut?

2014-05-23 Thread Rene Zwanenburg via Digitalmars-d-learn
On Friday, 23 May 2014 at 09:30:17 UTC, Mike Parker wrote: On 5/23/2014 6:11 PM, Rene Zwanenburg wrote: http://kcat.strangesoft.net/alure-docs/files/alure-cpp.html Hrm. I looked all over the ALURE homepage for a link to online docs. Thanks for posting it. Yeah it's a bit hidden. You can

Re: How to get struct's members ?

2014-05-23 Thread bioinfornatics via Digitalmars-d-learn
On Friday, 23 May 2014 at 08:20:05 UTC, Philippe Sigaud via Digitalmars-d-learn wrote: On Fri, May 23, 2014 at 8:44 AM, monarch_dodra via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: On Friday, 23 May 2014 at 01:17:18 UTC, bioinfornatics wrote: I would like to get struct's

Re: How to get struct's members ?

2014-05-23 Thread monarch_dodra via Digitalmars-d-learn
On Friday, 23 May 2014 at 08:20:05 UTC, Philippe Sigaud via Digitalmars-d-learn wrote: On Fri, May 23, 2014 at 8:44 AM, monarch_dodra via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: On Friday, 23 May 2014 at 01:17:18 UTC, bioinfornatics wrote: I would like to get struct's

Re: How to get struct's members ?

2014-05-23 Thread bioinfornatics via Digitalmars-d-learn
On Friday, 23 May 2014 at 01:17:18 UTC, bioinfornatics wrote: Dear, I would like to get struct's members and zip them with an action as struct A { int a; int b; } std.range.zip( __traits( allmembers, A ), [(x) = x == 0, (y) = y 3] ); like this i could apply an action to each field. I

Issue with contracts and assertions

2014-05-23 Thread Andre via Digitalmars-d-learn
Hi, for the attached code I noticed some strange behaviors. I compile the programm with: dmd main -unittest The expected assertion of the method c pre condition is not raised. It is only raised if class A not implements interface I. On the otherside the commented assertion in the invariant is

Re: Programming a Game in D? :D

2014-05-23 Thread David via Digitalmars-d-learn
Ok so I installed DDT for eclipse now but have a problem :D First the imports are changed, std.studio is now std.stdio (or its something completly else) And if I try to run the file now it says that the exe file of my file doesn't exsist wich I actully thought I creat by clicking on run? In

Re: Issue with contracts and assertions

2014-05-23 Thread Rene Zwanenburg via Digitalmars-d-learn
On Friday, 23 May 2014 at 13:45:07 UTC, Andre wrote: Hi, for the attached code I noticed some strange behaviors. I compile the programm with: dmd main -unittest The expected assertion of the method c pre condition is not raised. It is only raised if class A not implements interface I. On the

Re: Issue with contracts and assertions

2014-05-23 Thread Andre via Digitalmars-d-learn
Am 23.05.2014 16:34, schrieb Rene Zwanenburg: On Friday, 23 May 2014 at 13:45:07 UTC, Andre wrote: Hi, for the attached code I noticed some strange behaviors. I compile the programm with: dmd main -unittest The expected assertion of the method c pre condition is not raised. It is only raised

Re: Programming a Game in D? :D

2014-05-23 Thread David via Digitalmars-d-learn
On Friday, 23 May 2014 at 14:11:26 UTC, David wrote: Ok so I installed DDT for eclipse now but have a problem :D First the imports are changed, std.studio is now std.stdio (or its something completly else) And if I try to run the file now it says that the exe file of my file doesn't exsist

Re: Issue with contracts and assertions

2014-05-23 Thread Rene Zwanenburg via Digitalmars-d-learn
On Friday, 23 May 2014 at 14:38:27 UTC, Andre wrote: Am 23.05.2014 16:34, schrieb Rene Zwanenburg: In case there is a reason that the assertion is not run, if feels very dangerous for me that all assertions can be disabled by mistake just by adding an interface to a class. At least a compiler

  1   2   >