Re: [OT] Language Cocktail

2013-09-18 Thread Nick Sabalausky
On Wed, 18 Sep 2013 21:45:42 +0200 Jacob Carlborg wrote: > On 2013-09-18 20:49, Nick Sabalausky wrote: > > > Sam Adams is well regarded but I've always found any of their > > varieties overly bitter. But then I'm not usually into the bitter > > ones anyway - Stella is more my style (or many of t

Re: [OT] Language Cocktail

2013-09-18 Thread Nick Sabalausky
On Wed, 18 Sep 2013 14:30:21 -0500 captaindet <2k...@gmx.net> wrote: > ouch!! this gives me a phantom acid reflux. Yuengling is hardly > german/czech lager/pilsener style but rather appalling. the little > flavor it has is mostly metallic/sour. (disclaimer: last time i tried > it was in 2005.) Wel

Re: Will Java go native?

2013-09-18 Thread PauloPinto
On Thursday, 19 September 2013 at 00:25:57 UTC, Walter Bright wrote: On 9/18/2013 2:33 PM, Chris wrote: Seeing that more and more developers and companies look for or actively develop native languages, I wonder will Java go native one day? (Cf. http://docs.oracle.com/cd/A97336_01/buslog.102/a83

Re: Opaque handles...

2013-09-18 Thread Tavi Cacina
On Wednesday, 18 September 2013 at 16:05:00 UTC, Manu wrote: One final problem with ref-counting in D. Since it's not a 1st class feature and requires you to store a ref-count in your object, you can't make your objects immutable anymore because the ref-count needs to be bumped about as the obj

Re: Will Java go native?

2013-09-18 Thread PauloPinto
On Wednesday, 18 September 2013 at 23:53:35 UTC, Iain Buclaw wrote: On 18 September 2013 22:33, Chris wrote: Seeing that more and more developers and companies look for or actively develop native languages, I wonder will Java go native one day? (Cf. http://docs.oracle.com/cd/A97336_01/buslog.

Re: [OT] Which IDE / Editor do you use?

2013-09-18 Thread deadalnix
On Wednesday, 18 September 2013 at 18:29:25 UTC, Nick Sabalausky wrote: On Wed, 18 Sep 2013 11:15:35 +0200 "PauloPinto" wrote: On Wednesday, 18 September 2013 at 08:42:16 UTC, Chris wrote: > > Although nice to have, D doesn't really need an IDE. IDEs > can easily degenerate into luxurious pri

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread deadalnix
On Wednesday, 18 September 2013 at 16:25:16 UTC, Dicebot wrote: You can get this information from gcc and use it to define 100% correct dependencies. However, it highlights another issue common for build tools not coupled with compiler - to generate dependency graph reliably you need now to par

Re: [OT] Language Cocktail

2013-09-18 Thread Jon
Ahh, the "makeshit double boiler" method. I do similar for certain sakes. Ie, the ones that say on the bottle they're best when warmed ;) Also the ones that are best hot, which would be the lower-quality ones and any that are getting old (Sake's not like most other boozes - after the initia

Re: [OT] Language Cocktail

2013-09-18 Thread Meta
How about a Screwdriver? Goes down easy, and gets you smashed (in a good way). A generous amount of vodka Fill it up with orange juice A single drop of red food colouring for the rusty Mars colour

Re: Will Java go native?

2013-09-18 Thread Walter Bright
On 9/18/2013 6:01 PM, Jos van Uden wrote: On 19-9-2013 2:25, Walter Bright wrote: On 9/18/2013 2:33 PM, Chris wrote: Seeing that more and more developers and companies look for or actively develop native languages, I wonder will Java go native one day? (Cf. http://docs.oracle.com/cd/A97336_01/b

Re: Qt Creator and D

2013-09-18 Thread Dicebot
On Thursday, 19 September 2013 at 01:18:42 UTC, Manu wrote: Does it support incremental linking and edit-and-continue? (or is there ANY other compiler+IDE out there that does?) If it does, I'll look at it very very seriously. Those are features of linker / debugger, not IDE. Simply trying dif

Re: Opaque handles...

2013-09-18 Thread Manu
On 19 September 2013 02:57, Adam D. Ruppe wrote: > On Wednesday, 18 September 2013 at 16:05:00 UTC, Manu wrote: > >> This seems okay at first, but then you realise there are serious problems >> with new (wants to return new memory, I can't hook the new operator?), >> > > There is an override for

Re: Qt Creator and D

2013-09-18 Thread Manu
On 19 September 2013 03:29, F i L wrote: > Somewhat related. I use Kate (for D & web development) and occasionally > KDevelop (for C/C++ stuff). I only started using these when I switched from > Gnome to KDE 6 months ago, but I was very impressed and now they're my > favorite editors (KDevelop ca

Re: Will Java go native?

2013-09-18 Thread Jos van Uden
On 19-9-2013 2:25, Walter Bright wrote: On 9/18/2013 2:33 PM, Chris wrote: Seeing that more and more developers and companies look for or actively develop native languages, I wonder will Java go native one day? (Cf. http://docs.oracle.com/cd/A97336_01/buslog.102/a83727/jtools5.htm) I wrote a n

Re: Will Java go native?

2013-09-18 Thread Walter Bright
On 9/18/2013 2:33 PM, Chris wrote: Seeing that more and more developers and companies look for or actively develop native languages, I wonder will Java go native one day? (Cf. http://docs.oracle.com/cd/A97336_01/buslog.102/a83727/jtools5.htm) I wrote a native Java compiler in the 90's that was

Re: Will Java go native?

2013-09-18 Thread Iain Buclaw
On 18 September 2013 22:33, Chris wrote: > Seeing that more and more developers and companies look for or actively > develop native languages, I wonder will Java go native one day? (Cf. > http://docs.oracle.com/cd/A97336_01/buslog.102/a83727/jtools5.htm) > > Is this Java's only chance to keep up w

Re: [OT] Which IDE / Editor do you use?

2013-09-18 Thread Iain Buclaw
On 19 September 2013 00:03, growler wrote: > On Wednesday, 18 September 2013 at 20:46:00 UTC, Paulo Pinto wrote: >> >> Am 18.09.2013 22:31, schrieb H. S. Teoh: >>> >>> On Wed, Sep 18, 2013 at 03:01:26AM +0200, Adam D. Ruppe wrote: On Tuesday, 17 September 2013 at 17:01:55 UTC, H. S. Teoh

Re: Qt Creator and D

2013-09-18 Thread Brian Schott
On Wednesday, 18 September 2013 at 17:31:56 UTC, Dicebot wrote: AFAIK Kate already has DCD-based plugin for D https://github.com/Dav1dde/lumen The README says that it should be able to work with anything that uses KTextEditor. (I've only tried it with Kate though)

Re: On inlining in D libraries

2013-09-18 Thread Iain Buclaw
On 18 September 2013 19:06, monarch_dodra wrote: > On Wednesday, 18 September 2013 at 17:23:04 UTC, Dmitry Olshansky wrote: >> >> All is not lost - we have Kenji! > > > Lol, makes me think of Captain Planet. > > "With the five powers combined they summon D's greatest champion - Kenji > Hara!" > >

Re: Qt Creator and D

2013-09-18 Thread growler
On Wednesday, 18 September 2013 at 23:25:56 UTC, growler wrote: On Wednesday, 18 September 2013 at 17:38:57 UTC, Joseph Rushton Wakeling wrote: On 18/09/13 19:10, Paulo Pinto wrote: For starters, Qt creator can make use of Kate configuration files. So we could at very least have D syntax high

Re: Qt Creator and D

2013-09-18 Thread growler
On Wednesday, 18 September 2013 at 17:38:57 UTC, Joseph Rushton Wakeling wrote: On 18/09/13 19:10, Paulo Pinto wrote: For starters, Qt creator can make use of Kate configuration files. So we could at very least have D syntax highlighting available. It is available -- current Qt Creator has t

Re: [OT] Which IDE / Editor do you use?

2013-09-18 Thread growler
On Wednesday, 18 September 2013 at 20:46:00 UTC, Paulo Pinto wrote: Am 18.09.2013 22:31, schrieb H. S. Teoh: On Wed, Sep 18, 2013 at 03:01:26AM +0200, Adam D. Ruppe wrote: On Tuesday, 17 September 2013 at 17:01:55 UTC, H. S. Teoh wrote: Actually, that gives me an idea. What if, instead of defa

Re: Will Java go native?

2013-09-18 Thread Chris
On Wednesday, 18 September 2013 at 22:33:46 UTC, Chris wrote: On Wednesday, 18 September 2013 at 22:24:08 UTC, Paulo Pinto wrote: Am 18.09.2013 23:33, schrieb Chris: Seeing that more and more developers and companies look for or actively develop native languages, I wonder will Java go native on

Re: Will Java go native?

2013-09-18 Thread Chris
On Wednesday, 18 September 2013 at 22:24:08 UTC, Paulo Pinto wrote: Am 18.09.2013 23:33, schrieb Chris: Seeing that more and more developers and companies look for or actively develop native languages, I wonder will Java go native one day? (Cf. http://docs.oracle.com/cd/A97336_01/buslog.102/a8

Re: Will Java go native?

2013-09-18 Thread Paulo Pinto
Am 18.09.2013 23:33, schrieb Chris: Seeing that more and more developers and companies look for or actively develop native languages, I wonder will Java go native one day? (Cf. http://docs.oracle.com/cd/A97336_01/buslog.102/a83727/jtools5.htm) Is this Java's only chance to keep up with Go and Ru

Will Java go native?

2013-09-18 Thread Chris
Seeing that more and more developers and companies look for or actively develop native languages, I wonder will Java go native one day? (Cf. http://docs.oracle.com/cd/A97336_01/buslog.102/a83727/jtools5.htm) Is this Java's only chance to keep up with Go and Rust (and D)? Performance is an iss

Re: [OT] Language Cocktail

2013-09-18 Thread Nick Sabalausky
On Wed, 18 Sep 2013 21:33:14 +0200 Jacob Carlborg wrote: > > With dark rums, it nice to drink them slightly warm. Boil some water, > pour it in a glass. Pour some dark rum in a Cognac glass[1], put the > glass with the rum on the glass with water. The glass with the rum > shouldn't touch the w

Re: [OT] Which IDE / Editor do you use?

2013-09-18 Thread Paulo Pinto
Am 18.09.2013 22:31, schrieb H. S. Teoh: On Wed, Sep 18, 2013 at 03:01:26AM +0200, Adam D. Ruppe wrote: On Tuesday, 17 September 2013 at 17:01:55 UTC, H. S. Teoh wrote: Actually, that gives me an idea. What if, instead of defaulting to character data, the terminal input stream defaults to contr

Re: [OT] Language Cocktail

2013-09-18 Thread Nick Sabalausky
On Wed, 18 Sep 2013 21:45:39 +0200 "Brian Schott" wrote: > On Wednesday, 18 September 2013 at 19:40:58 UTC, Andrej Mitrovic > wrote: > > If there's any insight to come from this thread, it is that > > most D > > programmers seem to be suffering from crippling alcoholism. :P I think you mean s/

Re: [OT] Language Cocktail

2013-09-18 Thread Namespace
On Wednesday, 18 September 2013 at 16:51:41 UTC, Jacob Carlborg wrote: On 2013-09-18 18:02, Nick Sabalausky wrote: Personally though, I'm more rum or sake than beer. (And that's sah-kay, not sah-kee.) Rum is very nice :) Whisky is the best :D -> Johnny Walker Blue / Platinum Label Someone

Re: UFCS is just awesome

2013-09-18 Thread Peter Alexander
Always good to hear positive feedback about D :-) I think small things like this add upto a lot for long term maintainability of application software. Absolutely. Of course, you need to get the big things right too, but the small things make it all so much more bearable.

UFCS is just awesome

2013-09-18 Thread fedvasu
I a noob at D, I am an intermediate java programmer, I am learning C++ for my next project(employment). I knew about D, I always felt like D is "C++: The good parts(TM) without tooling". I dabbled a bit in D (a few project euler problems,nothing major) DMD and LDC work flawlessly on fedora (goo

Re: [OT] Which IDE / Editor do you use?

2013-09-18 Thread H. S. Teoh
On Wed, Sep 18, 2013 at 03:01:26AM +0200, Adam D. Ruppe wrote: > On Tuesday, 17 September 2013 at 17:01:55 UTC, H. S. Teoh wrote: > >Actually, that gives me an idea. What if, instead of defaulting to > >character data, the terminal input stream defaults to control > >structures? > > hehe those who

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Jacob Carlborg
On 2013-09-18 20:06, H. S. Teoh wrote: Really? I thought rdmd caches object files. Or does that only apply to executables? There are some issues with that. Just search for incremental complication, or something like that, in these newsgroup. It has been tried before, notably by Tomaz. -- /

Re: Move VisualD to github/d-programming-language ?

2013-09-18 Thread Nick Sabalausky
On Mon, 16 Sep 2013 15:22:29 +0100 Bruno Medeiros wrote: > > But Eclipse bashing by people who use say, VisualStudio, that I don't > understand. Last time I tried both toolchains, VS seemed as heavy and > "bloated" as Eclipse (CDT) was. Yet CDT seemed quite ahead in terms > of features, especia

Re: [OT] Language Cocktail

2013-09-18 Thread Jacob Carlborg
On 2013-09-18 21:30, captaindet wrote: yes, i do love my beer. being a german who lived several years in the UK and US (and currently do) i have quite an opinion on this. first thing, i had to give up the idea of finding german style beers (which is mostly pilsener and wheats) For got about wh

Re: Move VisualD to github/d-programming-language ?

2013-09-18 Thread Nick Sabalausky
On Sun, 15 Sep 2013 18:56:32 +0200 "deadalnix" wrote: > On Sunday, 15 September 2013 at 16:41:43 UTC, Paulo Pinto wrote: > > I would say the selling points would mainly be: > > > > - system level programming features outside what unsafe blocks > > allow for in C# > > - meta-programming abilities

Re: [OT] Language Cocktail

2013-09-18 Thread Jacob Carlborg
On 2013-09-18 21:45, Brian Schott wrote: http://xkcd.com/323/ Haha :) -- /Jacob Carlborg

Re: [OT] Language Cocktail

2013-09-18 Thread Jacob Carlborg
On 2013-09-18 20:49, Nick Sabalausky wrote: Sam Adams is well regarded but I've always found any of their varieties overly bitter. But then I'm not usually into the bitter ones anyway - Stella is more my style (or many of the other "German beer purity law" imports). If I do go for a bitter one t

Re: [OT] Language Cocktail

2013-09-18 Thread Brian Schott
On Wednesday, 18 September 2013 at 19:40:58 UTC, Andrej Mitrovic wrote: If there's any insight to come from this thread, it is that most D programmers seem to be suffering from crippling alcoholism. :P http://xkcd.com/323/

Re: [OT] Language Cocktail

2013-09-18 Thread Andrej Mitrovic
On 9/18/13, Jacob Carlborg wrote: > No, not Captain Morgan. It's horrible. Captain Morgan, Bacardi and > Negrita (if I recall correctly) are the three worst kinds. At least of > what is common here. > > Havana Club is very nice standard rum. Nothing fancy, good for mixing > drinks. Ron Barcelo

Re: [OT] Language Cocktail

2013-09-18 Thread Jacob Carlborg
On 2013-09-18 20:39, Nick Sabalausky wrote: Particularly the flavored ones :). Like Coconut/Pineapple Parrot Bay, or Malibu. Tried Capt Morgan's spiced rum once too, very good. Not so big on black rum when I tried it, but maybe it was just the brand or needs the right mixed drink. No, not

Re: [OT] Language Cocktail

2013-09-18 Thread captaindet
On 2013-09-18 11:02, Nick Sabalausky wrote: On Wednesday, 18 September 2013 at 14:35:59 UTC, Namespace wrote: In fairness, there is some really good stuff being brewed in the U.S. Sierra Nevada for example (http://www.sierranevada.com/), and there are some nice micro-breweries that produce qualit

Re: [OT] Language Cocktail

2013-09-18 Thread Nick Sabalausky
On Wed, 18 Sep 2013 18:51:16 +0200 Jacob Carlborg wrote: > On 2013-09-18 16:42, Chris wrote: > > > In fairness, there is some really good stuff being brewed in the > > U.S. Sierra Nevada for example (http://www.sierranevada.com/), and > > there are some nice micro-breweries that produce quality

Re: [OT] Language Cocktail

2013-09-18 Thread Nick Sabalausky
On Wed, 18 Sep 2013 18:51:35 +0200 Jacob Carlborg wrote: > rsonally though, I'm more rum or sake than beer. (And that's sah-kay, > > not sah-kee.) > > Rum is very nice :) > Particularly the flavored ones :). Like Coconut/Pineapple Parrot Bay, or Malibu. Tried Capt Morgan's spiced rum once to

Re: [OT] Which IDE / Editor do you use?

2013-09-18 Thread Nick Sabalausky
On Wed, 18 Sep 2013 11:15:35 +0200 "PauloPinto" wrote: > On Wednesday, 18 September 2013 at 08:42:16 UTC, Chris wrote: > > > > Although nice to have, D doesn't really need an IDE. IDEs can > > easily degenerate into luxurious prisons. > > Enjoying gold cage prisons since 1991. :) "But I could

Re: [OT] Which IDE / Editor do you use?

2013-09-18 Thread Nick Sabalausky
On Wed, 18 Sep 2013 06:15:00 -0700 "H. S. Teoh" wrote: > On Wed, Sep 18, 2013 at 07:29:24AM +0200, Michael wrote: > > > > > >Besides, we aren't on 300 baud serial lines! > > > > > > > As backup line I have 56k dial-up modem ;) > > We still trolling each other about IDE ?) Or Win 8.1 UI is the be

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Andrei Alexandrescu
On 9/18/13 10:32 AM, Peter Alexander wrote: On Wednesday, 18 September 2013 at 17:25:21 UTC, Andrei Alexandrescu wrote: But what I meant to say was join me in a place where you get to write D. Facebook is using D for actual projects? Can you elaborate any more? Not yet. I mean I am not at li

Re: On inlining in D libraries

2013-09-18 Thread monarch_dodra
On Wednesday, 18 September 2013 at 17:23:04 UTC, Dmitry Olshansky wrote: All is not lost - we have Kenji! Lol, makes me think of Captain Planet. "With the five powers combined they summon D's greatest champion - Kenji Hara!" - Compilers! - Assembly! - Bug fixes! - Standard Libraries! - Link

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Andrej Mitrovic
On 9/18/13, H. S. Teoh wrote: > I thought rdmd caches object files. It caches dependency lists.

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread H. S. Teoh
On Wed, Sep 18, 2013 at 10:25:57AM -0700, Andrei Alexandrescu wrote: > On 9/18/13 9:09 AM, Manu wrote: > >On 19 September 2013 02:05, Andrej Mitrovic >> wrote: > > > >On 9/18/13, Andrei Alexandrescu >> wrote: > >

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Andrei Alexandrescu
On 9/18/13 11:06 AM, H. S. Teoh wrote: On Wed, Sep 18, 2013 at 10:25:57AM -0700, Andrei Alexandrescu wrote: On 9/18/13 9:09 AM, Manu wrote: On 19 September 2013 02:05, Andrej Mitrovic mailto:andrej.mitrov...@gmail.com>> wrote: On 9/18/13, Andrei Alexandrescu mailto:seewebsiteforem...@erdan

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Andrei Alexandrescu
On 9/18/13 9:05 AM, Andrej Mitrovic wrote: On 9/18/13, Andrei Alexandrescu wrote: Problem is, 80% of the code I write is C code still... :( join me I don't suppose GCC and other compilers have some kind of verbose output that exports include declarations? Or maybe just modify an RDMD fork t

Re: Qt Creator and D

2013-09-18 Thread Joseph Rushton Wakeling
On 18/09/13 19:10, Paulo Pinto wrote: For starters, Qt creator can make use of Kate configuration files. So we could at very least have D syntax highlighting available. It is available -- current Qt Creator has the same d.xml as the most recent Kate. It dates from 2011 and supports both D an

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Peter Alexander
On Wednesday, 18 September 2013 at 16:24:19 UTC, Adam D. Ruppe wrote: On Wednesday, 18 September 2013 at 16:22:27 UTC, Iain Buclaw wrote: Takes about 30-40 seconds with gdc. ;-) Yikes. Though that reminds me of something, I don't use dmd -O very often, which is horribly slow too. I guess in

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Peter Alexander
On Wednesday, 18 September 2013 at 17:25:21 UTC, Andrei Alexandrescu wrote: But what I meant to say was join me in a place where you get to write D. Facebook is using D for actual projects? Can you elaborate any more?

Re: Qt Creator and D

2013-09-18 Thread Dicebot
On Wednesday, 18 September 2013 at 17:29:54 UTC, F i L wrote: Somewhat related. I use Kate (for D & web development) and occasionally KDevelop (for C/C++ stuff). I only started using these when I switched from Gnome to KDE 6 months ago, but I was very impressed and now they're my favorite edito

Re: How Compilers Work

2013-09-18 Thread Nick Sabalausky
On Wed, 18 Sep 2013 10:10:42 +0200 "Gary Willoughby" wrote: > On Wednesday, 18 September 2013 at 06:11:44 UTC, Brian Schott > wrote: > > On Wednesday, 18 September 2013 at 05:23:03 UTC, Walter Bright > > wrote: > >> http://i.imgur.com/OnMc8HO.jpg > > > > Today I learned that > > > > mixin("*msg

Re: On inlining in D libraries

2013-09-18 Thread Dmitry Olshansky
16-Sep-2013 01:51, Dmitry Olshansky пишет: 15-Sep-2013 23:05, Andrej Mitrovic пишет: On 9/15/13, monarch_dodra wrote: By simply making them templates, I can improve the performance of functions such as "split on ascii white" by 2 to 3 (!). Yes, yes and yes. I think many of the performance i

Re: Qt Creator and D

2013-09-18 Thread F i L
Somewhat related. I use Kate (for D & web development) and occasionally KDevelop (for C/C++ stuff). I only started using these when I switched from Gnome to KDE 6 months ago, but I was very impressed and now they're my favorite editors (KDevelop can even challenge Visual Studios for C/C++ dev i

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Andrei Alexandrescu
On 9/18/13 9:09 AM, Manu wrote: On 19 September 2013 02:05, Andrej Mitrovic mailto:andrej.mitrov...@gmail.com>> wrote: On 9/18/13, Andrei Alexandrescu mailto:seewebsiteforem...@erdani.org>> wrote: >> Problem is, 80% of the code I write is C code still... :( > > join me I

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Andrei Alexandrescu
On 9/18/13 9:15 AM, Adam D. Ruppe wrote: On Wednesday, 18 September 2013 at 16:09:46 UTC, Manu wrote: rdmd implies rebuild-all every time. It doesn't really scale. Have you actually tried it? My biggest D program is coming up on 100,000 lines of code, plus phobos, and I still compile it all at

Re: [OT] Language Cocktail

2013-09-18 Thread Jacob Carlborg
On 2013-09-18 17:18, John Colvin wrote: C++: Earthquake or Concrete Mixer, I can't decide. Earthquake because it's an immensely powerful mix but also unsatisfying and will royally fuck you up. Concrete mixer because of the jarring clash between templates and normal code. C++ would be a gas pow

Re: Code::Blocks

2013-09-18 Thread Andrej Mitrovic
On 9/18/13, Andrej Mitrovic wrote: > So you say it works with D automatically nowadays? Is this using the > 12.x release or some nightly build? Well it doesn't seem to be working for me, it seems to use some kind of custom but broken build process, look: - dmd.exe -g -debug-IC:\dmd-git\

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread H. S. Teoh
On Wed, Sep 18, 2013 at 06:36:19PM +0200, David Eagen wrote: > On Wednesday, 18 September 2013 at 15:43:21 UTC, Manu wrote: > > >I've had lots of problems in the past where a header included by > >another header doesn't prompt the dependent code to be rebuilt, and I > >ended up in a conservative s

Re: Code::Blocks

2013-09-18 Thread Russel Winder
On Wed, 2013-09-18 at 18:40 +0200, Andrej Mitrovic wrote: […] > So you say it works with D automatically nowadays? Is this using the > 12.x release or some nightly build? It seems to have premade toolchain setups for DMD, GDC and LDC2, so it is just a matter of specifying the toolchain for a given

Re: [OT] Language Cocktail

2013-09-18 Thread Jacob Carlborg
On 2013-09-18 18:02, Nick Sabalausky wrote: Personally though, I'm more rum or sake than beer. (And that's sah-kay, not sah-kee.) Rum is very nice :) -- /Jacob Carlborg

Re: Opaque handles...

2013-09-18 Thread Adam D. Ruppe
On Wednesday, 18 September 2013 at 16:05:00 UTC, Manu wrote: This seems okay at first, but then you realise there are serious problems with new (wants to return new memory, I can't hook the new operator?), There is an override for new, but it is deprecated in d2. http://dlang.org/memory.html#n

Re: [OT] Language Cocktail

2013-09-18 Thread Jacob Carlborg
On 2013-09-18 16:42, Chris wrote: In fairness, there is some really good stuff being brewed in the U.S. Sierra Nevada for example (http://www.sierranevada.com/), and there are some nice micro-breweries that produce quality stuff that is as good as any of the better German, British, Irish or Belg

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Paulo Pinto
Am 18.09.2013 18:24, schrieb Adam D. Ruppe: On Wednesday, 18 September 2013 at 16:22:27 UTC, Iain Buclaw wrote: Takes about 30-40 seconds with gdc. ;-) Yikes. Though that reminds me of something, I don't use dmd -O very often, which is horribly slow too. I guess in game dev, even when debuggi

Re: Qt Creator and D

2013-09-18 Thread Paulo Pinto
Am 18.09.2013 18:46, schrieb Joseph Rushton Wakeling: On 18/09/13 18:02, Mike Farnsworth wrote: I'm also interested in this. I use Qt Creator all the time for my usual projects and my job, and having D support would be fantastic and would really help motivate me to spend more time with D. At s

Re: Qt Creator and D

2013-09-18 Thread Dicebot
On Wednesday, 18 September 2013 at 16:02:04 UTC, Mike Farnsworth wrote: I'm also interested in this. I use Qt Creator all the time for my usual projects and my job, and having D support would be fantastic and would really help motivate me to spend more time with D. At some point I'd like to l

Re: Opaque handles...

2013-09-18 Thread Manu
On 19 September 2013 02:38, Andrej Mitrovic wrote: > On 9/18/13, Manu wrote: > > And it's counterpart: > > > https://github.com/TurkeyMan/fuji/blob/master/dist/include/d2/fuji/material.d > > I think those pointers in the MFMaterialCallbacks struct should likely > be marked extern(C). > Good catc

Re: Qt Creator and D

2013-09-18 Thread Joseph Rushton Wakeling
On 18/09/13 17:21, Henning Pohl wrote: It's the best IDE for C++ development I have encountered so far. And it's the only drawback of DMD making the change to D: I cannot use it to fix bugs anymore. All the more reason for us to make sure that it works with D too, I'd say :-)

Re: Qt Creator and D

2013-09-18 Thread Joseph Rushton Wakeling
On 18/09/13 18:02, Mike Farnsworth wrote: I'm also interested in this. I use Qt Creator all the time for my usual projects and my job, and having D support would be fantastic and would really help motivate me to spend more time with D. At some point I'd like to look into how to add new language

Re: Code::Blocks

2013-09-18 Thread Russel Winder
On Wed, 2013-09-18 at 17:24 +0100, Russel Winder wrote: > Has anyone been using Code::Blocks for D programming recently. The page > http://wiki.dlang.org/CodeBlocks seems seriously out of date and could > do with an update. > > Is a plugin needed for using Code::Blocks for D? Belay that question,

Re: Code::Blocks

2013-09-18 Thread Andrej Mitrovic
On 9/18/13, Russel Winder wrote: > Has anyone been using Code::Blocks for D programming recently. The page > http://wiki.dlang.org/CodeBlocks seems seriously out of date and could > do with an update. This is actually the only IDE I've ever really liked back when I experimented with C++. Maybe it

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread David Eagen
On Wednesday, 18 September 2013 at 15:43:21 UTC, Manu wrote: I've had lots of problems in the past where a header included by another header doesn't prompt the dependent code to be rebuilt, and I ended up in a conservative state of rebuild-all-ing every time... :/ Maybe I should try working wi

Re: Opaque handles...

2013-09-18 Thread Andrej Mitrovic
On 9/18/13, Manu wrote: > And it's counterpart: > https://github.com/TurkeyMan/fuji/blob/master/dist/include/d2/fuji/material.d I think those pointers in the MFMaterialCallbacks struct should likely be marked extern(C).

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Adam D. Ruppe
On Wednesday, 18 September 2013 at 16:22:27 UTC, Iain Buclaw wrote: Takes about 30-40 seconds with gdc. ;-) Yikes. Though that reminds me of something, I don't use dmd -O very often, which is horribly slow too. I guess in game dev, even when debugging/toying around, you'd probably want to op

Re: Qt Creator and D

2013-09-18 Thread Andrej Mitrovic
On 9/18/13, Craig Dillabaugh wrote: > I had some similar experiences with Qt Creator and MinGW on > Windows a couple of years ago. Can't remember how I ended up > solving them, but I recall that I managed to get things working > somehow. It seems to be much better now, the samples build by defaul

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Dicebot
On Wednesday, 18 September 2013 at 16:05:18 UTC, Andrej Mitrovic wrote: On 9/18/13, Andrei Alexandrescu wrote: Problem is, 80% of the code I write is C code still... :( join me I don't suppose GCC and other compilers have some kind of verbose output that exports include declarations? Or ma

Re: Qt Creator and D

2013-09-18 Thread Craig Dillabaugh
On Wednesday, 18 September 2013 at 15:58:43 UTC, Andrej Mitrovic wrote: On 9/18/13, Joseph Rushton Wakeling wrote: Several of us have been talking about Qt Creator and D in various subthreads of the current IDE-related discussions going on right now, so I thought it might be worth raising as

Re: Opaque handles...

2013-09-18 Thread Namespace
One final problem with ref-counting in D. Since it's not a 1st class feature and requires you to store a ref-count in your object, you can't make your objects immutable anymore because the ref-count needs to be bumped about as the object moves around. Anyone approached this problem? I use a s

Re: Opaque handles...

2013-09-18 Thread Manu
Here's an example of a typical C API that's begging to be wrapped up all nice: http://fujiengine.org/docs/group___m_f_material.html And it's counterpart: https://github.com/TurkeyMan/fuji/blob/master/dist/include/d2/fuji/material.d You can see some initial experiments I toyed with down the bottom.

Re: Qt Creator and D

2013-09-18 Thread Mike Farnsworth
I'm also interested in this. I use Qt Creator all the time for my usual projects and my job, and having D support would be fantastic and would really help motivate me to spend more time with D. At some point I'd like to look into how to add new language support in there, if I can find some sp

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Andrej Mitrovic
On 9/18/13, Andrei Alexandrescu wrote: >> Problem is, 80% of the code I write is C code still... :( > > join me I don't suppose GCC and other compilers have some kind of verbose output that exports include declarations? Or maybe just modify an RDMD fork to run the preprocessor over a C/C++ file.

Re: [OT] Language Cocktail

2013-09-18 Thread Manu
On 18 September 2013 23:53, Chris wrote: > On Wednesday, 18 September 2013 at 08:38:05 UTC, Namespace wrote: > >> http://consoleblog.me/posts/**cocktails-for-programmers >> >> Any suggestions for D? >> > > D-programmers don't drink cocktails.

Re: Qt Creator and D

2013-09-18 Thread Andrej Mitrovic
On 9/18/13, Joseph Rushton Wakeling wrote: > Several of us have been talking about Qt Creator and D in various subthreads > of > the current IDE-related discussions going on right now, so I thought it > might be > worth raising as a matter of general interest. Personally I've tried Qt Creator a f

Opaque handles...

2013-09-18 Thread Manu
I've seen some discussions before about people dealing with opaque pointers, or handle types in D. It's a common C practise, and there seems to be uncertainty about the best way to implement this on the D side of the fence. So I'm looking for opinions... hit me? I have this in C: struct Thing;

Re: [OT] Language Cocktail

2013-09-18 Thread Nick Sabalausky
On Wed, 18 Sep 2013 16:42:55 +0200 "Chris" wrote: > On Wednesday, 18 September 2013 at 14:35:59 UTC, Namespace wrote: > > On Wednesday, 18 September 2013 at 14:31:48 UTC, Chris wrote: > >> On Wednesday, 18 September 2013 at 13:55:11 UTC, Namespace > >> wrote: > >> > >>> American beer or real bee

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Manu
On 19 September 2013 01:46, Andrei Alexandrescu < seewebsiteforem...@erdani.org> wrote: > On 9/18/13 8:44 AM, Manu wrote: > >> On 19 September 2013 01:04, Andrei Alexandrescu >> > > >> >> >> wrote: >> >> On 9/18/13 6:54 AM, Wyatt wrote: >> >> On

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Manu
On 19 September 2013 02:05, Andrej Mitrovic wrote: > On 9/18/13, Andrei Alexandrescu wrote: > >> Problem is, 80% of the code I write is C code still... :( > > > > join me > > I don't suppose GCC and other compilers have some kind of verbose > output that exports include declarations? Or maybe jus

Re: Opaque handles...

2013-09-18 Thread Andrej Mitrovic
On 9/18/13, Manu wrote: > And in D: > > struct Thing; > extern (C) Thing* MakeThing(); > > The question is, does this suck? > D currently can't allocate an array of Thing*'s for some weird reason. This is just a current bug that will be fixed. As a workaround you can use this: struct Thing {

Code::Blocks

2013-09-18 Thread Russel Winder
Has anyone been using Code::Blocks for D programming recently. The page http://wiki.dlang.org/CodeBlocks seems seriously out of date and could do with an update. Is a plugin needed for using Code::Blocks for D? -- Russel. ==

Re: Opaque handles...

2013-09-18 Thread Andrej Mitrovic
On 9/18/13, Manu wrote: > But since I'm always dealing with a pointer rather than a real type, I > can't implement logic to inc/dec the ref-count on assignment. And how do I > handle destruction/garbage collection? Ah I see, well you could try using RefCounted from std.typecons. For some usage e

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Iain Buclaw
On 18 September 2013 17:15, Adam D. Ruppe wrote: > On Wednesday, 18 September 2013 at 16:09:46 UTC, Manu wrote: >> >> rdmd implies rebuild-all every time. It doesn't really scale. > > > Have you actually tried it? My biggest D program is coming up on 100,000 > lines of code, plus phobos, and I sti

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Adam D. Ruppe
On Wednesday, 18 September 2013 at 16:09:46 UTC, Manu wrote: rdmd implies rebuild-all every time. It doesn't really scale. Have you actually tried it? My biggest D program is coming up on 100,000 lines of code, plus phobos, and I still compile it all at once, every time. The compile time is ~

Re: Opaque handles...

2013-09-18 Thread Manu
On 19 September 2013 02:14, Andrej Mitrovic wrote: > On 9/18/13, Manu wrote: > > And in D: > > > > struct Thing; > > extern (C) Thing* MakeThing(); > > > > The question is, does this suck? > > D currently can't allocate an array of Thing*'s for some weird reason. > > This is just a current bu

Re: Had another 48hr game jam this weekend...

2013-09-18 Thread Andrei Alexandrescu
On 9/18/13 8:44 AM, Manu wrote: On 19 September 2013 01:04, Andrei Alexandrescu mailto:seewebsiteforem...@erdani.org>> wrote: On 9/18/13 6:54 AM, Wyatt wrote: On Wednesday, 18 September 2013 at 11:45:55 UTC, Manu wrote: ? The problem I've always had with make-ba

  1   2   >