Welding of hard-to-weld materials