Thread overview | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
February 10, 2006 DMD 0.146 release | ||||
---|---|---|---|---|
| ||||
Added features to make D useable as a scripting language on unix. http://www.digitalmars.com/d/changelog.html |
February 10, 2006 Re: DMD 0.146 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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.html Nice 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 |
February 10, 2006 Re: DMD 0.146 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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.html > > > Nice 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. :) |
February 10, 2006 Re: DMD 0.146 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kramer | Kramer wrote: > 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.html >> >> >> > > > Nice 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? bool is just an alias for bit! :( #alias bit bool; > > 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. :) > > |
February 10, 2006 Re: DMD 0.146 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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.html Thanks for a(nother) great update! However, scripting (#! at the first line) doesn't seem to work correctly. I assume I am supposed to supply the -run parameter, but consider a file that contains #!/usr/bin/dmd -run The actual command exectued is "/usr/bin/dmd -run filename.d", where filename.d is parsed as an argument to -run. Nick |
February 10, 2006 Re: DMD 0.146 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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 |
February 10, 2006 Re: DMD 0.146 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Stoneham | 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. > > -- > John Use http://www.digitalmars.com/d/changelog.html instead. -- Jari-Matti |
February 10, 2006 Re: DMD 0.146 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote:
> Added features to make D useable as a scripting language on unix.
>
> http://www.digitalmars.com/d/changelog.html
Thanks for fixing all the "main" issues!
Much appreciated.
--anders
|
February 10, 2006 Re: DMD 0.146 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | "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.html Oh 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.. |
February 10, 2006 Re: DMD 0.146 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to 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. :) 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... > > > >Added features to make D useable as a scripting language on unix. > > > >http://www.digitalmars.com/d/changelog.html > > > > > > > > Nice 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. :) > > |
Copyright © 1999-2021 by the D Language Foundation