Using C or C++ to write a Linux shell [closed] - c++

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I need to write a Linux shell for a school project. We can use C or C++. I am a little more comfortable with C++, and since I'm working with a partner, the object-oriented aspect of it is helpful. However, I suspect that for some reason C is better, and that most if not all Linux shells are written in C and not C++. What are the pros and cons of using one or the other?

the only difference I'd say is the dependency on libstd-c++ if you end up using STL and stuff. Plain C implementation if done correctly will run on bare minimum system requirements (libc only)

Related

Is C++ at the same level of C? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm familiar with these two languages but don't write in them.
From the context of Microsoft specific versions of these languages and from what I understand, (Visual) C++ is basically C but object oriented. Is that correct?
Is C and C++ on the same level? Meaning, C++ does not sit on top of C?
I've often heard if you want to write an operating system (Windows) use C (but MS does not have a Visual C). Can the same be said for C++? Why or why not?
Thats a big question... The short version is that there isnt really anything that can be done in C that cant be done in C++. A longer version can be found here.

Recently publicized modern C derivative? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I remember reading in Hacker News about a modern C-like language with pretty nifty features, but I can't find it again. The name I can evoke is "C9", but that's not yielding search results.
It was pretty much a superset of C, with multi-pass compilation (and thus, no need for headers and forward declarations) and namespaces, as well as dynamic array syntax and string handling sugar.
I'm about to embark in a low-level project, and this would be a fantastic opportunity to try it out. My C is a bit rusty, I'm afraid, after years of python and coffeescript, so it would surely come in very handy.
Any hope somebody in SO has heard about it, or a similar project?
I think I read the same article. It sounds like C2, including the multi-pass parsing.

What are the points to be kept in mind while porting c++ code from Linux to Windows? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have started to port a project which involves C++, qt , MySql codes.These codes are written for Linux and I am porting them to Windows. So my question, are there any general points to be kept in mind while porting these codes from Linux to Windows? Please help me out here.
I am working on a sililar project, and what I have noted thus far is that the path names are different from Unix to Windows, the header files are not exactly the same between the two, and the size of variables are sometimes different. Here are some useful links as well:
http://www.willydev.net/descargas/prev/UNIX.pdf
http://suacommunity.com/dictionary/index.php

erlang vs golang [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I intend to learn a new language for better concurrency.
Erlang is a old but powerful language with a runtime to support its whole concurrency system as well as a well-known library, OTP. This is more like JVM.
Go is another language good at concurrency, while it's more like C.
My major field is about C/S and B/S. What should I prefer?

advantages of using Borland C++ version 5 [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
What are advantages and disadvantages of using Borland C++ version 5
Off the top of my head...
Advantages:
You can use Object Windows Library, which many people think is very clean and easy to use
Compatibility with other Borland code
Disadvantages:
No longer supported - Old version of less popular compiler
Newer, better supported free compilers exists
Much smaller community compared to GCC or MVCC
Less access to new technologies
Doesn't support new C++ features