digitalmars.D.announce - DMD 0.123
-
Walter
(2/2)
May 11 2005
The usual
. - Dave (3/5) May 11 2005 And thanks once again, Walter!
- Charlie (4/12) May 11 2005 Yep , making good headway :).
- Dejan Lekic (9/9) May 11 2005 I really apriciate Your work Walter.
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (10/13) May 12 2005 Why wait ?
- Dejan Lekic (8/8) May 12 2005 Ahy phobos as separate package? I would prefer single dmd-devel package
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (8/11) May 12 2005 But "phobos" is required for "dmd", anyway.
- Shawn Liu (8/10) May 11 2005 Great! Thanks, Walter!
- Thomas Kuehne (11/15) May 13 2005 -----BEGIN PGP SIGNED MESSAGE-----
- bobef (2/4) May 12 2005
- pragma (8/10) May 12 2005 Walter,
- Unknown W. Brackets (7/14) May 13 2005 Why? I realize that having larger arrays is sometimes bad, and makes
- Walter (14/19) May 13 2005 1) Gigantic static arrays are often either the result of a typo or are a
- Lionello Lunesu (11/11) May 13 2005 Wouldn't it be safer to do a similar limit for dynamic arrays too?
- Lionello Lunesu (1/1) May 13 2005 caught :-(
- Kramer (13/32) May 13 2005 What you're saying makes sense in practice /right now/, but what if a re...
- Walter (10/20) May 13 2005 research
- Kramer (4/26) May 13 2005 So then that sounds like it's more of a DMD implementation detail, rathe...
- Vathix (3/12) May 13 2005 How about having a documented pragma that allows the limit to be changed...
- Walter (3/15) May 13 2005 I understand how it feels like a limitation, but it really isn't.
The usual <g>. http://www.digitalmars.com/d/changelog.html
May 11 2005
In article <d5tvdk$1p7k$1 digitaldaemon.com>, Walter says...The usual <g>. http://www.digitalmars.com/d/changelog.htmlAnd thanks once again, Walter! - Dave
May 11 2005
Yep , making good headway :). Charlie "Dave" <Dave_member pathlink.com> wrote in message news:d5tvo3$1pj7$1 digitaldaemon.com...In article <d5tvdk$1p7k$1 digitaldaemon.com>, Walter says...The usual <g>. http://www.digitalmars.com/d/changelog.htmlAnd thanks once again, Walter! - Dave
May 11 2005
I really apriciate Your work Walter. Hopefully in the nearest future we'll get DMD RPMs for Linux... :) Kind regards Dejan -- ........... Dejan Lekic http://dejan.lekic.org
May 11 2005
Dejan Lekic wrote:I really apriciate Your work Walter. Hopefully in the nearest future we'll get DMD RPMs for Linux... :)Why wait ? SRPM is at http://www.algonet.se/~afb/d/dmd-0.123-1.nosrc.rpm Just add zipfile, salt to taste and rpm --rebuild for a minute. Will serve: dmd-0.123-1.i586.rpm dmd-doc-0.123-1.i586.rpm phobos-0.123-1.i586.rpm phobos-contracts-0.123-1.i586.rpm --anders
May 12 2005
Ahy phobos as separate package? I would prefer single dmd-devel package which would include all needed libraries... Sure it's just a matter of taste... :) -- ........... Dejan Lekic http://dejan.lekic.org
May 12 2005
Dejan Lekic wrote:Ahy phobos as separate package? I would prefer single dmd-devel package which would include all needed libraries...But "phobos" is required for "dmd", anyway. (it could have been called something else) Simple enough to change in the specfile: http://www.algonet.se/~afb/d/dmd.specSure it's just a matter of taste... :)Yes, and of different licenses too... ? Phobos is zlib, while DMD is proprietary. --anders
May 12 2005
In article <d5tvdk$1p7k$1 digitaldaemon.com>, Walter says...The usual <g>. http://www.digitalmars.com/d/changelog.htmlGreat! Thanks, Walter! This version is the one attaining to perfect. It is very strong and works fine. I have detected only one thing so far. When an "auto" keyword is found in a function, the compiler complains that "no return at end of function". - Shawn
May 11 2005
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [followup set to digitalmars.D.bugs] Shawn Liu schrieb am Thu, 12 May 2005 03:03:09 +0000 (UTC):In article <d5tvdk$1p7k$1 digitaldaemon.com>, Walter says... I have detected only one thing so far. When an "auto" keyword is found in a function, the compiler complains that "no return at end of function".Do you have any sample code? Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFChZ8q3w+/yD4P9tIRAgF2AJ4iL8zrj/E9L2KWBEqrNOzsTv982wCgmdgd CF5Mz6CSGPvTGvNLFM1g7W4= =XPpe -----END PGP SIGNATURE-----
May 13 2005
Walter is holy man :)))))) In article <d5tvdk$1p7k$1 digitaldaemon.com>, Walter says...The usual <g>. http://www.digitalmars.com/d/changelog.html
May 12 2005
In article <d5tvdk$1p7k$1 digitaldaemon.com>, Walter says...The usual <g>. http://www.digitalmars.com/d/changelog.htmlWalter, I don't say this nearly enough, but thank you for all your hard work and dedication to this project. D has made me twice the programmer I was when I started using it over a year ago. I think the D language itself (by itself) has truely made the most of that difference. For this, you have my gratitude. Also, you are one lean, mean, bug-eating machine. :) - EricAnderton at yahoo
May 12 2005
If I may, I do have one question:Capped static array size at 16Mb.Why? I realize that having larger arrays is sometimes bad, and makes the length specifiers harder to work with, (which only seems a problem with dynamic arrays to me) but I imagine there's some bigger reason I'm missing? Thanks, -[Unknown]The usual <g>. http://www.digitalmars.com/d/changelog.html
May 13 2005
"Unknown W. Brackets" <unknown simplemachines.org> wrote in message news:d61jpa$1m0l$1 digitaldaemon.com...> Capped static array size at 16Mb. Why? I realize that having larger arrays is sometimes bad, and makes the length specifiers harder to work with, (which only seems a problem with dynamic arrays to me) but I imagine there's some bigger reason I'm missing?1) Gigantic static arrays are often either the result of a typo or are a newbie mistake. 2) Such require a lot of memory for the compiler to handle. Before the OS officially runs out of memory, it goes to greater and greater lengths to scavenge memory for the compiler, often bringing the computer to its knees in desperation. 3) D needs to be a portable language, and by capping the array size a program is more likely to be portable. 4) Giant arrays are reflected in a corresponding giant size for the exe file. 5) There simply isn't a need I can think of for such arrays. There shouldn't be a problem with allocating them dynamically.
May 13 2005
Wouldn't it be safer to do a similar limit for dynamic arrays too? I've catched some bugs in my own code by adding an assertion in my array class' resize. I've limited it at 0x100000 items. 1) resizing big dynamic arrays will be extremely slow; 2) one should better use direct OS functions (VirtualAlloc) for really large arrays; 3) again, catch 'newbie' mistakes, typos; 4) 'zeroing' the data will be expensive. See also: http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/15486 L.
May 13 2005
What you're saying makes sense in practice /right now/, but what if a research team 3 years from now want to use D (because it's so sweet) on some supercomputer, modeling planetary physics and decide they want (for some reason unknown to us, but makes perfect sense in their model) a huge static array? That might be a stretch scenario, but only because it hasn't happened yet. It's just always seemed to me, better to let the programmer learn from their own mistakes rather than to hold their hand and say "no"; especially on something like memory which has a tendency to grow quite rapidly. I'm just suggesting that D look to be desirable now & 20 years in the future. That requires forward-thinking in it's design. My $0.02. -Kramer In article <d61n7n$1pp3$1 digitaldaemon.com>, Walter says..."Unknown W. Brackets" <unknown simplemachines.org> wrote in message news:d61jpa$1m0l$1 digitaldaemon.com...> Capped static array size at 16Mb. Why? I realize that having larger arrays is sometimes bad, and makes the length specifiers harder to work with, (which only seems a problem with dynamic arrays to me) but I imagine there's some bigger reason I'm missing?1) Gigantic static arrays are often either the result of a typo or are a newbie mistake. 2) Such require a lot of memory for the compiler to handle. Before the OS officially runs out of memory, it goes to greater and greater lengths to scavenge memory for the compiler, often bringing the computer to its knees in desperation. 3) D needs to be a portable language, and by capping the array size a program is more likely to be portable. 4) Giant arrays are reflected in a corresponding giant size for the exe file. 5) There simply isn't a need I can think of for such arrays. There shouldn't be a problem with allocating them dynamically.
May 13 2005
"Kramer" <Kramer_member pathlink.com> wrote in message news:d62k88$2fr1$1 digitaldaemon.com...What you're saying makes sense in practice /right now/, but what if aresearchteam 3 years from now want to use D (because it's so sweet) on some supercomputer, modeling planetary physics and decide they want (for somereasonunknown to us, but makes perfect sense in their model) a huge staticarray?That might be a stretch scenario, but only because it hasn't happened yet. It's just always seemed to me, better to let the programmer learn fromtheir ownmistakes rather than to hold their hand and say "no"; especially onsomethinglike memory which has a tendency to grow quite rapidly. I'm just suggesting that D look to be desirable now & 20 years in thefuture.That requires forward-thinking in it's design.I don't think putting a limit on it is really closing such a door. It's easy for a vendor to up the cap.
May 13 2005
So then that sounds like it's more of a DMD implementation detail, rather than a design in the language. That's fair. <g> -Kramer In article <d62mo5$2hnk$1 digitaldaemon.com>, Walter says..."Kramer" <Kramer_member pathlink.com> wrote in message news:d62k88$2fr1$1 digitaldaemon.com...What you're saying makes sense in practice /right now/, but what if aresearchteam 3 years from now want to use D (because it's so sweet) on some supercomputer, modeling planetary physics and decide they want (for somereasonunknown to us, but makes perfect sense in their model) a huge staticarray?That might be a stretch scenario, but only because it hasn't happened yet. It's just always seemed to me, better to let the programmer learn fromtheir ownmistakes rather than to hold their hand and say "no"; especially onsomethinglike memory which has a tendency to grow quite rapidly. I'm just suggesting that D look to be desirable now & 20 years in thefuture.That requires forward-thinking in it's design.I don't think putting a limit on it is really closing such a door. It's easy for a vendor to up the cap.
May 13 2005
On Fri, 13 May 2005 12:22:32 -0400, Kramer <Kramer_member pathlink.com> wrote:What you're saying makes sense in practice /right now/, but what if a research team 3 years from now want to use D (because it's so sweet) on some supercomputer, modeling planetary physics and decide they want (for some reason unknown to us, but makes perfect sense in their model) a huge static array? That might be a stretch scenario, but only because it hasn't happened yet.How about having a documented pragma that allows the limit to be changed..
May 13 2005
"Vathix" <vathix dprogramming.com> wrote in message news:op.sqp5xdcwkcck4r esi...On Fri, 13 May 2005 12:22:32 -0400, Kramer <Kramer_member pathlink.com> wrote:I understand how it feels like a limitation, but it really isn't.What you're saying makes sense in practice /right now/, but what if a research team 3 years from now want to use D (because it's so sweet) on some supercomputer, modeling planetary physics and decide they want (for some reason unknown to us, but makes perfect sense in their model) a huge static array? That might be a stretch scenario, but only because it hasn't happened yet.How about having a documented pragma that allows the limit to be changed..
May 13 2005