TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Would you choose C++ over Python/Ruby with Hadoop?

6 pointsby rudimkabout 12 years ago
Met this guy the other day, who wants me to set up a Hadoop cluster for him - he's got this mobile app that uses crowdsourcing to build, maintain and distribute information on spam callers and text senders.<p>In the course of the discussion, turned out that he was heavily against me using Python/Ruby(stuff I normally work with) to write code. He believes C++ is..faster.<p>Of course, that is true. But I still have my doubts. I don't want benchmarks. I'd rather have experiences. What do you think?

1 comment

relaunchedabout 12 years ago
Having done consulting work before, my advice to you is do what the person paying the bill wants.<p>Personally, I'm okay sacrificing speed, (for what I do, it really doesn't matter) for a language I'm more familiar with and find it easier to write in. So, I, like you, would prefer python. And when it comes to Hadoop, as well as many other areas that university research labs focus on, they usually use python too, so there's a lot of libraries you can easily grab and work with, if need be. Also, it's easier to hand off python code to someone that doesn't know python than it is to hand off C++ to someone that doesn't know C++/Java.<p>However, in the real world, the customer is always right, even when they are wrong. Do what they ask, no more and no less. If they ask for a recommendation, give it. When they ignore it, don't push...just decide whether or not you want to work under the conditions / terms. It's sad, but people hire experts and ignore their opinions all the time.<p>Just don't take the job and try to change the terms later. That always turns out terrible.<p>Good luck.
评论 #5549979 未加载