This is not xscreensaver though. This is important because jwz, xscreensaver's author, has written about this at length [1,2]. He was very careful to make the core of xscreensaver as small as possible to avoid crashes.
[1] https://www.jwz.org/xscreensaver/toolkits.html
[2] https://www.jwz.org/blog/2015/04/i-told-you-so-again/
(open these links in a new tab or by copy-pasting the URL)