DotNext vs Community toolkit #212
Replies: 2 comments 4 replies
-
Hi @netcorefan1 , there is good discussion about differences in memory pooling: #159.
Probably not. DotNext is a collection of libraries. It's not possible to merge just one. Buffer management API in DotNext is very rich and not limited by
This is true but I'm heavily working on .NET 8 support. Typically, major release of .NEXT is aligned with LTS release of .NET. I don't want to just upgrade dependencies and declare it as .NET 8 compatible. DotNext 4.x is actually compatible with .NET 8. I would like to utilize new features in C# (such as static abstract interface members) and .NET 8 to provide better API. That's why I need to release a new major version (because of breaking backward compatibility). |
Beta Was this translation helpful? Give feedback.
-
See SpanOwner.cs (
Oh, my sincere apologies! Sometimes my mind fools me and I end up with typos thinking that MemoryRental is the equivalent of MemoryOwner due to both having the same prefix.
Oh, in this case I'm afraid I will also have to replace my old extensions methods! :-) |
Beta Was this translation helpful? Give feedback.
-
Hello to all,
I 'm using Community Toolkit packages in my projects and I'm currently working with the HighPerformance package (in particular MemoryOwner).
I've discovered DotNext and realized that it basically provides the same, but with much more features that I find extremely useful (the need to resize buffer with no reallocation provided by
TryResize
in DotNext.Buffers.MemoryOwner is what made me open the issue).I'm confused and don't know if I should switch or not because both the projects are part of the .Net Foundation.
Are all features provided from DotNext expected to be merged in the Community Toolkit or they should be considered distinct projects?
I also saw that DotNext still targets .Net 6, so I'm wondering if CT is more focused on new frameworks features and DotNext more on retrocompatibility.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions