3 ms·
> But on x86 & ARM, there's no good reason to write new code in C Sorry, but this is pure ignorance. Please let me know when was the last time you've tried to
by AlexeyBrin 10y ago
> But on x86 & ARM, there's no good reason to write new code in C
Sorry, but this is pure ignorance. Please let me know when was the last time you've tried to implement a CFD or FEA code in Go or Lisp ?
- zeveb 10y agohttp://www.sciencedirect.com/science/article/pii/089571779090275R http://www.sciencedirect.com/science/article/pii/08957177909... indicates that folks were writing computational fluid dynamics software in Lisp in 1989. I think that http://www.femlisp.org/ http://www.femlisp.org/ is a finite element analysis for Common Lisp.
- AlexeyBrin 10y agoFolks were writing CFD codes in Matlab too, that does not mean that it was a good idea (except for 1D or small 2D problems or for prototyping). My point was that some languages are better suited for particular tasks. In CFD and FEM codes you want speed, if you need to wait a few days for a highly optimized C++ code to get some results (e.g. the flow around an entire airplane) imagine how long it will take to do the same in Go or Common Lisp ... Case in point FEMLISP uses C or Fortran libraries (Triangle, Tetgen, OpenMP, various linear algebra libraries) under the hood for the actual computation :).