Link to home
Start Free TrialLog in
Avatar of Rohit Bajaj
Rohit BajajFlag for India

asked on

Ideas for a polyglot programming project

HI,
I have to make a polyglot programming project. Something that runs into at least 1000 or preferably 3-4k lines of code.
Also there is following requirement for the project :
3 languages must be used
 * At least one “systems” language (like C, C++, Go, Rust).
• At least one “scripting” language (like Bash, JavaScript, Julia, Perl, PHP, Python, R, Tcl).
• C and C++ count as one language.
• SQL, HTML,CSS,etc dont count

Open in new window

But i am running short of ideas.
(i) The first thing that comes to my mind is make some web application to start with something simple one.
Backend java spring etc, front end use javascript .
But there are two gaps in this idea
1) Not sure what the third language could be. Probably pass the input from javascript to server and do some heavy calculation using C. Not sure if that is possible. So 3 language condition is met

2) The code should run in more than 1000 lines..or better to say good quality code in more than 1000 lines in total. Not sure what to pick up to achieve that. Any simple web application would be finsihed in few hundred lines...
May be could add more complexity to it.

(ii) I can think of some file conversion tool. May be image compression or conversion of plain text into markdown..
The issue is still the same will it go above 1000 lines... and the third language.

Any ideas etc will be helpful.
Thanks







Avatar of Francisco Igor
Francisco Igor
Flag of Canada image

Maybe you can work with one frontend using Javascript and two different backend services (one using spring/java acting as the main web server and another in Python/PHP/Go acting as an external REST API (image/text/data processing for example) used from the backend or even from the frontend.
Avatar of Rohit Bajaj

ASKER

Just to clarify what you have written.
There are two backend servers.
What I understand is one will be used to handle direct requests from chrome the http url we type in the browser.
And other we will be using while making http calls from javascript ?
Is that what you mean ?

So both server can be accessed from outside. Although one will be used to serve direct content on page. And other will be used when user interacts with the page
ASKER CERTIFIED SOLUTION
Avatar of Francisco Igor
Francisco Igor
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial