Re: NuMem - safe(r) nogc memory managment

2024-01-03 Thread Guillaume Piolat via Digitalmars-d-announce
On Tuesday, 2 January 2024 at 10:30:52 UTC, Sergey wrote: On Saturday, 30 December 2023 at 15:17:36 UTC, Luna wrote: NuMem 0.5.4 has been released, numem is a new library Any meaningful comparison with another similar library will be highly appreciated

Re: NuMem - safe(r) nogc memory managment

2024-01-02 Thread Sergey via Digitalmars-d-announce
On Saturday, 30 December 2023 at 15:17:36 UTC, Luna wrote: NuMem 0.5.4 has been released, numem is a new library Any meaningful comparison with another similar library will be highly appreciated https://code.dlang.org/packages/automem

Re: NuMem - safe(r) nogc memory managment

2023-12-30 Thread IGotD- via Digitalmars-d-announce
On Saturday, 30 December 2023 at 16:36:38 UTC, ryuukk_ wrote: We plan to add more memory management utilities, thereby making writing completely GC-less D code a lot more user-friendly. I'd be happy to help What D really is missing _right now_, and will hopefully get _before_ phobosv3 is a

Re: NuMem - safe(r) nogc memory managment

2023-12-30 Thread Guillaume Piolat via Digitalmars-d-announce
On Saturday, 30 December 2023 at 16:36:38 UTC, ryuukk_ wrote: What D really is missing _right now_, and will hopefully get _before_ phobosv3 is a good and minimalistic Allocator API, i modeled mine around zig's, no RAII, just a simple struct with 3 function ptr FWIW it's possible to do a

Re: NuMem - safe(r) nogc memory managment

2023-12-30 Thread ryuukk_ via Digitalmars-d-announce
We plan to add more memory management utilities, thereby making writing completely GC-less D code a lot more user-friendly. I'd be happy to help What D really is missing _right now_, and will hopefully get _before_ phobosv3 is a good and minimalistic Allocator API, i modeled mine around

Re: NuMem - safe(r) nogc memory managment

2023-12-30 Thread ryuukk_ via Digitalmars-d-announce
Nice, thanks for sharing, it'll be very useful for the C++ developers who want to give D a try

Re: NuMem - safe(r) nogc memory managment

2023-12-30 Thread Guillaume Piolat via Digitalmars-d-announce
On Saturday, 30 December 2023 at 15:17:36 UTC, Luna wrote: * C++ style smart pointers (unique_ptr, shared_ptr, weak_ptr) * C++ style vector type (with support for moving unique_ptr's in!) Indeed with numem you can have a relatively "C++11" experience with scoped ownership, which we intend

NuMem - safe(r) nogc memory managment

2023-12-30 Thread Luna via Digitalmars-d-announce
NuMem 0.5.4 has been released, numem is a new library I am developing with contributions from Auburn Sounds/p0nce. It's meant to provide safer ways of writing nogc code, which is sometimes neccesary when the D garbage collector would be an unoptimal choice. NuMem currently features: * C++