Compile to CLR

Ges Nelson

Member
Licensed User
Longtime User
With systems such as Visual Studio it is possible to compile to CLR (Common Language Runtime) which is the equilavent to JVM code in Java. Is this possible in Basic4ppc which would aid in me writing for alternative platforms?:sign0085:
 

agraham

Expert
Licensed User
Longtime User
When Basic4ppc compiles an applications, like Visual Studio it does produce a .NET assembly that will run on the CLR. In fact it uses the same compiler as Visual C#. Neither Visual Studio nor Basic4ppc can produce assemblies that will run on anything other than Windows on the desktop or Windows Mobile on devices so I don't know why you think that it would help you to target different platforms.
 

Ges Nelson

Member
Licensed User
Longtime User
Cross Platform Compilers

Hi aGraham
If you read my post again you will see that I said 'aid in me writing for alternative platforms' - I am currently looking at compliers that can convert CLR to alternative platforms. Thanks but I am well aware of the target platforms as I have been programming for some 30+ years.

:sign0089:
 

agraham

Expert
Licensed User
Longtime User
I thought C# could target different platforms
To run a .NET Assembly you need an implementation of the Common Language Runtime. Note that the CLR is not the same as the .NET Framework. The Framework is the set of assemblies/libraries that run on the CLR. The only CLR and Frameworks that Microsoft provide are included with the Windows OSes. The full .NET Framework is provided with the desktop OSes and a smaller version with a cut-down CLR and libraries, the Compact Framework, is provided or available for download and installation, on PocketPC and Windows Mobile devices.

Mono is an open source implementation of the CLR and most, but not all, of the .NET Framework for mainly Linux and Mac OSX. At the moment support is provided for these .NET versions.

As far as I know there are no other device implementations of the Compact Framework than Microsofts for PocketPC and Windows Mobile. There is Mono Touch that lets C# programs run on iThings but it is expensive at $399 for a personal license and whether its use is permitted under Apples latest license conditions is unclear.
 

agraham

Expert
Licensed User
Longtime User
Is this possible in Basic4ppc
OK so I don't understand the question. VS and B4P both produce the same .NET assemblies producing IL bytecodes to run on a CLR. So what are you asking that is possible in VS that you are not sure that B4P can do?
programming for some 30+ years.
Beat you - 46 years :D
 

Ges Nelson

Member
Licensed User
Longtime User
Same question, as original post ?

ps My developement years was mentioned to show you don't have quote the obvious or basics to me, not for competiton. :sign0089:
 
Top