On Tue, Jun 11, 2019 at 02:46:03PM +, dangbinghoo via Digitalmars-d-learn
wrote:
> On Tuesday, 11 June 2019 at 12:40:39 UTC, Adam D. Ruppe wrote:
> > On Tuesday, 11 June 2019 at 08:59:01 UTC, dangbinghoo wrote:
> > > We need to make sure we use only @nogc API when writing code, not
> > > when
On Tuesday, 11 June 2019 at 10:24:05 UTC, KnightMare wrote:
On Tuesday, 11 June 2019 at 08:05:31 UTC, dangbinghoo wrote:
I think that D compiler needs -nogc switch to fully disable gc
for a project,
LDC -nogc?
thanks for help. It's a shame that I didn't look in details of
the LCD help inf
On Tuesday, 11 June 2019 at 14:44:20 UTC, KnightMare wrote:
Stroustrup said about C++ (not exactly quote. I translated it
from my lang not English):
since C and C ++ will be used by the same people on
many years, the differences between languages should be
either minimal or maximal to minimize t
On Tuesday, 11 June 2019 at 12:42:03 UTC, Adam D. Ruppe wrote:
On Tuesday, 11 June 2019 at 10:24:05 UTC, KnightMare wrote:
people who are interested only in betterC/nogc shouldn't see
documentation to api that they are not suitable.
I've considered doing that before, but it is actually
imposs
On Tuesday, 11 June 2019 at 12:40:39 UTC, Adam D. Ruppe wrote:
On Tuesday, 11 June 2019 at 08:59:01 UTC, dangbinghoo wrote:
We need to make sure we use only @nogc API when writing code,
not when running the app.
That's what the @nogc annotation does, statically forces you to
only use other @n
On Tuesday, 11 June 2019 at 08:59:01 UTC, dangbinghoo wrote:
We need to make sure we use only @nogc API when writing code,
not when running the app.
That's what the @nogc annotation does, statically forces you to
only use other @nogc stuff via compiler errors.
On Tuesday, 11 June 2019 at 10:24:05 UTC, KnightMare wrote:
people who are interested only in betterC/nogc shouldn't see
documentation to api that they are not suitable.
I've considered doing that before, but it is actually impossible
to get right in the general case due to attribute inference
On Tuesday, 11 June 2019 at 08:05:31 UTC, dangbinghoo wrote:
I think that D compiler needs -nogc switch to fully disable gc
for a project,
LDC -nogc?
and document of phobos also needs a friendly way to list-out
all @nogc API.
+1
people who are interested only in betterC/nogc shouldn't see
On Tuesday, 11 June 2019 at 08:16:31 UTC, Basile B. wrote:
On Tuesday, 11 June 2019 at 08:08:14 UTC, Basile B. wrote:
you can do this with a druntime switch or by calling GC.disable
in your main()
the druntime switch is "--DRT-gc=gc:manual". You pass it the
compiled program after its own
On Tuesday, 11 June 2019 at 08:08:14 UTC, Basile B. wrote:
On Tuesday, 11 June 2019 at 08:05:31 UTC, dangbinghoo wrote:
hi there,
I think that D compiler needs -nogc switch to fully disable gc
for a project, and document of phobos also needs a friendly
way to list-out all @nogc API.
we alre
hi there,
I think that D compiler needs -nogc switch to fully disable gc
for a project, and document of phobos also needs a friendly way
to list-out all @nogc API.
we already have -betterC, and betterC disabled GC, why we could
not have a standalone option for doing this?
binghoo da
On Tuesday, 11 June 2019 at 08:05:31 UTC, dangbinghoo wrote:
hi there,
I think that D compiler needs -nogc switch to fully disable gc
for a project, and document of phobos also needs a friendly way
to list-out all @nogc API.
we already have -betterC, and betterC disabled GC, why we could
no
12 matches
Mail list logo