Re:LFortran: Modern interactive LLVM-based Fortran compiler
by CyberDildonics on Thursday July 02, 2020 @09:24PM
(#23720118)
That's ridiculous, you can make a C++ class and overload operator() like Eigen to easily make a multi-dimensional array.
[ Parent
| on HN ]
Re:LFortran: Modern interactive LLVM-based Fortran compiler
by baggy_trough on Thursday July 02, 2020 @10:49PM
(#23720607)
"natively"
Re:LFortran: Modern interactive LLVM-based Fortran compiler
by CyberDildonics on Friday July 03, 2020 @01:03PM
(#23725596)
What is different to fortran's multi-dimensional arrays? The interface can be almost identical and the memory layout in C++ can be whatever you want it to be.
Re:LFortran: Modern interactive LLVM-based Fortran compiler
by enriquto on Friday July 03, 2020 @03:12AM
(#23721743)
By that reasoning, all turing-complete languages support multi-dimensional arrays.
Re:LFortran: Modern interactive LLVM-based Fortran compiler
by CyberDildonics on Friday July 03, 2020 @11:04AM
(#23724613)
I don't think every turing complete language lets you create an interface and memory layout that would be identical to fortran.