Asked by duncanb7
at 2024-11-05 10:20:10
Point:500 Replies:13 POST_ID:828779USER_ID:11059
Topic:
C Programming Language;;C++ Programming Language
I have done my created huge math function such as order 20 of polynomial/regression function with 10,000 data input in PHP program.
After math calculation is done , I will echo out the output
to the client browser. Since the function is huge almost
costing it 15 seconds to finish, I want to replace the math
function by other languages.
Recently, I heard javascript on server-side, Node.js, so
I know javascript is much easy to use as PHP coding , and I check
its speed is much faster than PHP as C
So now I try to make desicion on switch programming Lanauge on Javascript
or C or C++
But C or C++ is really time consuming to get to know everything such as
its complicated pointer structure or its sytnax
How do you think about using Javascript to do huge math function instead of
using C or C++ ?
And what is major different between C and C++ in doing huge math function ?
Or other lanaguage could handle huge math function code with good code and speed, please point it out ?
Please advise
Duncan
After math calculation is done , I will echo out the output
to the client browser. Since the function is huge almost
costing it 15 seconds to finish, I want to replace the math
function by other languages.
Recently, I heard javascript on server-side, Node.js, so
I know javascript is much easy to use as PHP coding , and I check
its speed is much faster than PHP as C
So now I try to make desicion on switch programming Lanauge on Javascript
or C or C++
But C or C++ is really time consuming to get to know everything such as
its complicated pointer structure or its sytnax
How do you think about using Javascript to do huge math function instead of
using C or C++ ?
And what is major different between C and C++ in doing huge math function ?
Or other lanaguage could handle huge math function code with good code and speed, please point it out ?
Please advise
Duncan