it can certainly be equally rigid if that's what you're after; they have very close to the same young's modulus. thermal stability and vibration absorption is more challenging
i think castings often come out closer to net shape than weldments and thus need less final machining, but i could have that backwards. they both shrink as they cool, but weldments don't need draft