×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 相约北美 / 移民留学 / 请教在加的大虾:Unix下的C编程(包括IPC, 多线程,Pro*C操作Oracle数据库等)在加好找工作吗?
    • up
    • 怎么没人回答呢?
    • Yes. But if you add a little more like C++, it's perfect.
      • Thanks a lot !
        I've also heard that C++ on Unix is more competitive on job hunting and this is the reason I ask this question. I have years of experience on C programming on Unix but I rarely use C++ and I'm considering to move to a new company to get this chance before landing. I will land in Canada in next spring and I'm not sure if its worthy to change job at this time. According to my present situation, if I still have chances to find a job, I would rather stay in my current company and make other preparations such as finance and language.
        So, any of your suggestions may help me to make a decision.
        Once again, thank you so much.
        • If you like to develop some graphic or database app, C++ is OK, but if you do something related with operating system, C is only choice.
          • not exactly, things relate to operation system like POSIX thread, Message Queue, I/O operation, shared library can also be writen in C++, just use some C methods.
            • sabotage ,come in pls.
              There is one thing should be clarified, pls see the following code:
              struct pthread_start_args {
              void * (*start_routine)(void *); /* function to run */
              void * arg; /* its argument */
              sigset_t mask; /* initial signal mask for thread */
              int schedpolicy; /* initial scheduling policy (if any) */
              struct sched_param schedparam; /* initial scheduling parameters (if any) */
              };
              IMHO, such code can not be called as C++, it is still C code, an structural C code.

              In Linux, as I know, message queue and I/O are writen by pure C, I have not seen the source code of pthread (just look through it and hope you give some help on it :--) ), but IPC is made up with C.

              All in all, C has borrowed something from C++, but it is still C.
              • you r correct.
                what I mean is build your C++ project, just call some C code like pthread_create () from C++ code. you dont want to build your own UNIX core, just use it. So there is no difference between C & C++ at this point.
                (dont forget C++ contains all attributes of C code)
                you can package your thread, your MQ... into C++ classes by this method. and the code in your application is definently C++ code.
    • 如果是真的,那你在加拿大的机会还是比较多的。
      • 谁说的?俺就是一个老牌的UNIX C++ programmer,还附带informix, Oracle, TCP/IP等等。首先明白一点,这里和国内一样,UNIX的竞争者少,但是相应机会也少,难度绝对不比VC++ programmer小!
        • Big Ben说的。 特别是现在,UNIX C/C++ 比起VC,VB,JAVA要容易一点。(转行学十个月电脑突击班的人是不可能掌握UNIX C/C++的。)当然,这仅仅是我的个人看法而已。(砖头!我闪!)
          • 其实我看JAVA更难,因为JAVA里的新东西多,要不断学习,UNIX C/C++比较稳定,JAVA要用的工具也多很多时间是在设置开发,运行的环境。
            • Unix C is a core skill of CS major. If you were system software engineer, maybe you wouldn't think Java was difficult.
              Similiarly non-professionals think that programming language is more useful than Data-Structure and OS.
              • I am CS major. I learned system programming in my university. Now I am JAVA developer.
        • 那东方兄找到工作了吗?