C++ Developer
Systems, C++ and performancePosted over 2 months agofrom Applied Materials's own hiring page
- Work type
- On-siteMumbai
- Experience
- 8–15 years
- Pay
- Not listed
- Posted
- Over 2 months agoOpen over 2 years
Skills it mentions
Add your skills to see which ones you have.
About the job
Job Role :- C++ Senior Developer
Experience :- 8-15 years
Job Description :-
- We are looking for C++ developer responsible for developing and maintaining algorithms developed in C++ on Windows and Linux platform.
- Contribute to software optimization and innovation.
- Background on CAD application development and micro services using grpc will be added advantage.
Roles and Responsibilities :-
- Design, build, and maintain efficient, reusable, and reliable C++ code.
- Implement performance and quality modules.
- Identify bottlenecks and bugs, and devise solutions to these problems.
- Help maintain code quality, organization, and automatization.
Desired Candidate Profile: -
- Strong proficiency in C++
- Thorough knowledge of the standard library, STL containers, and algorithms.
- Good understanding of memory management.
- Hands on experience on multithreading.
- Good collaboration skills to work with other developers and testers.
- Ability to work in agile team using pull organization.
- Have good interpersonal and communication skills.
- Hardworking individual with a strong work ethic and excellent interpersonal skills.
Education Qualification:-
- B.E./B.Tech/BCA/BSc(IT)/MTech/MCA/MSc(IT)
Qualifications
Education:
Bachelor's DegreeSkills:
Certifications:
Languages:
Years of Experience:
4 - 7 YearsWork Experience:
Additional Information
Time Type:
Full timeEmployee Type:
Assignee / RegularTravel:
Relocation Eligible:
NoApplied Materials is an Equal Opportunity Employer committed to diversity in the workplace. All qualified applicants will receive consideration for employment without regard to race, color, national origin, citizenship, ancestry, religion, creed, sex, sexual orientation, gender identity, age, disability, veteran or military status, or any other basis prohibited by law.
Interested?C++ Developer at Applied Materials
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on C++ and Linux
Interview questions for this job
For the skills the ad mentions: C++ and Linux.
Why is reading lines from stdin much slower in C++ than Python?C++
tl;dr: Because of different default settings in C++ requiring more system calls.
By default,
cinis synchronized with stdio, which causes it to avoid any input buffering. If you add this to the top of your main, you should see much better performance:std::ios_base::sync_with_stdio(false);Normally, when an input stream is buffered, instead of reading one character at a time, the stream will be read in larger chunks. This reduces the number of system calls, which are typically relatively expensive. However, since the
FILE*basedstdioandiostreamsoften have separate implementations and therefore separate buffers, this could lead to a problem if both were used together. For example:int myvalue1; cin >> myvalue1; int myvalue2; scanf("%d",&myvalue2);If more input was read by
cinthan it actually needed, then the second integer value wouldn't be available for thescanffunction, which has its own independent buffer. This would lead to unexpected results.To avoid this, by default, streams are synchronized with
stdio. One common way to achieve this is to havecinread each character one at a time as needed usingstdiofunctions. Unfortunately, this introduces a lot of overhead. For small amounts of input, this isn't a big problem, but when you are reading millions of lines, the performance penalty is significant.Fortunately, the library designers decided that you should also be able to disable this feature to get improved performance if you knew what you were doing, so they provided the
sync_with_stdiomethod. From this link (emphasis added):If the synchronization is turned off, the C++ standard streams are allowed to buffer their I/O independently, which may be considerably faster in some cases.
From Stack Overflow: asked by JJC, answered by Vaughn Cato (CC BY-SA 4.0)
Why does man print "gimme gimme gimme" at 00:30?Linux
Dear @colmmacuait, I think that if you type "man" at 0001 hours it should print "gimme gimme gimme". #abba
@marnanel - 3 November 2011er, that was my fault, I suggested it. Sorry.
Pretty much the whole story is in the commit. The maintainer of man is a good friend of mine, and one day six years ago I jokingly said to him that if you invoke man after midnight it should print "gimme gimme gimme", because of the Abba song called "Gimme gimme gimme a man after midnight":
Well, he did actually put it in. A few people were amused to discover it, and we mostly forgot about it until today.
I can't speak for Col, obviously, but I didn't expect this to ever cause any problems: what sort of test would break on parsing the output of man with no page specified? I suppose I shouldn't be surprised that one turned up eventually, but it did take six years.
(The commit message calls me Thomas, which is my legal first name though I don't use it online much.)
This issue has been fixed with commit 84bde8: Running man with
man -wwill no longer trigger this easter egg.From Unix & Linux Stack Exchange: asked by Jaroslav Kucera, answered by Marnanel Thurman (CC BY-SA 4.0)
What does the explicit keyword mean?C++
The compiler is allowed to make one implicit conversion to resolve the parameters to a function. This means that the compiler can use constructors callable with a single parameter to convert from one type to another in order to get the right type for a parameter.
Here's an example with converting constructors that shows how it works:
struct Foo { // Single parameter constructor, can be used as an implicit conversion. // Such a constructor is called "converting constructor". Foo(int x) {} }; struct Faz { // Also a converting constructor. Faz(Foo foo) {} }; // The parameter is of type Foo, not of type int, so it looks like // we have to pass a Foo. void bar(Foo foo) {}; int main() { // However, the converting constructor allows us to pass an int. bar(42); // Also allowed thanks to the converting constructor. Foo foo = 42; // Error! This would require two conversions (int -> Foo -> Faz). Faz faz = 42; }Prefixing the
explicitkeyword to the constructor prevents the compiler from using that constructor for implicit conversions. Adding it to the above class will create a compiler error at the function callbar(42). It is now necessary to call for conversion explicitly withbar(Foo(42))The reason you might want to do this is to avoid accidental construction that can hide bugs.
Contrived example:- You have a
MyStringclass with a constructor that constructs a string of the given size. You have a functionprint(const MyString&)(as well as an overloadprint (char *string)), and you callprint(3)(when you actually intended to callprint("3")). You expect it to print "3", but it prints an empty string of length 3 instead.
From Stack Overflow: asked by Skizz, answered by Skizz (CC BY-SA 4.0)
- You have a
Why is "chmod -R 777 /" destructive?Linux
First of all a minor terminology nitpick:
chmoddoesn't remove permissions. It CHANGES them.Now the meat of the issue -- The mode
777means "Anyone can read, write or execute this file" - You have given permission for anyone to do (effectively) whatever the heck they want.Now, why is this bad?
- You've just let everyone read/modify every file on your system.
- Kiss password security goodbye (anyone can read the shadow file and crack your passwords, but why bother? Just CHANGE the password! It's much easier!).
- Kiss security for your binaries goodbye (someone can just write a new
loginprogram that lets them in every time). - Kiss your files goodbye: One user misdirects
rm -r /and it's all over. The OS was told to let them do whatever they wanted!
- You've pissed off every program that checks permissions on files before starting.
sudo,sendmail, and a host of others simply will not start any more. They will examine key file permissions, see they're not what they're supposed to be, and kick back an error message.
Similarlysshwill break horribly (key files must have specific permissions, otherwise they're "insecure" and by default SSH will refuse to use them.) - You've wiped out the setuid / setgid bits on the programs that had them.
The mode777is actually0777. Among the things in that leading digit are thesetuidandsetgidbits.
Most programs which are setuid/setgid have that bit set because they must run with certain privileges. They're broken now. - You've broken
/tmpand/var/tmpThe other thing in that leading octal digit that got zero'd is thesticky bit-- That which protects files in/tmp(and/var/tmp) from being deleted by people who don't own them.
There are (unfortunately) plenty of badly-behaved scripts out there that "clean up" by doing anrm -r /tmp/*, and without the sticky bit set on/tmpyou can kiss all the files in that directory goodbye.
Having scratch files disappear can really upset some badly-written programs... - You've caused havoc in
/dev/procand similar filesystems
This is more of an issue on older Unix systems where/devis a real filesystem, and the stuff it contains are special files created withmknod, as the permissions change will be preserved across reboots, but on any system having your device permissions changing can cause substantial problems, from the obvious security risks (everyone can read every TTY) to the less-obvious potential causes of a kernel panic.
Credit to @Tonny for pointing out this possibility - Sockets and Pipes may break, or have other problems
Sockets and pipes may break entirely, or be exposed to malicious injection as a result of being made world-writeable.
Credit to @Tonny for pointing out this possibility - You've made every file on your system executable
A lot of people have.in theirPATHenvironment variable (you shouldn't!) - This could cause an unpleasant surprise as now anyone can drop a file conveniently named like a command (saymakeorls, and have a shot at getting you to run their malicious code.
Credit to @RichHomolka for pointing out this possibility - On some systems
chmodwill reset Access Control Lists (ACLs)
This means you may wind up having to re-create all your ACLs in addition to fixing permissions everywhere (and is an actual example of the command being destructive).
Credit to @JamesYoungman for pointing out this possibility
Will the parts of the system which are already running continue to run? Probably, for a while at least.
But the next time you need to launch a program, or restart a service, or heaven forbid REBOOT the box you're in for a world of hurt as #2 and #3 above will rear their ugly heads.From Server Fault: asked by samwise, answered by voretaq7 (CC BY-SA 3.0)
- You've just let everyone read/modify every file on your system.
What's the problem with "using namespace std;"?C++
Consider two libraries called Foo and Bar:
using namespace foo; using namespace bar;Everything works fine, and you can call
Blah()from Foo andQuux()from Bar without problems. But one day you upgrade to a new version of Foo 2.0, which now offers a function calledQuux(). Now you've got a conflict: Both Foo 2.0 and Bar importQuux()into your global namespace. This is going to take some effort to fix, especially if the function parameters happen to match.If you had used
foo::Blah()andbar::Quux(), then the introduction offoo::Quux()would have been a non-event.From Stack Overflow: asked by akbiggs, answered by Greg Hewgill (CC BY-SA 4.0)
Do you have any weaknesses?Behavioural
You should be honest when answering questions on your weaknesses. Say how you're working to improve them.
ExampleQuestion - "Do you have any weaknesses?"
Answer - "I struggle with time management on projects. To make sure I stick to the time frame I'm creating a timetable of steps at the start of each project".
From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Senior HPC engineerWeekday, Delhi NCR, on-siteYesterday
- Sr. C++ EngineerHarmonic Inc, Bengaluru, hybrid2 days ago
- Developer : C++/ADASBosch Group, Bengaluru, on-site3 days ago
- Software Engineer - C++, Networking(Layer2/Layer 3) | 4-8 YearsCisco, Bengaluru, on-site3 days ago
More like this: Jobs in Mumbai (2,954) and C++ and systems jobs in India (161)


