[Issue 4677] disallow GC via cmd line argument -nogc

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4677

Iain Buclaw  changed:

   What|Removed |Added

   Priority|P2  |P4

--


[Issue 4677] disallow GC via cmd line argument -nogc

2018-05-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4677

Mike Franklin  changed:

   What|Removed |Added

 CC||slavo5...@yahoo.com

--- Comment #5 from Mike Franklin  ---
One can also decorate class instances with `scope` which allocates them on the
stack instead of the GC.

One can also use `@disable new()` to prevent creating new instances of a type,
and instead delegate allocation and construction to factory methods.

--


[Issue 4677] disallow GC via cmd line argument -nogc

2018-05-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4677

Dmitry Olshansky  changed:

   What|Removed |Added

 CC||dmitry.o...@gmail.com

--- Comment #4 from Dmitry Olshansky  ---
There is also -beterC switch that disallows use of any of DRuntime features and
rewries some of common ones to libc-based implementation.

--


[Issue 4677] disallow GC via cmd line argument -nogc

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4677

Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

Version|future  |D2

--


[Issue 4677] disallow GC via cmd line argument -nogc

2014-04-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4677

bearophile_h...@eml.cc changed:

   What|Removed |Added

 CC||bearophile_h...@eml.cc

--- Comment #3 from bearophile_h...@eml.cc ---
We now have both the -vgc switch, and the @nogc attribute. So I think this
issue should be closed.

--


[Issue 4677] disallow GC via cmd line argument -nogc

2014-03-25 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=4677


Nick Sabalausky cbkbbej...@mailinator.com changed:

   What|Removed |Added

 CC||cbkbbej...@mailinator.com


--- Comment #2 from Nick Sabalausky cbkbbej...@mailinator.com 2014-03-25 
14:22:11 PDT ---
There's a pull request for this being worked on and discussed:

https://github.com/D-Programming-Language/dmd/pull/1886

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4677] disallow GC via cmd line argument -nogc

2010-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4677


Leandro Lucarella llu...@gmail.com changed:

   What|Removed |Added

 CC||llu...@gmail.com


--- Comment #1 from Leandro Lucarella llu...@gmail.com 2010-08-19 08:39:35 
PDT ---
LDC have even better options, you can forbid any calls to the runtime, which
might be very useful for embedded systems or others usages when you only want a
better C for real low-level stuff.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---