© 2017 RuntimeConverter

February 1, 2019

January 23, 2019

Please reload

Recent Posts

About 2 weeks ago, we published that we had successfully converted a PHPUnit example project and it ran just the same as if it had been run with PHP....

PHPUnit [Beta] Full-Native Java Test Results

June 11, 2018

1/3
Please reload

Featured Posts

Why is there no automated type detection in the Rutime Converter?

May 6, 2017

While adding automated type detection was on of the early goals of the Runtime Converter, it has since become completely removed from the project's roadmap. One of the reasons that it was removed is that a much more important feature is the ability of the converted software to work exactly as it was intended to in the source language. To do this, it was important to make dynamic binding to function and method calls, so that the number of arguments could vary, as it does in PHP. That is not to say that it could not be done in some places to match method parameters exactly, but the complexity of doing so and making the project work is enormous, and that is not even automated type detection, only matching the number of parameters at compile time (which would have to be done before any type detection could be useful).

 

It is not very hard for a programmer to change dymamic to static typing via a manual evaluation of the code, and there is very significant assistance from the IDE. On the other hand, it is very hard for a programmer to fix a codebase with a thousand compile errors at once, or to fix a program that doesn't work the way they expected it to. So it is a "nice to have" feature, but not something really important to develop.

 

It may or may not be added to a future version.

Share on Facebook
Share on Twitter
Please reload

Follow Us
Please reload

Search By Tags
Please reload

Archive
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square