3 ms·
Yeah, when you're coding for a cpu, write in assembly only. Write a separate copy of your app for iphone and macOS because one of those is arm and one isn't. D
by TheDong 7y ago
Yeah, when you're coding for a cpu, write in assembly only. Write a separate copy of your app for iphone and macOS because one of those is arm and one isn't.
Don't use anything that provides portability like C or Objective-C, that's not really "native" to the CPU architecture.
.. I know that sounds silly, but you're advocating for that one layer up. It's a very good analogy I think.
People use electron in order to "compile to" native apps for linux and windows and mac without having to write the app 3 times.
- saagarjha 7y agoCompilers can often outperform handwritten assembly.