Skip to content
A Python extension module that uses C, C++, Fortran and Rust
C Fortran Python C++ Rust Meson
Branch: master
Clone or download
dhermes and jpakkane Converting `ffunc.f90` to "modern" Fortran
Returning a `char*` of unknown size is a bit of an unnatural thing to
do in Fortran, but we do it to fit in with the C++ and Rust example.
Latest commit d56059f Oct 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
COPYING
ffunc.f90
func.cpp
func.rs
main.py
meson.build
polysnake.c
readme.md

readme.md

Python extension module with C, C++, Fortran and Rust

Exactly what it says on the tin.

All the specified languages are linked into a single Python extension module.

Compiling

meson build
ninja -C build

Running

PYTHONPATH=build ./main.py
You can’t perform that action at this time.