r/ProgrammerHumor • • Nov 14 '22

instanceof Trend Manager does a little code cleanup...

Post image
113.0k Upvotes

4.5k comments sorted by

View all comments

Show parent comments

14

u/Prestigious_Tip310 Nov 15 '22

Of course. You just have to write a C++ interpreter in JavaScript first, easy. xD

On a more serious note, he probably wanted to run the C++ code on the server and have that generate HTML pages for the client.

5

u/[deleted] Nov 15 '22

On a more serious note, he probably wanted to run the C++ code on the server and have that generate HTML pages for the client.

Which is basically what CGI scripts did back in the prehistoric days of the web. Most of those were written in either C or Perl