One idea I have, is the following. But I am not certain, how far it is doable.
A program, that reads in C# files, and converts them to vala.
So you afterwards could compile native binaries, and would not need .net or mono, to run them.
Limitations:
As I have just 1 week, it is impossible, to convert additional libs.
So WindowsForms or such would be ignored.
It just would convert simple things. Example:
Code: Select all
Console.WriteLine("test");
Code: Select all
stdout.printf ("test\n")
Usually, such a program will not work immedeatly, you had to convert other things by hand.
But it could simplify the process of porting from C# to vala.
If someone knows, if comparable utilities exist, please let me know.
In the next weeks, I will investigate, if it makes sense for only 1 week or not.
Mark