[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Good resources for learning

From: Lorenzo Bertini
Subject: Good resources for learning
Date: Tue, 21 Mar 2023 23:40:13 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

Dear list,

Forgive me if this is the wrong place to post. Reroute me to the right place if needed.

I am a computational physics student working on a small library for Monte Carlo simulations of spin systems. Having been a GSL user for quite some time I decided to "imitate" the practices I've seen in this library: allocating good data structures, having templates for boilerplate code, etc.

I keep getting stuck. One time I have a struct with thirty members, the other I'm passing twenty arguments into a function, and so on. I'm used to the C language and I can understand most of the GSL codebase, but I lack direction on this project.

What could be some good resources for learning to write C code like I see in the GSL? Right now I'm reading "C Interfaces and Implementations" from D.R. Hanson.

Thanks in advance, and all the best

reply via email to

[Prev in Thread] Current Thread [Next in Thread]