SWIG 4 is not a complete replacement for SWIG 3 because it has removed support for CFFI, Allegrocl, Chicken, CLISP, S-EXP, UFFI, Pike, Modula3.