It appears to be badly conditioned though. Whether that's a problem is likely to be application dependent.
Yeah I actually thought of discretisizing the expressions of "g" and "G", the problem is the only way to solve this is by a matrix form because its a Freedholm equation