Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » Any objects?

This thread is locked; no one can reply to it. rss feed Print
Any objects?
Tyler Wrobel
Member #16,594
November 2016

Unreasonable or not? Do you think using an fstream and read write functions in place of websockets in a javascript/c++ based serverside utility would be extreme? In essence all code compiles down to one set of executable instruction code at a time, so would it be ridiculous or efficient to bypass any third party extensions of either language to create a pipe in between the two by just using file io?

Also, ment to label this thread Any objections?, typo.

Chris Katko
Member #1,881
January 2002
avatar

I honestly can't tell what you're asking. Can you re-write that a little?

-----sig:
“Programs should be written for people to read, and only incidentally for machines to execute.” - Structure and Interpretation of Computer Programs
"Political Correctness is fascism disguised as manners" --George Carlin

Tyler Wrobel
Member #16,594
November 2016

Do you think using an fstream and read write functions in place of websockets in a javascript/c++ based serverside utility would be extreme? In essence all code compiles down to one set of executable instruction code at a time, so would it be ridiculous or efficient to bypass any third party extensions of either language to create a pipe in between the two by just using file io and a c++ application on the server side to serve up information?

amarillion
Member #940
January 2001
avatar

sounds like premature optimization to me.

Go to: