Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move “Using objects across language boundaries” to learn section? #177

Open
awvwgk opened this issue Oct 2, 2022 · 1 comment
Open
Labels
section: learn Relevant for the learn section on the webpage

Comments

@awvwgk
Copy link
Member

awvwgk commented Oct 2, 2022

Beginning of this year I gave a presentation in the Fortran Object Oriented Programming Seminar Series (FOOPSS) organized by the Electronic Structure Library (ESL) initiative. The presentation is available at https://awvwgk.github.io/foopss/ with source at https://github.com/awvwgk/foopss under MIT license, it is basically one reStructuredText file.

The main topic is the export of an object oriented Fortran library to C, both for using objects instantiated in Fortran and extending Fortran base classes from C via callbacks. Finally, there is also a section on wrapping the produced C API in Python using a Foreign Function Interface (FFI) in a memory-safe way.

For a Fortran-lang minibook the presentation is rather brief and needs to be extended a bit with more elaborate discussions. Copying it over one-to-one is unlikely to yield a good learning resource. But I hope it will yield a good base for working towards resources discussed in #105.

@awvwgk awvwgk added the section: learn Relevant for the learn section on the webpage label Oct 2, 2022
@Mohnaa
Copy link

Mohnaa commented Mar 1, 2023

I can contribute on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
section: learn Relevant for the learn section on the webpage
Projects
None yet
Development

No branches or pull requests

2 participants