Roman

Roman

@segfaultmedaddy.com

I make your mom love my Go segfaultmedaddy.com

45 followers161 following64 posts

Checked a few async pg/mysql drivers in js/dart and most of them are using totally unnecessary mutex for writing/reading. Postgres-js looks different in that sense.

I find Go's approach to concurrency much simpler to grasp compared to async/await. You can reason about the execution as entirely synchronous and just mark the entry point as concurrent.

Seems they lied to us. Writing fully blown authentication system from scratch might be not the easiest task. So many concepts: csrf, totp, recovery codes, emailing, passkey, audit, etc.

Assertion driven programming is a game changer for Go, especially when assertions come for free. Assertions enabled by default, unless `noassert` or `production` build tags specified, and they are fully dropped from the code. Go is smart enough to drop calls to noop functions.