Piotr JastrzebskiI thought I understood how iteration over an array works but apparently not in GolangI’ve recently learned about a surprising Golang behavior. You can significantly speed up the iteration over an array by doing:Aug 17, 20234Aug 17, 20234
Piotr JastrzebskiinTurso blogA linter I really recommend you to use if you’re doing SQL in GolangThis is a final article of my mini series about the topic of leaking resources when using SQL databases in Golang. The whole series…Aug 10, 2023Aug 10, 2023
Piotr JastrzebskiinTurso blogSomething you probably want to know about if you’re using SQLite in GolangI recently published an article on how a code using database/sql can easily deadlock. That article started multiple interesting…Aug 3, 2023Aug 3, 2023
Piotr JastrzebskiinTurso blogHow to get your database access code deadlocked in GolangUnlike C++ or Rust, Golang is supposed to be a programmer friendly language. Most of the time it does a great job in increasing developer…Jul 27, 2023Jul 27, 2023