📜 ⬆️ ⬇️

Translator from Delphi to javascript

Most recently, I participated in a curious project. Since the company financing this project “opened the cards” and even made a website dedicated to its results, I decided to tell you about it, dear habrayusers.

When creating interactive applications, it is often necessary to choose between two alternatives: a desktop application under Windows or a web application running in a browser. The main motto of the p2js project is “One source code - two platforms”.

So, if in two words, p2js is a translator of programs written in Delphi to javascript. A lot has been written on the project site about how this happens. I will not repeat. I personally made a couple of discoveries for myself:

Now the answer to the question that will still be asked - why? A company that needs it has a product in which ~ 1 million lines of source code. Basically the product is written in Delphi. Their customers want the product to work on two platforms. Of course, it was possible to hire as many programmers and testers who would repeat the creation in 3-5 years. And you can broadcast and have a solution on both platforms.

')

Source: https://habr.com/ru/post/137336/


All Articles