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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile PHP to .NET using Phalanger #113

Open
endel opened this issue Dec 15, 2014 · 2 comments
Open

Compile PHP to .NET using Phalanger #113

endel opened this issue Dec 15, 2014 · 2 comments

Comments

@endel
Copy link
Contributor

endel commented Dec 15, 2014

It would be 馃挜AWESOME馃挘 to compile PHP to .NET using Phalanger.

Things to note:

  • Phalanger doesn't support PHP Traits yet, there is an issue open here: Support for PHP 5.4 traits聽DEVSENSE/Phalanger#42
  • Illuminate components uses Traits, removing it is not the best option.
  • Since PHP code will be compiled, we should not rely in any configuration defined in them. Maybe every configuration should be defined through environment variables, via web.config.

Probably there is more surprises ahead.

@endel endel added the feature label Dec 15, 2014
@Crash--
Copy link

Crash-- commented Dec 15, 2014

What will be the benefits of compiling to .NET? I see a lot of potentials issues (like the ones you mentioned) and I'm wondering if the gains are worth the cost.

If it's performance improvements maybe we can focus on keeping hook compatible with hhvm? (https://travis-ci.org/doubleleft/hook/jobs/43302119)

@endel
Copy link
Contributor Author

endel commented Dec 15, 2014

@Crash--

That's more of a business thing than performance itself, we have restrictions with some customers to run inside Windows / .NET. Allowing them to simply drag & drop files into IIS folder would be great, and will cause less troubles for our team.

Currently hook runs on Windows / IIS, but only with php.exe interpreter installed on it.

@endel endel added enhancement and removed feature labels Dec 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants