Hi all,
I'm interested in the compiler performance of different cpus. How much
impact has the number of cores? Or is higher frequency with a few cores
better regarding compile time / $.
Maybe someone already owns a new ryzen cpu. Is it worth buying a highend
Intel cpu (i7 or xeon) for 1000$ or
A lot of factors will affect compilation speeds. And scaling won't be
linear by adding more cores, I know, but how well does the compiler already
uses the available cores. How well does the compiler scale? The mentioned
CL above will provide some nice performance increasements for multicore
sys
What's a nice way to handle left joins with database/sql? Imagine you have
a users who can optional have an image. So you have an optional 1:1
relationship.
Example:
type User struct {
ID int
Loginname string
Password string
ImageIDint // or sql.NullInt depends on your DB
Forgot to mention that I currently use MySQL with go-sql-driver.
Another solution would be to use mymysql as a driver. That one maps null
values to go type default zero values.
But I wanted to stick to go-sql-driver because I think it is more actively
maintained.
--
You received this message b