tinycodinglm / lang /lang-0013.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 15)
b27bfb3 verified
|
Raw History Blame Contribute Delete
797 Bytes
opencode trace
System You are an expert software engineer.

You are an expert software engineer.

User

What are modern Fortran's key features?

Assistant

Fortran 2008/2018/2023: array operations, coarrays, do concurrent, OOP.

Array ops: element-wise without loops, sections (start:end:stride), where/forall, intrinsics (Sum, Matmul).

Allocatable arrays: automatic reallocation. Column-major ordering.

Coarrays: PGAS parallelism. Do concurrent: implicit parallelism hints.

Interoperability: iso_c_binding for C. MPI for distributed memory. OpenMP for shared memory.