96 karma · joined Nov 19, 2024 (2y ago) · 83 submissions
comment 1w ago · link · parent
Its basically a better language for software you write in C at the cost of horrible compile times.
comment 2w ago · link · parent
This has been a solid setup, and a must have for agentic development.
comment 1mo ago · link · parent
comment 1mo ago · link · parent
Also a laravel "rate limiter" sound suss. Its probably needs some extra dependency like redis + a supporting php library to work. On the contrary i can mock up a reasonably efficient in memory rate limiter in pure Go, and only go to redis when i need the scale.
comment 1mo ago · link · parent
comment 2mo ago · link · parent
Shared Go slices are a bad mix in concurrent code. This is a given. But its also not a fair comparison, you should instead compare java arrays to go arrays, not slices.
This goes for slices, strings and maps. Those a usually wrapped in a mutex, or used with sync primitives like sync.Map.
comment 2mo ago · link · parent
As an (outside go) example, Ocaml (5) promises strong memory safety, but not to be data race free. A data race is not something we can prevent, because its usually not bound by code, but by time and the race-source rarely in source-code.
This means we have data races in http, database inserts etc. The source is usually not a concurrent task in source code-land.