digitalmars.D.announce - DMD 0.146 release
- Walter Bright (2/2) Feb 09 2006 Added features to make D useable as a scripting language on unix.
- Derek Parnell (9/12) Feb 09 2006 Nice one ... and I see that at least one Build featurette has now migrat...
- Walter Bright (4/6) Feb 10 2006 I've started using it myself and darn if it isn't handy. I should have d...
- Kramer (18/20) Feb 09 2006 Nice update, thanks.
- Hasan Aljudy (3/36) Feb 09 2006 bool is just an alias for bit! :(
- Charles (15/42) Feb 10 2006 Agreed, excites things a bit, plus makes it seem were getting close to a
- Nick (8/10) Feb 10 2006 Thanks for a(nother) great update! However, scripting (#! at the first l...
- Walter Bright (3/11) Feb 10 2006 Oh darn.
- Nick (12/13) Feb 11 2006 A simple solution would be to add another option -script (or just -s), w...
- Georg Wrede (5/19) Feb 14 2006 I've included a shell script that we use in-house. Merely putting it in
- John Stoneham (10/10) Feb 10 2006 Great! One minor point on the main compiler page,
- =?ISO-8859-1?Q?Jari-Matti_M=E4kel=E4?= (4/16) Feb 10 2006 Use http://www.digitalmars.com/d/changelog.html instead.
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (4/7) Feb 10 2006 Thanks for fixing all the "main" issues!
- Jarrett Billingsley (6/8) Feb 10 2006 Oh happiness :) Only problem is, I'll have to recompile phobos as, as f...
- Walter Bright (3/12) Feb 10 2006 I plan on integrating shinchiro's stuff. It's just too cool.
- Tom S (9/10) Feb 10 2006 Excellent ! Maybe people will complain less about null pointers ;)
- pragma (7/20) Feb 10 2006 I took a look at it myself. It looks like he has a custom Exception hoo...
- Walter Bright (3/6) Feb 10 2006 Yup.
- pragma (3/9) Feb 10 2006 Works for me. :)
- James Dunne (6/23) Feb 12 2006 OMG... has anyone worked with JBOSS? Stacktraces are ridiculous there
- Jarrett Billingsley (8/11) Feb 10 2006 When else would you need one? A stack dump is a debugging tool, no? I
- BCS (5/16) Feb 12 2006 If the dump could be captured to a char[] a program could send it into a...
- Chris Miller (3/18) Feb 11 2006 Hope it's the next version :D
- Walter Bright (3/8) Feb 11 2006 No, not yet :-(
- James Dunne (10/29) Feb 13 2006 Any word on Linux support for backtraces?
- Walter Bright (4/7) Feb 13 2006 I imagine something analogous would work with Linux, but I haven't
- Lars Ivar Igesund (3/12) Feb 13 2006 As pointed out by Dunne further down, stacktraces just works, as long as
- shinichiro.h (6/8) Feb 15 2006 I guess I can implement backtrace into linux & gdc. But on Linux,
- Regan Heath (5/9) Feb 15 2006 Yes. Customers/Users do not always know how to use gdb and produce a
- Jarrett Billingsley (5/6) Feb 10 2006 And I've done just that. All credits of course go to shinchiro, and als...
- James Dunne (5/17) Feb 12 2006 Oh yeah, I forgot... Linux just works! =P
- Sean Kelly (2/2) Feb 10 2006 You fixed the template 'private' bug? Hallelujah!
- Dave (2/4) Feb 10 2006 I agree - great work Walter!!
Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.html
Feb 09 2006
On Thu, 9 Feb 2006 23:01:11 -0800, Walter Bright wrote:Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.htmlNice one ... and I see that at least one Build featurette has now migrated to D (-run) <g> -- Derek (skype: derek.j.parnell) Melbourne, Australia "Down with mediocracy!" 10/02/2006 6:21:02 PM
Feb 09 2006
"Derek Parnell" <derek psych.ward> wrote in message news:1w3d76hg5iw1n$.1420iwc0ce5dn.dlg 40tude.net...Nice one ... and I see that at least one Build featurette has now migrated to D (-run) <g>I've started using it myself and darn if it isn't handy. I should have done it long ago.
Feb 10 2006
In article <dshdns$a6s$1 digitaldaemon.com>, Walter Bright says...Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.htmlNice update, thanks. Question though about bit and bool. For std.file.listdir, the delegate returns a bit, but then in your examples, you use bool (ahhh wait, I think I'm remembering that Ddoc might report bool as bit, no?). In any case, what's the preferred (D) way of handling boolean types: bool or bit? And is there a performance difference by using bool (bit) or int as a return type? Also, in the D style guide, the examples for functions seem to be camel case with the first character lower case, however, some Phobos functions seem to be just all lower case (while most are in camel case). I know this is no deal breaker, but I've looked up a function in the docs, typed it in without thinking about case (going by the D style guide) and got a compile error only to find it was because of the casing. I hope this isn't taken as unnecessary nit-picking, but rather just a desire for Phobos to look clean and consistent with everything else. -Kramer P.S. Thanks again for all the hard work. It's been nice to see more of your presence lately in the N.G. in what seems like some helmsmanship. :)
Feb 09 2006
Kramer wrote:In article <dshdns$a6s$1 digitaldaemon.com>, Walter Bright says...bool is just an alias for bit! :( #alias bit bool;Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.htmlNice update, thanks. Question though about bit and bool. For std.file.listdir, the delegate returns a bit, but then in your examples, you use bool (ahhh wait, I think I'm remembering that Ddoc might report bool as bit, no?). In any case, what's the preferred (D) way of handling boolean types: bool or bit? And is there a performance difference by using bool (bit) or int as a return type?Also, in the D style guide, the examples for functions seem to be camel case with the first character lower case, however, some Phobos functions seem to be just all lower case (while most are in camel case). I know this is no deal breaker, but I've looked up a function in the docs, typed it in without thinking about case (going by the D style guide) and got a compile error only to find it was because of the casing. I hope this isn't taken as unnecessary nit-picking, but rather just a desire for Phobos to look clean and consistent with everything else. -Kramer P.S. Thanks again for all the hard work. It's been nice to see more of your presence lately in the N.G. in what seems like some helmsmanship. :)
Feb 09 2006
P.S. Thanks again for all the hard work. It's been nice to see more ofyourpresence lately in the N.G. in what seems like some helmsmanship. :)Agreed, excites things a bit, plus makes it seem were getting close to a 1.0! "Kramer" <Kramer_member pathlink.com> wrote in message news:dshfn3$bnt$1 digitaldaemon.com...In article <dshdns$a6s$1 digitaldaemon.com>, Walter Bright says...returnsAdded features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.htmlNice update, thanks. Question though about bit and bool. For std.file.listdir, the delegatea bit, but then in your examples, you use bool (ahhh wait, I think I'm remembering that Ddoc might report bool as bit, no?). In any case, what'sthepreferred (D) way of handling boolean types: bool or bit? And is there a performance difference by using bool (bit) or int as a return type? Also, in the D style guide, the examples for functions seem to be camelcasewith the first character lower case, however, some Phobos functions seemto bejust all lower case (while most are in camel case). I know this is nodealbreaker, but I've looked up a function in the docs, typed it in withoutthinkingabout case (going by the D style guide) and got a compile error only tofind itwas because of the casing. I hope this isn't taken as unnecessarynit-picking,but rather just a desire for Phobos to look clean and consistent witheverythingelse. -Kramer P.S. Thanks again for all the hard work. It's been nice to see more ofyourpresence lately in the N.G. in what seems like some helmsmanship. :)
Feb 10 2006
In article <dshdns$a6s$1 digitaldaemon.com>, Walter Bright says...Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.htmldoesn't seem to work correctly. I assume I am supposed to supply the -run parameter, but consider a file that contains The actual command exectued is "/usr/bin/dmd -run filename.d", where filename.d is parsed as an argument to -run. Nick
Feb 10 2006
"Nick" <Nick_member pathlink.com> wrote in message news:dshm2d$igt$1 digitaldaemon.com...line) doesn't seem to work correctly. I assume I am supposed to supply the -run parameter, but consider a file that contains The actual command exectued is "/usr/bin/dmd -run filename.d", where filename.d is parsed as an argument to -run.Oh darn.
Feb 10 2006
In article <dsim0l$1hm3$2 digitaldaemon.com>, Walter Bright says...Oh darn.A simple solution would be to add another option -script (or just -s), with the syntax dmd -s filename [args...] Another problem with the scripting functionality is that it currently requires scripts to be named *.d, which can be a bit awkward for scripts. The -s option can be designed to work around this as well. Also note that arguments given in-file are problematic, since the line will give the entire string "-debug=3 -inline -s myarg1 myarg2" as ONE argument to DMD. Nick
Feb 11 2006
Nick wrote:In article <dshdns$a6s$1 digitaldaemon.com>, Walter Bright says...I've included a shell script that we use in-house. Merely putting it in your $HOME/bin lets you use D programs as genuine shell scripts. And without the .d suffix. We've been using it for quite a while since I first showed it in this ng.Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.htmldoesn't seem to work correctly. I assume I am supposed to supply the -run parameter, but consider a file that contains The actual command exectued is "/usr/bin/dmd -run filename.d", where filename.d is parsed as an argument to -run.
Feb 14 2006
Great! One minor point on the main compiler page, http://www.digitalmars.com/d/dcompiler.html does not show the current version. The filename itself (when selecting it download) also doesn't reflect the version, it is simply dmd.zip. It would be nice to have the version shown on that page, or at least included in the zip filename, so that we don't have to download dmd.zip and extract it to find out if it really has been updated to the latest version. -- John
Feb 10 2006
John Stoneham wrote:Great! One minor point on the main compiler page, http://www.digitalmars.com/d/dcompiler.html does not show the current version. The filename itself (when selecting it download) also doesn't reflect the version, it is simply dmd.zip. It would be nice to have the version shown on that page, or at least included in the zip filename, so that we don't have to download dmd.zip and extract it to find out if it really has been updated to the latest version. -- JohnUse http://www.digitalmars.com/d/changelog.html instead. -- Jari-Matti
Feb 10 2006
Walter Bright wrote:Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.htmlThanks for fixing all the "main" issues! Much appreciated. --anders
Feb 10 2006
"Walter Bright" <newshound digitalmars.com> wrote in message news:dshdns$a6s$1 digitaldaemon.com...Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.htmlOh happiness :) Only problem is, I'll have to recompile phobos as, as far as I know, shinchiro hasn't made a new version of the backtrace phobos yet.. _damn_, have I become dependent on that sweet, sweet backtrace! Not just for AVs, but for all kinds of exceptions..
Feb 10 2006
"Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote in message news:dsib37$16ed$1 digitaldaemon.com..."Walter Bright" <newshound digitalmars.com> wrote in message news:dshdns$a6s$1 digitaldaemon.com...I plan on integrating shinchiro's stuff. It's just too cool.Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.htmlOh happiness :) Only problem is, I'll have to recompile phobos as, as far as I know, shinchiro hasn't made a new version of the backtrace phobos yet.. _damn_, have I become dependent on that sweet, sweet backtrace! Not just for AVs, but for all kinds of exceptions..
Feb 10 2006
Walter Bright wrote:I plan on integrating shinchiro's stuff. It's just too cool.Excellent ! Maybe people will complain less about null pointers ;) -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d-pu s+: a-->----- C+++$>++++ UL P+ L+ E--- W++ N++ o? K? w++ !O !M V? PS- PE- Y PGP t 5 X? R tv-- b DI- D+ G e>+++ h>++ !r !y ------END GEEK CODE BLOCK------ Tomasz Stachowiak /+ a.k.a. h3r3tic +/
Feb 10 2006
In article <dsim0k$1hm3$1 digitaldaemon.com>, Walter Bright says..."Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote in message news:dsib37$16ed$1 digitaldaemon.com...I took a look at it myself. It looks like he has a custom Exception hook in there along with OMF and COFF debug data parsers to recover symbol and address information. Definately a smooth hack. But it does bring to mind one question: will this mean that stack traces in D will only be available in debug builds? - Eric Anderton at yahoo"Walter Bright" <newshound digitalmars.com> wrote in message news:dshdns$a6s$1 digitaldaemon.com...I plan on integrating shinchiro's stuff. It's just too cool.Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.htmlOh happiness :) Only problem is, I'll have to recompile phobos as, as far as I know, shinchiro hasn't made a new version of the backtrace phobos yet.. _damn_, have I become dependent on that sweet, sweet backtrace! Not just for AVs, but for all kinds of exceptions..
Feb 10 2006
"pragma" <pragma_member pathlink.com> wrote in message news:dsit7q$1rfc$1 digitaldaemon.com...But it does bring to mind one question: will this mean that stack traces in D will only be available in debug builds?Yup.
Feb 10 2006
In article <dsiu9h$1u93$1 digitaldaemon.com>, Walter Bright says..."pragma" <pragma_member pathlink.com> wrote in message news:dsit7q$1rfc$1 digitaldaemon.com...Works for me. :) - Eric Anderton at yahooBut it does bring to mind one question: will this mean that stack traces in D will only be available in debug builds?Yup.
Feb 10 2006
pragma wrote:In article <dsiu9h$1u93$1 digitaldaemon.com>, Walter Bright says...OMG... has anyone worked with JBOSS? Stacktraces are ridiculous there in release builds. I'm so glad stack traces are NO for release. -- Regards, James Dunne"pragma" <pragma_member pathlink.com> wrote in message news:dsit7q$1rfc$1 digitaldaemon.com...Works for me. :) - Eric Anderton at yahooBut it does bring to mind one question: will this mean that stack traces in D will only be available in debug builds?Yup.
Feb 12 2006
"pragma" <pragma_member pathlink.com> wrote in messageBut it does bring to mind one question: will this mean that stack traces in D will only be available in debug builds?When else would you need one? A stack dump is a debugging tool, no? I doubt that a stack dump would be of much use to normal users (unless, of course, the normal users for your program are *nixheads, in which case they're _all_ developers and would understand what a stack dump is, but if your program runs in *nix, there's a 99.999% probably that it's open-source anyway, so they can build a debug build and get a stack dump if they want one ;) whoo).
Feb 10 2006
In article <dsivqu$222u$1 digitaldaemon.com>, Jarrett Billingsley says..."pragma" <pragma_member pathlink.com> wrote in messageIf the dump could be captured to a char[] a program could send it into a bug tracking database of some kind. I can just see it now: "Mommy mommy, I stubbed my tow on a null pointer! Can you patch me up??" :-PBut it does bring to mind one question: will this mean that stack traces in D will only be available in debug builds?When else would you need one? A stack dump is a debugging tool, no? I doubt that a stack dump would be of much use to normal users (unless, of course, the normal users for your program are *nixheads, in which case they're _all_ developers and would understand what a stack dump is, but if your program runs in *nix, there's a 99.999% probably that it's open-source anyway, so they can build a debug build and get a stack dump if they want one ;) whoo).
Feb 12 2006
On Fri, 10 Feb 2006 13:22:15 -0500, Walter Bright <newshound digitalmars.com> wrote:"Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote in message news:dsib37$16ed$1 digitaldaemon.com...Hope it's the next version :D"Walter Bright" <newshound digitalmars.com> wrote in message news:dshdns$a6s$1 digitaldaemon.com...I plan on integrating shinchiro's stuff. It's just too cool.Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.htmlOh happiness :) Only problem is, I'll have to recompile phobos as, as far as I know, shinchiro hasn't made a new version of the backtrace phobos yet.. _damn_, have I become dependent on that sweet, sweet backtrace! Not just for AVs, but for all kinds of exceptions..
Feb 11 2006
"Chris Miller" <chris dprogramming.com> wrote in message news:op.s4th7rvapo9bzi moe...On Fri, 10 Feb 2006 13:22:15 -0500, Walter Bright <newshound digitalmars.com> wrote:No, not yet :-(I plan on integrating shinchiro's stuff. It's just too cool.Hope it's the next version :D
Feb 11 2006
Walter Bright wrote:"Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote in message news:dsib37$16ed$1 digitaldaemon.com...Any word on Linux support for backtraces? -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/MU/S d-pu s:+ a-->? C++++$ UL+++ P--- L+++ !E W-- N++ o? K? w--- O M-- V? PS PE Y+ PGP- t+ 5 X+ !R tv-->!tv b- DI++(+) D++ G e++>e h>--->++ r+++ y+++ ------END GEEK CODE BLOCK------ James Dunne"Walter Bright" <newshound digitalmars.com> wrote in message news:dshdns$a6s$1 digitaldaemon.com...I plan on integrating shinchiro's stuff. It's just too cool.Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.htmlOh happiness :) Only problem is, I'll have to recompile phobos as, as far as I know, shinchiro hasn't made a new version of the backtrace phobos yet.. _damn_, have I become dependent on that sweet, sweet backtrace! Not just for AVs, but for all kinds of exceptions..
Feb 13 2006
"James Dunne" <james.jdunne gmail.com> wrote in message news:dsq9fq$29fd$1 digitaldaemon.com...Walter Bright wrote:I imagine something analogous would work with Linux, but I haven't investigated it.I plan on integrating shinchiro's stuff. It's just too cool.Any word on Linux support for backtraces?
Feb 13 2006
Walter Bright wrote:"James Dunne" <james.jdunne gmail.com> wrote in message news:dsq9fq$29fd$1 digitaldaemon.com...As pointed out by Dunne further down, stacktraces just works, as long as Dwarf debug info is correctly available and gdb is patched for D mangling.Walter Bright wrote:I imagine something analogous would work with Linux, but I haven't investigated it.I plan on integrating shinchiro's stuff. It's just too cool.Any word on Linux support for backtraces?
Feb 13 2006
I imagine something analogous would work with Linux, but I haven't investigated it.I guess I can implement backtrace into linux & gdc. But on Linux, we can get backtrace with gdb easily. So, is it needed? ------------------ shinichiro.h hamaji _at_ nii.ac.jp http://shinh.skr.jp/
Feb 15 2006
On Thu, 16 Feb 2006 12:39:31 +0900, shinichiro.h <s31552 mail.ecc.u-tokyo.ac.jp> wrote:Yes. Customers/Users do not always know how to use gdb and produce a backtrace, being able to do it ourselves is useful. ReganI imagine something analogous would work with Linux, but I haven't investigated it.I guess I can implement backtrace into linux & gdc. But on Linux, we can get backtrace with gdb easily. So, is it needed?
Feb 15 2006
"Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote in message news:dsib37$16ed$1 digitaldaemon.com...Only problem is, I'll have to recompile phobosAnd I've done just that. All credits of course go to shinchiro, and also to James Dunne for hosting my crap :) http://jamesdunne.no-ip.org/nonagon/phobos_backtrace_146.zip
Feb 10 2006
Jarrett Billingsley wrote:"Jarrett Billingsley" <kb3ctd2 yahoo.com> wrote in message news:dsib37$16ed$1 digitaldaemon.com...Oh yeah, I forgot... Linux just works! =P -- Regards, James DunneOnly problem is, I'll have to recompile phobosAnd I've done just that. All credits of course go to shinchiro, and also to James Dunne for hosting my crap :) http://jamesdunne.no-ip.org/nonagon/phobos_backtrace_146.zip
Feb 12 2006
In article <dsii3b$1dtc$1 digitaldaemon.com>, Sean Kelly says...You fixed the template 'private' bug? Hallelujah! SeanI agree - great work Walter!!
Feb 10 2006