← Home ← Back to /g/

Thread 105642363

13 posts 2 images /g/
Anonymous No.105642363 >>105642520 >>105642559 >>105642632 >>105643250
Tried Go + Gin for the 1st time today
And I like it.
I haven't benchmarched the reqs/sec yet to compare, but just the syntax and the green threads already made me like it a lot
Anonymous No.105642481 >>105643044
I come from Rails and I tried Gin, but it seemed extremely half-assed, with some very obscure docs and an attempt to sell you a paid book which is supposed to act as real docs. Is that still the case? It just seemed easier to just put together a webapp with various pieces like router, ORM etc., that are available either in stdlib or as solid 3rd party modules.
Anonymous No.105642520 >>105643135
>>105642363 (OP)
Never heard if β€œgin” but I was just working on a C# project and it was slow, insufferable garbage.
Anonymous No.105642559 >>105643056 >>105643247
>>105642363 (OP)
Using a framework/router instead of the standard library is a waste of time, also the net package routing capabilities are more powerful now.
Anonymous No.105642632
>>105642363 (OP)
I use HUMA with Chi and it's really comfy
Anonymous No.105643044 >>105643109
>>105642481
>Rails
nigga you gay to admit to using that bloatshit
Anonymous No.105643056
>>105642559
this, always
Anonymous No.105643109 >>105643124
>>105643044
It can become bloatshit if you start using turbo, tailwind, various npm shit and all that fucking crap. If you, like me, learned Rails in 2000s, you know how to keep it under control. It's basically a very sane set of defaults with MVC approach and normal server side rendering.
Anonymous No.105643124 >>105643180
>>105643109
thats just the thing. no one needs to learn to keep go or rust under control.
good out of the box will always beat good after some babysitting.
Anonymous No.105643135
>>105642520
looks like a skill issue to me
Anonymous No.105643180
>>105643124
Don't be like that, dude. I learned Go just like I learned Ruby or any other language. It's not good out of the box,Go's advantage is an enormous amount of nice packages and decebt stdlib. If it wasn't for that, the language itself wouldn't even be mid. Stop being a fanboy.
Anonymous No.105643247
>>105642559
>the net package routing capabilities are more powerful now
Looks like you're right. Hadn't looked at those in a while. Currently using chi router in a project but ditching dependencies is very valuable there.
Anonymous No.105643250
>>105642363 (OP)
Why should I use Gin? I always use net/http and it does everything I need.