October 12, 2012 [Issue 5212] Safer typesafe variadics | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5212 Artem Borisovskiy <kolos80@bk.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code CC| |kolos80@bk.ru Severity|enhancement |normal -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 18, 2013 [Issue 5212] Safer typesafe variadics | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5212 Martin Nowak <code@dawg.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maxim@maxim-fomin.ru --- Comment #10 from Martin Nowak <code@dawg.eu> 2013-04-17 22:47:24 PDT --- *** Issue 9527 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 18, 2013 [Issue 5212] no escape analysis for typesafe variadic function arguments | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5212 Martin Nowak <code@dawg.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |code@dawg.eu Summary|Safer typesafe variadics |no escape analysis for | |typesafe variadic function | |arguments --- Comment #11 from Martin Nowak <code@dawg.eu> 2013-04-17 22:59:40 PDT --- Without escape analysis these functions are not memory @safe. Maybe we should think about this in conjunction with scope ref, http://wiki.dlang.org/DIP36#.40safe_concerns. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 19, 2013 [Issue 5212] no escape analysis for typesafe variadic function arguments | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=5212 --- Comment #12 from bearophile_hugs@eml.cc 2013-04-19 16:00:33 PDT --- This topic was discussed again in D.learn: http://forum.dlang.org/thread/whlxkcbvkldtmfezucts@forum.dlang.org An improvement of my idea is that when you use "scope": this(scope int[] args_...) { The compiler doesn't perfom the dup (and doesn't allow you to escape the data). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation