USCode wrote:Thorium wrote:FASM for ARM doesnt matters, if there would be no ARM FASM they could just use another assembler.
I guess the biggest part would be the ARM compiler. Second all the libs need to be adjusted for other API's. And we would need some new libs to fully use mobile features.
I hope they will do it some time and i hope they support Android or just plain Linux. I am not a fan of iOS and it's Apple only.
If I understand correctly, most of the PB libraries were written in C? And wouldn't Microsoft have to have created an ARM compiler for Windows and made the necessary changes to the Win32 libraries for ARM? If so, wouldn't Fred mostly just have to recompile his libraries on the ARM platform using the Microsoft ARM compiler?
There are undoubtedly many other things he is going to have to do but that is a big portion of it, correct?
I havent tried the Win8 developer preview yet and Microsoft still seems to adjust and change things. So the following informations might change or already be outdated.
Windows 8 will run on the well known x86 architecture and also on ARM. For Windows8 there are two general application types you can create. So called "Metro style apps" and "Desktop apps". For traditional Desktop apps, you can use Win32 or NET but for Metro style apps, there is a new Systemservice called WinRT.
See the Windows 8 platform and tools image here:
http://www.heise.de/developer/artikel/W ... oom;zoom=1
(Sorry i couldnt include it due to the size of the image and board restrictions)
WinRT and Win32/Net are NOT compatible and may NOT be as easy to port between as developers would hope. Some C++/C# class names/functions changed and there are incompatibilities with XAML/UI description. Other articles went into more detail about this, regarding changed control's and the general consent seemed to be that the differences are large enough so you may have to maintain two code bases even.
From what was said so far, you can run Metro apps on Windows 8 X86 and ARM, but desktop apps can only run on Windows 8 x86. That makes sense if you look at the target platforms and different environment settings. ARM CPU's can't (yet) compete with x86 in cpu power and x86 CPU's can't yet compete with ARM in power efficiency. I am pretty sure both companies work hard to close the respective gap for their CPU.
Windows 8 wasnt released yet and i havent had a look at the developer preview. So these parameters might change due to Microsoft listening to developers as they did in the past (WinFX for example).
But if nothing changes and these rules will apply for windows 8:
- - metro style apps run on windows 8 x86 and ARM
- desktop apps run on windows 8 x86
then it won't be as easy to enable PureBasic to run on ARM based windows8 because it would also mean changing from Win32 to WinRT services
We will see... (in 2012 when the final version is released)