Questions tagged [programming-paradigms]

19 questions
54
votes
9 answers

Functional Programming and Scientific Computing

I apologize if this is a vague question, but here goes: Over the past few years, functional programming has received a lot of attention in the Software Engineering community. Many have started using languages such as Scala and Haskell and claimed…
Inquest
  • 3,394
  • 3
  • 26
  • 44
9
votes
4 answers

Using global variables when doing scientific computing

I was taught in my freshman college computer programming course that using global variables is almost always a bad idea. However, I have found that when designing Fortran programs for very complex simulations, such a practice seems to make things…
8
votes
2 answers

Large array in GMP

If I want to use large array say mpz_t A[100000], I got "Segmentation fault (core dumped)" during my compilation. Is there any easier way to solve this?
user12290
  • 275
  • 2
  • 6