Differences when writing code for ARM vs x86?

I recently bought a Raspberry Pi.

I want to start writing code for it in C or Python.

I know the differences between ARM architecture versus x86 architecture, namely. RISC is against CISC, but I don’t know if there are any special considerations about the real code that I need to write.

If I write my code on my desktop and compile it there, and then take the same code and compile on my Raspberry Pi, will it compile the same or break?

+3
source share
1 answer

If you write code in python, it will work fine both on the desktop and on raspberry pi.

C, , . , , - , , , (JSON, XML, ...)

+4

Source: https://habr.com/ru/post/1543833/


All Articles