Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

There is a IL2CPP compiler on tap #7539

Closed
forestbat opened this issue Jun 18, 2019 · 6 comments
Closed

There is a IL2CPP compiler on tap #7539

forestbat opened this issue Jun 18, 2019 · 6 comments

Comments

@forestbat
Copy link

forestbat commented Jun 18, 2019

The origin maintainer of the compiler has abandoned this project,so I fork it and made some small changes。
It's dependency is still .NET Framework and its built-in clang and llvm-linker should be updated to 8.0.
Please see this and hope your reply。
https://github.com/forestbat/il2cpp

@jkotas
Copy link
Member

jkotas commented Jun 18, 2019

There are number of C#/IL to CPP transpilers out there, with varying level of completeness. E.g. https://github.com/kekyo/IL2C is another one.

Is there anything particular why you like this transpiler?

@jkotas
Copy link
Member

jkotas commented Jun 18, 2019

Related: #7369

@forestbat
Copy link
Author

forestbat commented Jun 19, 2019

I also searched project of this type(il->cpp)on github,and this is the newest and has the most commits(although most commits doesn't mean highest completion),except for kekyo's IL2C。
I'm not good at making compiler,and I don't think it has amazing design,however at least it some has help。

@jkotas
Copy link
Member

jkotas commented Jun 19, 2019

The hard part is to make the transpiler to support all .NET features correctly. This transpiler is missing number of features. I am not sure how it can help with CoreRT CppCodeGen.

@jkotas jkotas closed this as completed Jun 19, 2019
@lxy0797
Copy link

lxy0797 commented Aug 1, 2020

I'm also looking for "il->cpp" project for interoping c# with cpp ,which means I can reuse cpp legacy code if I want turn old project to .net core platform.
And back on .net framework, there are a lot such tech have been uesd like "COM","C++/CLI", "C++/CX" and "WRL".
Recently,"c++/cli" was published on .net core for windows according here
And .net core is aka a cross-os platform , so we hope such tech can be used for linux ,mac os and etc too
not just for windows.
As the author of il2cpp said #7

停更是有原因的, 实现海量的 InternalCall 不是一个人能完成的任务. 类似 il2cpp 这类工具应该由微软来做, 而不是某个偶尔有空闲时间的个人.

such huge project could only achieved by official.Any other third party Individual doesn't have enough energy to support a project like this.
So are there any plan on roadmap for this in corert team? thanks if could be response.

@jintemp
Copy link

jintemp commented Oct 13, 2020

https://github.com/kekyo/IL2C It's based on the .NET Framework and.NET Core. How do you avoid InternalCall problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants