Upgrading to MKR1010?

I have an arduino code for the MKR1000 to send data wirelessly to my computer via OSC messaging. If I upgrade to the MKR1010, can I upload the same code, or does the different chip require tweaking the code a bit?

They both use the SAMD21.

you only need to change the WiFi101.h include to WiFiNINA.h. but better wait until it is mature. see the MKR1010 forum