[go-nuts] allow to use fieldaligment with own golang code

2021-12-04 Thread Vasiliy Tolstov
ecker/checker.go i'm also create golang protobuf issue about field alignment because sometimes generated structs have 3x memory usage vs properly aligned struct. What can you suggests ? I don't think that golang protobuf devs fix this in near feature.. or i'm wrong? Vasiliy Tol

Re: [go-nuts] what's the most popular kafka library to use

2023-03-13 Thread Vasiliy Tolstov
I'm try all kafka libraries and my list: 1. github.com/twmb/franz-go/kgo - the best, no problems is around 1.5-2 years 2. github.com/segmentio/kafka-go (cool but have some errors 1.5 years ago, so i broke my production cluster with it) -- Vasiliy Tolstov, e-mail: v

[go-nuts] smarter way to provide interface capabilities from underlining interface

2023-06-10 Thread Vasiliy Tolstov
combo list of methods and generate interfaces for this methods. But this brings file that contains 20K lines https://git.unistack.org/unistack-org/micro-wrapper-sql/src/branch/master/wrap_gen.go Does it possible to have smaller code that provides the same effect? Or I'm miss something? -- Vasil

Re: [go-nuts] Re: smarter way to provide interface capabilities from underlining interface

2023-06-11 Thread Vasiliy Tolstov
f interfaces in descending order... But don't understand how this can be optimized... May be run profile with all known sql drivers and create pairs with most used combinations ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru На 11 июня 2023 г., 19:31:01, Brian Candler написали: > I thin

[go-nuts] custom coverage report

2023-08-20 Thread Vasiliy Tolstov
coverage , but don't understand how to do that? Is that possible to have another way to measure handlers coverage in case of service defined via protobuf? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- You received this message because you are subscribed to the Google Groups "golang-n

[go-nuts] Re: custom coverage report

2023-08-24 Thread Vasiliy Tolstov
Anybody knows golang package that can write cover files in desired format? вс, 20 авг. 2023 г. в 17:28, Vasiliy Tolstov : > > Hi. I have service centric tests - so i want to test not each function > inside application, but only it handlers (defined via protobuf) > Also i have cust

Re: [go-nuts] ANN: selfy for self-signed certs. rpc25519 for blazing QUIC based RPC

2024-10-23 Thread Vasiliy Tolstov
All > in all, kind of delightful. > > Feedback welcome. > > Enjoy, > > Jason > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an &

[go-nuts] how to get dirt memory in go

2025-01-14 Thread Vasiliy Tolstov
Hi! I'm try to search answers but have no luck. In go i can create memory arena/ buffer pool etc.. But does it possible to get memory with like make([]byte, XXX) but without calloc for this memory? So i need to get raw memory from kernel without spending time to clearing it. -- Vasiliy To

Re: [go-nuts] Re: how to get dirt memory in go

2025-01-16 Thread Vasiliy Tolstov
Thanks, i'm check bench with modernc ср, 15 янв. 2025 г. в 10:57, tapi...@gmail.com : > > see https://go101.org/q-and-a/make-dirty-byte-slices.html > > On Tuesday, January 14, 2025 at 9:44:40 PM UTC+8 Vasiliy Tolstov wrote: >> >> Hi! I'm try to search answers bu

Re: [go-nuts] how to get dirt memory in go

2025-01-16 Thread Vasiliy Tolstov
Thanks, i'm check вт, 14 янв. 2025 г. в 16:49, Jan Mercl <0xj...@gmail.com>: > > On Tue, Jan 14, 2025 at 2:44 PM Vasiliy Tolstov wrote: > > > Hi! I'm try to search answers but have no luck. In go i can create > > memory arena/ buffer pool etc.. > > B

<    1   2