If I were the leader of a 'rich' country, I would shut all the doors to illegals. I would have the army and reservists patrolling my shores at all times. Any of those that slipped through the net would be rounded up and sent to camps for hard labor. That should deter those thinking about coming here on a small boat..
In my country, if I were at the helm, you come over with credentials to work hard and pay lots of tax. If you don't find a job within 3 months then you are sent back to whence you came. Proof of funds to support oneself for those 3 months would be mandatory to apply for the job seekers visa, as would proof of degree/masters/phd.
No freeloaders welcome, only grafters.
bob.