Would quantum computers affect the C++ language? [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 10 years ago.
The advent of quantum computers could still be decades from now. Nevertheless, because software gets incredibly complex these days, it would be good to know if C++, one of the most used programming languages to develop such software, is able to project itself into the future where quantum computing is a norm and, in addition to portability across platforms, ensure portability of such software over decades.

Quantum computing will never be "the norm". It's not suitable for everything. It's suitable for solving some problems that are intractible with conventional algorithms, but we won't just be throwing it at everything, running our little C++ utilities on quantum computers.
So, no, I don't think so.

Related

Comparison of Random Decision Forest implementation in 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 am currently converting some R code into C++ code, and I need a “good” C++ Random Decision Forest implementation.
So far I found three big implementation (tmva, alglib and openCv), some “small/outdated” ones (like librf), and I need to choose one of them:
Do you guys have some good/bad experiences and/or some recommendations about those libraries (or maybe some other ones)? For example, the simplicity of use, the portability, the memory use, the speed, the readability of the error messages, the bugs(?), the comments about choices in the implementation, etc.
If you want to know, I am working with Visual Studio but my code is (and should stay) compatible with Linux. The speed and memory usage are very important for me since I will compute and keep in memory a large amount of random Forests. The code that I am developing is a machine learning algorithm for symbolic time sequences.
Thank you in advance,

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.

Objective-C vs C++ for applied math algorithms [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'm an engineering student and I have a couple classes about different complex math problems and how to solve them exactly and numerically (approximation) using various algorithms. We have focused more on the actual math and the ideas of the solutions than implementations of them. The most of these that I have seen are written in C++. For some reason I don't really like C++ and I have fallen completely in love with Objective-C. (I own an apple computer)
Is it to much of a difference in efficiency between these to languages? I'm not planning on solving 40.000x40.000 navier-stokes equation systems, just some little/little-medium instances of practical problems. Most off the problems of interest are P-problems and for the NP-Hard good heuristics would be fine.
I am obligated to learn yet another programming language, or should I just go with Objective-C, a language that I'm very familiar with nowadays.
For Math you have another languages like:
R for statistic
Octave for matrices and vectors
Maxima as CAS
SciPy for numeric computations
The God of all mathematics computations FORTRAN
Use right tool for right thing, and focus on idea not on algorithm (as you said).

Advise with choosing a linear algebra library for 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 10 years ago.
Please, help me with choosing a library for C++ that can provide with high performance calculations in linear algebra.
Can you please share your experience with Armadillo library (http://arma.sourceforge.net/)
Thanks in advance!
I'd choose between Eigen or Sonys vectormath library ( google for vectormath aos , can't seem to find a direct download but it's a part of bullet ). Sonys library has less bells & whistles, a tad more inconvenient syntax, but it's fast, especially for their own platforms. Sonys library is limited to the subset of linear algebra used for games however, matrices doesn't go beyond 4x4 for example.

*unusual* approach to memory saving? [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.
I was reading in a textbook on c++ about IOstreams, and I came across this:
Whenever you want to store information
on the computer for longer than the
running time of a program, the usual
approach is to collect the data into a
logically cohesive whole and store it
on a permanent storage medium as a
file.
(Quoted from Programming Abstractions in C++)
Is there an UNUSUAL approach to storing data?
Pushing across to a server, operating systems (experimental) that let you freeze parts of RAM etc.
This is a very vague question, and really, has no good answer.
i guess if you store it at some place in the RAM, and hope for it to be there when you run your program again, that would be an unusual way of storing :-)