Re: 2D game engine written in D is in progress
Also do somebody know how should I speed up the sprite part of the code? In my opinion, it's pretty slow alrought it was the easiest way I could come up with. Hi, you have wrong approach to this problem. From design OOP view it is perfectly ok and this is how you universities teach it in their SQL classes... But you probably don't aim for clean OOP design but for speed. You work with every single sprite as entity. But you should aim to process sprites in batch. Your sprite should be probably struct, then feed array of them into separate function instead of calling on every sprite. Difference: foreach(sprite) sprite-doSth(); vs: doSth(sprite[]); this is good read: http://gameprogrammingpatterns.com/flyweight.html
Re: London D Programmers MeetUp
Thank you, Kingsley, for a very well organized and thought-through event. I was impressed by the calibre of people that attended, and look forward to attending future meetups.
Re: London D Programmers MeetUp
One interesting anecdote: somebody in a financial services company gave an account of giving D a try as a way to prototype something quickly, intending to rewrite it later in a more conventional language. The prototype went straight into production, and they are happy with it. The C interop was important for them to have made this possible. It was interesting, because it is a serious company where people don't by any means have a hacker mentality, and it was one more point at variance with the I am a java programmer but do all my personal projects in D narrative, and also because this particular kind of company is exactly the sort of second wave early adopter one wants to have. (I hope I represented this accurately, and tried to make this as vague as possible whilst still keeping it useful since people might not want the details of what they do being public).
Re: London D Programmers MeetUp
On 4 February 2015 at 21:17, Laeeth Isharc via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: One interesting anecdote: somebody in a financial services company gave an account of giving D a try as a way to prototype something quickly, intending to rewrite it later in a more conventional language. The prototype went straight into production, and they are happy with it. The C interop was important for them to have made this possible. It was interesting, because it is a serious company where people don't by any means have a hacker mentality, and it was one more point at variance with the I am a java programmer but do all my personal projects in D narrative, and also because this particular kind of company is exactly the sort of second wave early adopter one wants to have. (I hope I represented this accurately, and tried to make this as vague as possible whilst still keeping it useful since people might not want the details of what they do being public). That pretty much sums up my understanding of it too.
Re: This Week in D: Issue #4
On Wed, 04 Feb 2015 14:14:24 +, Adam D. Ruppe wrote: On Wednesday, 4 February 2015 at 13:50:54 UTC, wobbles wrote: p.s. Hope the search for your dog went well. Yes, we found her after she was outside for a week. Lost about 13% of her body weight and had dehydration and hypothermia, but the vet was able to treat it and it looks like she'll make a full recovery over the next month as she puts the weight back on. it's great that she's at home now. signature.asc Description: PGP signature
Re: Martin Nowak is our new release czar
On Thursday, 5 February 2015 at 00:07:37 UTC, Andrei Alexandrescu wrote: Andrew Edwards, our former release czar, declined his czardom because he went to college. Thanks and good luck! He left a void of power. After a period of turmoil and intestine political fights, we have a new, ruthless czar: Martin Nowak. The D developer circle is far more cutthroat and ruthless than I had originally thought.
Martin Nowak is our new release czar
Andrew Edwards, our former release czar, declined his czardom because he went to college. Thanks and good luck! He left a void of power. After a period of turmoil and intestine political fights, we have a new, ruthless czar: Martin Nowak. He plans to put us on a path of regular, predictable 6-week releases, thus ending the D Middle Ages. Please throw your hat in the air with me to hail the new czar! :o) Andrei
Re: Martin Nowak is our new release czar
On 5/02/2015 1:07 p.m., Andrei Alexandrescu wrote: Andrew Edwards, our former release czar, declined his czardom because he went to college. Thanks and good luck! He left a void of power. After a period of turmoil and intestine political fights, we have a new, ruthless czar: Martin Nowak. He plans to put us on a path of regular, predictable 6-week releases, thus ending the D Middle Ages. Please throw your hat in the air with me to hail the new czar! :o) Andrei Congrats! and yay!
Re: London D Programmers MeetUp
Thanks to everyone who attended it was a great evening of D fun :) As part of the evening we did a secret santa code challenge - here are some of the results: http://www.meetup.com/London-D-Programmers/messages/boards/thread/48694585 We had about 13 people from different backgrounds - many from C/C++ as well as Java, F# and dynamic languages such as Python. Many of the guys had a financial / banking background or an academic background - for example we had some guys working on market data, another guy who ran a hedge fun as well as people from scientific / research and university backgrounds. We touched on IDE's and editors for D - I demo'd my intellij plugin. Bruno was also there (he maintains the eclipse D plugin DDT) and he had some interesting things to say about where he thought the future of IDE's is going especially in terms of code completion. In my intellij plugin I actually re-use the guts of the DDT parser/lexer and the general opinion seemed to be that have a single set of tools that could be re-used in multiple IDE projects was a good way forward. I already implemented Brian's DCD and DScanner tools in my plugin and Bruno was looking to go that way also rather than re-writing the wheel each time. Brian certainly has some great tools in D for this kind of thing. (Hackerpilot - DCD/libdparse/DScanner etc) We also had some discussion about the popularity of D - and many felt that D was a great language especially coming from C/C++ but that the whole community was perhaps a little fragmented and finding information on the Dlang site was also a bit disjointed and that in order for a language to gain popularity it needed the appropriate community support and information - the recent language Rust was mentioned as having great documentation/support for new people and is arguably doing a better job at that aspect than D especially since its such a new language compared to D. There was also a bit of discussion around the dub package manager with Russel W feeling strongly that dub was more like a java maven and had many issues for what he wanted to do. I think he has since posted something on the D forum about his dub feelings. We got onto dub from my intellij plugin which uses dub by default. We got together in pairs with 1 more experienced D person and 1 newbie / less experienced D persons and paired on the secret santa challenge. We only had about 45 mins for this one and then some discussion on how we chose to implement things. A couple of issues came out of the challenge regarding familiarity with syntax and then spending time hunting down the docs - is there a forall in D? Also one of the guys ended up with an out of data d compiler and spend a lot of time trying to get the right version instead of the one that came with the IDE he downloaded. The slides for the evening are here: http://slides.com/kingsleyhendrickse/london-d-programmers Our kind host Skills Matter are organising a Functional Programming conference in the summer and they have suggested we add a D talk to it that focuses on the functional aspects of D. I'll be arranging meetups every 6 weeks or so. Hope to see you all at the next one :) On Sunday, 1 February 2015 at 17:33:48 UTC, Kingsley wrote: Hi Just a reminder that the first London D Programmers meet up is happening on Tuesday February 3rd at Skills Matter. Looking forward to seeing you there :) http://www.meetup.com/London-D-Programmers/ --Kingsley On Tuesday, 23 December 2014 at 18:26:52 UTC, Kingsley wrote: Hi, I've created this meetup group for any London based D enthusiasts to meet up and get excited about D. I'll also demo my intellij plugin for D at the first meetup which I've scheduled for February. Although I might be a bit lonely if I'm the only person there! lol. http://www.meetup.com/London-D-Programmers/ Please join me if you are in the area and feel like getting some D.
Re: London D Programmers MeetUp
Also Iain B was there (who maintains the GDC compiler) and he mentioned that he was more from a devops background than a developer background and found it interesting to see how people were using the compiler. Thanks all who came from further away for making it :) On Wednesday, 4 February 2015 at 12:53:45 UTC, Kingsley wrote: Thanks to everyone who attended it was a great evening of D fun :) As part of the evening we did a secret santa code challenge - here are some of the results: http://www.meetup.com/London-D-Programmers/messages/boards/thread/48694585 We had about 13 people from different backgrounds - many from C/C++ as well as Java, F# and dynamic languages such as Python. Many of the guys had a financial / banking background or an academic background - for example we had some guys working on market data, another guy who ran a hedge fun as well as people from scientific / research and university backgrounds. We touched on IDE's and editors for D - I demo'd my intellij plugin. Bruno was also there (he maintains the eclipse D plugin DDT) and he had some interesting things to say about where he thought the future of IDE's is going especially in terms of code completion. In my intellij plugin I actually re-use the guts of the DDT parser/lexer and the general opinion seemed to be that have a single set of tools that could be re-used in multiple IDE projects was a good way forward. I already implemented Brian's DCD and DScanner tools in my plugin and Bruno was looking to go that way also rather than re-writing the wheel each time. Brian certainly has some great tools in D for this kind of thing. (Hackerpilot - DCD/libdparse/DScanner etc) We also had some discussion about the popularity of D - and many felt that D was a great language especially coming from C/C++ but that the whole community was perhaps a little fragmented and finding information on the Dlang site was also a bit disjointed and that in order for a language to gain popularity it needed the appropriate community support and information - the recent language Rust was mentioned as having great documentation/support for new people and is arguably doing a better job at that aspect than D especially since its such a new language compared to D. There was also a bit of discussion around the dub package manager with Russel W feeling strongly that dub was more like a java maven and had many issues for what he wanted to do. I think he has since posted something on the D forum about his dub feelings. We got onto dub from my intellij plugin which uses dub by default. We got together in pairs with 1 more experienced D person and 1 newbie / less experienced D persons and paired on the secret santa challenge. We only had about 45 mins for this one and then some discussion on how we chose to implement things. A couple of issues came out of the challenge regarding familiarity with syntax and then spending time hunting down the docs - is there a forall in D? Also one of the guys ended up with an out of data d compiler and spend a lot of time trying to get the right version instead of the one that came with the IDE he downloaded. The slides for the evening are here: http://slides.com/kingsleyhendrickse/london-d-programmers Our kind host Skills Matter are organising a Functional Programming conference in the summer and they have suggested we add a D talk to it that focuses on the functional aspects of D. I'll be arranging meetups every 6 weeks or so. Hope to see you all at the next one :) On Sunday, 1 February 2015 at 17:33:48 UTC, Kingsley wrote: Hi Just a reminder that the first London D Programmers meet up is happening on Tuesday February 3rd at Skills Matter. Looking forward to seeing you there :) http://www.meetup.com/London-D-Programmers/ --Kingsley On Tuesday, 23 December 2014 at 18:26:52 UTC, Kingsley wrote: Hi, I've created this meetup group for any London based D enthusiasts to meet up and get excited about D. I'll also demo my intellij plugin for D at the first meetup which I've scheduled for February. Although I might be a bit lonely if I'm the only person there! lol. http://www.meetup.com/London-D-Programmers/ Please join me if you are in the area and feel like getting some D.
Re: This Week in D: Issue #4
On 4 February 2015 at 14:14, Adam D. Ruppe via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Wednesday, 4 February 2015 at 13:50:54 UTC, wobbles wrote: p.s. Hope the search for your dog went well. Yes, we found her after she was outside for a week. Lost about 13% of her body weight and had dehydration and hypothermia, but the vet was able to treat it and it looks like she'll make a full recovery over the next month as she puts the weight back on. This is the best news I've heard all week. Iain.
Re: DStep - Bindings Generator 0.0.1
On 2015-02-03 11:01, Chris wrote: And still nobody knows what DStep is all about? BTW, this is a three year old thread someone answered to. It was the initial announcement of DStep. -- /Jacob Carlborg
Re: London D Programmers MeetUp
On 4 February 2015 at 12:58, Kingsley via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Also Iain B was there (who maintains the GDC compiler) and he mentioned that he was more from a devops background than a developer background and found it interesting to see how people were using the compiler. Thanks all who came from further away for making it :) Pics or it didn't happen! http://www.meetup.com/London-D-Programmers/photos/25894172/433998206/
Re: This Week in D: Issue #4
On Monday, 2 February 2015 at 04:57:10 UTC, Adam D. Ruppe wrote: I can't believe it, but yet another week has already passed, so up late to release this again! http://arsdnet.net/this-week-in-d/feb-01.html Early bird registration open for DConf, 2015 Vision released, GUI and Windows development on the forums. Today's tip is about class destructors, and Project Spotlight makes a return to introduce simpledisplay.d, in the first in what will become a series that walks us through making a bit of a little game in D. (Expect this to not be each week, it takes me a long time to write the project spotlight and I've been very busy lately and expect to continue being busy in the coming weeks. I'll probably try to do it every other week rather than every week.) http://www.reddit.com/r/programming/comments/2uhgzr/this_week_in_d_2015_vision_released_tip_on/ https://twitter.com/adamdruppe/status/562112301248290816 Thanks adam. The simpledisplay.d stuff is very interesting. Must play around with it soon! p.s. Hope the search for your dog went well.
Re: This Week in D: Issue #4
On Wednesday, 4 February 2015 at 13:50:54 UTC, wobbles wrote: p.s. Hope the search for your dog went well. Yes, we found her after she was outside for a week. Lost about 13% of her body weight and had dehydration and hypothermia, but the vet was able to treat it and it looks like she'll make a full recovery over the next month as she puts the weight back on.
Re: London D Programmers MeetUp
usually it applies to a collection e.g. List in Scala there is one - that takes a function that returns a boolean. e.g. List(1,2,3).forall(x = x 3) which is equivalent to a foldLeft ( I think) On Wednesday, 4 February 2015 at 14:52:32 UTC, Andrej Mitrovic wrote: On 2/4/15, Kingsley via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: A couple of issues came out of the challenge regarding familiarity with syntax and then spending time hunting down the docs - is there a forall in D? What would forall do?
Re: This Week in D: Issue #4
On Wednesday, 4 February 2015 at 14:14:27 UTC, Adam D. Ruppe wrote: On Wednesday, 4 February 2015 at 13:50:54 UTC, wobbles wrote: p.s. Hope the search for your dog went well. Yes, we found her after she was outside for a week. Lost about 13% of her body weight and had dehydration and hypothermia, but the vet was able to treat it and it looks like she'll make a full recovery over the next month as she puts the weight back on. Great, very glad there was a happy ending!
Re: This Week in D: Issue #4
On Mon, 02 Feb 2015 04:57:09 +, Adam D. Ruppe wrote: I can't believe it, but yet another week has already passed, so up late to release this again! OT: just used your `arsd.cgi` to write a simple web-service (internal service using to decode some binary files to text). it took me about ten minutes, including reading comments in cgi.d, and works like a charm. sure, it's not ready for big internets, but it solves my task perfectly. thank you. signature.asc Description: PGP signature
Re: This Week in D: Issue #4
On Wednesday, 4 February 2015 at 14:14:27 UTC, Adam D. Ruppe wrote: On Wednesday, 4 February 2015 at 13:50:54 UTC, wobbles wrote: the vet was able to treat it and it looks like she'll make a full recovery over the next month as she puts the weight back on. Wow. She is a fighter. Glad to hear that everything is OK now.
Re: London D Programmers MeetUp
On 2/4/15, Kingsley via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: A couple of issues came out of the challenge regarding familiarity with syntax and then spending time hunting down the docs - is there a forall in D? What would forall do?
Re: London D Programmers MeetUp
John Colvin via Digitalmars-d-announce píše v St 04. 02. 2015 v 15:08 +: On Wednesday, 4 February 2015 at 15:02:09 UTC, Kingsley wrote: usually it applies to a collection e.g. List in Scala there is one - that takes a function that returns a boolean. e.g. List(1,2,3).forall(x = x 3) If I understand what you want correctly, std.algorithm.all Yep, ignore my previous answer
Re: London D Programmers MeetUp
John Colvin via Digitalmars-d-announce píše v St 04. 02. 2015 v 15:08 +: On Wednesday, 4 February 2015 at 15:02:09 UTC, Kingsley wrote: usually it applies to a collection e.g. List in Scala there is one - that takes a function that returns a boolean. e.g. List(1,2,3).forall(x = x 3) If I understand what you want correctly, std.algorithm.all I am not sure maybe he wants std.algorithm.filter
Re: This Week in D: Issue #4
On Wednesday, 4 February 2015 at 14:34:18 UTC, eles wrote: Wow. She is a fighter. Glad to hear that everything is OK now. Aye, I really don't know how she survived some of those nights, below zero temperatures (Fahrenheit - so actually cold) with nasty wind from that storm that hit the eastern US last week. But she did.
Re: London D Programmers MeetUp
On Wednesday, 4 February 2015 at 15:02:09 UTC, Kingsley wrote: usually it applies to a collection e.g. List in Scala there is one - that takes a function that returns a boolean. e.g. List(1,2,3).forall(x = x 3) If I understand what you want correctly, std.algorithm.all
Re: Martin Nowak is our new release czar
On 5 February 2015 at 10:07, Andrei Alexandrescu via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Andrew Edwards, our former release czar, declined his czardom because he went to college. Thanks and good luck! He left a void of power. After a period of turmoil and intestine political fights, we have a new, ruthless czar: Martin Nowak. He plans to put us on a path of regular, predictable 6-week releases, thus ending the D Middle Ages. Please throw your hat in the air with me to hail the new czar! :o) Huzzah! Or should I say... Huczar! *cough*
Re: Martin Nowak is our new release czar
On Thursday, 5 February 2015 at 00:07:37 UTC, Andrei Alexandrescu wrote: Andrew Edwards, our former release czar, declined his czardom because he went to college. Thanks and good luck! He left a void of power. After a period of turmoil and intestine political fights, we have a new, ruthless czar: Martin Nowak. He plans to put us on a path of regular, predictable 6-week releases, thus ending the D Middle Ages. Please throw your hat in the air with me to hail the new czar! :o) Andrei Martin, thank you for stepping up.