Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating Code using C# Compiler or Reflection.Emit #13

Open
MichaelPeter opened this issue Apr 16, 2018 · 0 comments
Open

Generating Code using C# Compiler or Reflection.Emit #13

MichaelPeter opened this issue Apr 16, 2018 · 0 comments

Comments

@MichaelPeter
Copy link

MichaelPeter commented Apr 16, 2018

What are the plans for generating code for serializers, CodeDom (using C# compiler or Reflection.Emit) etc?

From my naive standpoint a Reflection.Emit Implementation shouldn't be toooooo complicated I guess, since you only would have to send it through the Compiler Pipeline (which already exists if you compile the DLL to wasm on the client side)?

Or will there be no generation support (like I think it is in MonoTouch) and generating will only be possible if you use AoT (Ahead of Time)-Compiliation? My goal is mostly for generating Implementations for Interfaces/Abstract classes, less for performance optimizations (but since the code should be used both on server and (javascript) client side it would be nice).

One alternative option I thought of is sending the instructions for generating the code to the server, which compiles a DLL (using for example the C# Compiler), which is then again downloaded by the mono-wasm. Is this maybe already possible?

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

No branches or pull requests

1 participant