Skip to main content

Questions tagged [languages]

For questions regarding the choice and problems in programming languages within the scope of Scientific Computing.

Filter by
Sorted by
Tagged with
2 votes
0 answers
103 views

Coding a performant flexible scientific code with Python

I aim to code a PDE flexible fast PDE solver. I read and noticed multiple approaches: Python + Numba Python + Cython Python + some compiled language (c++/fortran) The equations to be solved are ...
mle's user avatar
  • 147
12 votes
1 answer
2k views

What are the usual steps and checks involved in upgrading a Scientific Computing code, if there is any?

I'm soon going to start a job as a Scientific Computing software developer. My responsibilities as discussed with the manager are as follows: Analyzing/understanding the existing functionalities (...
Dude's user avatar
  • 580
1 vote
4 answers
271 views

What are the parts of C++ that make C unsuitable to be used for scientific libraries?

What are the parts of C++ that make C unsuitable to be used for scientific libraries? Someone could argue the merit of C (or Fortran for that matter) to be simplicity. However, why do developers ...
mavavilj's user avatar
  • 427
0 votes
2 answers
2k views

Are C++ and FORTRAN low or high -level programming languages?

In this post, they mentioned that C++ and FORTRAN are low–level programming languages. However, In other references, they consderd these language as a high-level programming languages. Which one is ...
SHdotCom's user avatar
12 votes
8 answers
7k views

What programming language should I choose and why?

I am a mechanical engineer, intermediated/advanced level in MATLAB and MATHEMATICA, and beginner in Python. I intend to get a PhD in aeroelasticity (FEM + CFD) and coding my own program. I intend to ...
Riobaldo Tatarana's user avatar
8 votes
7 answers
8k views

What is the difference between MATLAB and FORTRAN?

In our university some Ph.D students for computational methods prefer FORTRAN over MATLAB. I can't understand why? What is the difference between them when are used in computational methods like ...
MohammadSh's user avatar
1 vote
0 answers
31 views

Chinese character component-based layout engine algorithms [closed]

I am looking for a PDF describing Chinese character component-based layout engine algorithms. These should allow for recursive encodings of radical and non-radical components, and the encodings should ...
Jack Maddington's user avatar
2 votes
1 answer
779 views

Open source tool comparable to MATLAB Neural Network Tool Box?

Background I am a graduate student and a researcher. I do not like to rely on commercial products due to cost and also because I feel more comfortable in using and extending existing tools based on ...
GeekyOmega's user avatar
3 votes
1 answer
758 views

Julia: ordschur command

I just started leaning Julia, and my command of it is still very preliminary. I am trying to reorder a Schur decomposition. In Matlab, I could use the ordqz command and just had to specify the ...
Foblire's user avatar
  • 33
1 vote
1 answer
152 views

Shared memory parallel computing solutions compared

As of 2015, what shared memory parallel computing solutions are available? What are the advantages and disadvantages of each for various use cases arising in high performance scientific computing? I ...
Szabolcs's user avatar
  • 2,600
5 votes
2 answers
1k views

Schur(QZ) Decomposition Differences

I am having issues understanding why different languages are producing different answers for the Schur(QZ) decomposition. I am working on writing some old stuff from Matlab into Julia and Python and ...
cc7768's user avatar
  • 153
24 votes
5 answers
6k views

What language should I use when teaching an undergraduate course in computer programming?

Going to teach students of undergraduate level a course titled Introduction to Computer Programming. I am confused a bit. In Computational Physics scientists use C/C++ or Python or Fortran,CUDA etc.......
Afnan Bashir's user avatar
61 votes
4 answers
11k views

How mature is the "Julia" scientific computing language project?

I'm considering learning a new language to use for numerical/simulation modelling projects, as a (partial) replacement for the C++ and Python that I currently use. I came across Julia, which sounds ...
N. Virgo's user avatar
  • 1,203
6 votes
5 answers
492 views

Using multiple languages in scientific codes

Short version: Is it ever a good idea to use multiple languages in scientific codes? Long version: May be its just me but these days I often see scientific codes written in multiple languages. The ...
stali's user avatar
  • 1,759
3 votes
3 answers
302 views

A Comparison of Languages [closed]

I am not trying to start a Language flame war here. I merely want to ask a simple question: Is there a good resource for comparisons for languages for scientific computing? By comparisons, I mean on ...
LanguageAgnostic's user avatar
11 votes
6 answers
13k views

Which language should I learn for computational science?

I'm entirely new to the notion of computational science, and am looking for a good starting point. I understand that there's no objectively best language, but I'd like to learn a language that has an ...
user1299028's user avatar
24 votes
3 answers
5k views

Using unconventional programming languages for scientific computation [closed]

Note: the following post may include controversial opinions, so please note that they are only my opinions, and not intended to offend anyone. I'm being programming in some form or the other since ...
Faheem Mitha's user avatar
24 votes
12 answers
20k views

Is it possible to use Octave to learn MATLAB programming?

I want to learn MATLAB programming so that I can conduct some researh/analysis on my own and also, so that I can study/modify some MATLAB scripts that I have found online etc. However, the problem is ...
Homunculus Reticulli's user avatar
66 votes
13 answers
50k views

C++ vs Fortran for HPC

In my computational science PhD program, we are working almost exclusively in C++ and Fortran. It seems like some professors prefer one over the other. I am wondering which one is 'better' or if one ...
drjrm3's user avatar
  • 2,129
50 votes
4 answers
32k views

What makes Fortran fast?

Fortran has a special place in numerical programming. You can certainly make good and fast software in other languages, but Fortran keeps performing very well despite its age. Moreover, it's easier to ...
cauchi's user avatar
  • 887