[Issue 5348] Variable Length Arrays

2013-03-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5348 --- Comment #11 from bearophile_h...@eml.cc 2013-03-29 16:05:41 PDT --- (In reply to comment #10) > but I think this is complex enough that it should be > done as a DIP, not a simple enhancement request. I agree. But at the moment I am not goo

[Issue 5348] Variable Length Arrays

2013-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5348 --- Comment #10 from Walter Bright 2013-03-28 17:02:19 PDT --- > Probably I have to open an enhancement request on this. Since it's different, yes, but I think this is complex enough that it should be done as a DIP, not a simple enhancement r

[Issue 5348] Variable Length Arrays

2013-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5348 --- Comment #9 from bearophile_h...@eml.cc 2013-03-28 15:55:17 PDT --- Thank you for your comments. > 1. VLAs are a failure in C99. I agree, let's invent something better. My ideas have changed, and now I think it's better to define DSSAA in

[Issue 5348] Variable Length Arrays

2013-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5348 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 5348] Variable Length Arrays

2013-03-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5348 --- Comment #7 from bearophile_h...@eml.cc 2013-03-28 12:03:43 PDT --- See also for an alternative design: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2013/n3532.html -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?

[Issue 5348] Variable Length Arrays

2011-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5348 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #6 fr

[Issue 5348] Variable Length Arrays

2011-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5348 --- Comment #5 from bearophile_h...@eml.cc 2011-11-15 14:45:02 PST --- Currently this works, and ct_function() is run at compile-time because fixed array length definitions is a compile-time context, so in D it forces CTFE: int ct_function(int

[Issue 5348] Variable Length Arrays

2011-05-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5348 --- Comment #4 from bearophile_h...@eml.cc 2011-05-26 13:57:07 PDT --- (In reply to comment #3) >type Matrix_Type is array(Positive range <>, Positive range <>) of Float; That Matrix_Type it subtle: it also shows that Ada allows the defini

[Issue 5348] Variable Length Arrays

2011-02-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5348 --- Comment #3 from bearophile_h...@eml.cc 2011-02-13 12:58:28 PST --- Ada language too supports stack-allocation of 2D arrays with run-time sizes, an example: with Ada.Text_Io; use Ada.Text_Io; with Ada.Float_Text_Io; use Ada.Float_Text_Io; w

[Issue 5348] Variable Length Arrays

2011-01-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5348 Dmitry Olshansky changed: What|Removed |Added CC||dmitry.o...@gmail.com --- Comment #

[Issue 5348] Variable Length Arrays

2011-01-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5348 --- Comment #1 from bearophile_h...@eml.cc 2011-01-03 04:22:18 PST --- Some comments by Dmitry Olshansky: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=125942 > As stated in this proposal they are quite us