GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mattip/c_from_python: Calling C from Python

BranchesTags
Open more actions menu

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
c_from_python.ipynb
c_from_python.ipynb
 
 
cffiAPI.cp36-win32.pyd
cffiAPI.cp36-win32.pyd
 
 
create_fractal.c
create_fractal.c
 
 
create_fractal.h
create_fractal.h
 
 
create_fractal.py
create_fractal.py
 
 
create_fractal32.dll
create_fractal32.dll
 
 
create_fractal64.dll
create_fractal64.dll
 
 
fractal_ctypes.py
fractal_ctypes.py
 
 
main.c
main.c
 
 
main.exe
main.exe
 
 
mandel.c
mandel.c
 
 
mandel.py
mandel.py
 
 

Repository files navigation

Calling C from Python

Comparing CFFI, Ctypes, Cython, CPPYY

A comparison of four ways to call from python into a c function. I show the advantages and disadvantages of all 4: boilerplate required, maintenance, speed.

If you read all the way through, there is a suprise at the end. No fair peeking.

An earlier version of this notebook was part of this talk at PyCon Israel 2017

About

Calling C from Python

Topics

cfficppyyctypescythonpython

Resources

Readme
License
Activity

Stars

94 stars

Watchers

6 watching

Forks

16 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.