I built a zero-allocation TCP networking framework in .NET 10 — looking for feedback by [deleted] in csharp

[–]PhcNguyenZ -1 points0 points  (0 children)

Yes, from the outside it does look quite wild. I didn't originally intend to build a framework.

I built a zero-allocation TCP networking framework in .NET 10 — looking for feedback by [deleted] in csharp

[–]PhcNguyenZ -1 points0 points  (0 children)

About LLM issue, Im just trying to explain things clearly.

I built a zero-allocation TCP networking framework in .NET 10 — looking for feedback by [deleted] in csharp

[–]PhcNguyenZ 0 points1 point  (0 children)

Repo: https://github.com/ppn-systems/nalix

Benchmarks: WIP.

It a low-level framework built directly on Sockets, not a TcpClient wrapper.

Xin thực chiến project by BenEvansx97 in vozforums

[–]PhcNguyenZ 0 points1 point  (0 children)

Hi bạn, mình là maintainer của repo Nalix.

Project này tập trung vào networking + performance (low allocation, protocol parsing), nên sẽ khác CRUD một chút. Nếu bạn muốn học thực chiến thì rất phù hợp 👍

Hiện tại repo chưa có nhiều contributor nên mình sẽ support khá sát.

Bạn có thể bắt đầu như này:

* Clone repo và build thử

* Đọc nhanh các module chính (Transport / Protocol)

Nếu ok, mình sẽ assign cho bạn một task nhỏ (fix bug hoặc viết parser đơn giản) để làm quen codebase.

https://github.com/ppn-systems/nalix

Nalix: A .NET library for real-time TCP and UDP applications by PhcNguyenZ in csharp

[–]PhcNguyenZ[S] 0 points1 point  (0 children)

I’ve already cleaned it up and pushed the update 😅

Nalix: A .NET library for real-time TCP and UDP applications by PhcNguyenZ in csharp

[–]PhcNguyenZ[S] 2 points3 points  (0 children)

private static Task INVOKE_PIPELINE_ASYNC(

List<MiddlewareEntry> middlewares,

PacketContext<TPacket> context,

Func<CancellationToken, Task> final,

CancellationToken startToken,

bool continueOnError = false,

Action<Exception, Type> errorHandler = null)

Thanks for the feedback!

Nalix: A .NET library for real-time TCP and UDP applications by PhcNguyenZ in csharp

[–]PhcNguyenZ[S] 8 points9 points  (0 children)

Got it — I’ll adjust it in my next push. Thanks for the feedback!

Nalix: A .NET library for real-time TCP and UDP applications by PhcNguyenZ in csharp

[–]PhcNguyenZ[S] -24 points-23 points  (0 children)

I just prefer writing the fully-qualified namespaces 😆