November 11, 2021 General » Re: Challenge: write a reference counted slice that works as much as possible like a built-in slice | |||
|---|---|---|---|
| |||
...but you probably should wrap it with RAII. Allocating directly from the OS (bypassing malloc... | |||
November 08, 2021 General » Re: Why is D unpopular? | |||
|---|---|---|---|
| |||
...don't do fine-grained multithreading, so RAII and exceptions covers me well in C... | |||
October 04, 2021 General » Re: [OT] What are D's values? | |||
|---|---|---|---|
| |||
...You can have fully manual memory with RAII and shared/unique pointers if you want... | |||
September 25, 2021 General » Re: What should happen here? | |||
|---|---|---|---|
| |||
Indeed; additionally, 'scope c = new Class()' _does_ follow RAII. | |||
September 25, 2021 General » Re: What should happen here? | |||
|---|---|---|---|
| |||
...allocated on the heap do not follow RAII rules, and stack allocations of structs are... | |||
September 24, 2021 General » Re: What should happen here? | |||
|---|---|---|---|
| |||
...destructors with struct destructors. The > latter follow RAII rules, the former does not. Some people... | |||
September 24, 2021 General » Re: What should happen here? | |||
|---|---|---|---|
| |||
...conflate class destructors with struct destructors. The latter follow RAII rules, the former does not. | |||
September 01, 2021 Announce » dhtslib v0.12.0 (high-throughput sequencing library) | |||
|---|---|---|---|
| |||
...extern (C)` definitions to a fully featured, RAII-enabled genome sequencing focused bioinformatics package. If... | |||
August 19, 2021 Learn » Re: How to call destructor before free without dropping @nogc? | |||
|---|---|---|---|
| |||
...dtor; } ();
// __xdtor, i.e. dtors for all RAII members
static if (__traits(hasMember, B, "__xdtor... | |||
August 16, 2021 Learn » Re: Drawbacks of exceptions being globally allocated | |||
|---|---|---|---|
| |||
...anything to do with the stack or RAII, just using malloc + emplace instead of GC... | |||
Copyright © 1999-2021 by the D Language Foundation