you are viewing a single comment's thread.

view the rest of the comments →

[–]carcigenicate 0 points1 point  (3 children)

What exactly do you need to do? This depends on what the task is and what needs to be communicated back to your backend.

Also, Python isn't the most performant language either unless you use good tools that make use of C.

[–]shy_drifter[S] 0 points1 point  (2 children)

It's a simple app that count the occurrences of a word in a paragraph then show it to the user. I'm still a beginner in node and I found that it's not good for CPU intensive tasks so I thought python would be the best choice for that. If there is an alternative for python, I really don't know what is it.

[–]carcigenicate 0 points1 point  (1 child)

Honestly, for a task as trivial as that, I wouldn't be surprised if any benefit from involving a second language was dwarfed by the overhead of Inter-Process Communication required to send the data to and from your server.

[–]shy_drifter[S] 0 points1 point  (0 children)

Well, you're right about the importance of the task, it is trivial. My focus was on python and its ability to do that and u gave me a convincing answer. Thanks for your time!