PyAutoC

Dev tools

c to python bindings

SHOW HN2012

7points
6comments
#1,458of 1,677 in 2012
Top 87%of 2012 by points

How HN took it

QuietFewer than 5 comments about the project

0 positive, 1 neutral or asking, 0 mixed, 2 critical, out of 3 comments about the project.

Design: 0 for, 2 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

Objections

  • Uses macros with naked primitive type names, which feels unnatural for C

    From 1 comment
    • For my money, something that looks like a C API with very obviously impossible things going on (passing "naked" names of primitive types like int and float) makes my personal…
      unwind on HN
  • Seems to need a compile step, unlike ctypes runtime FFI

    From 1 comment
    • What do you mean "runtime" ? You have to compile some C code with macros to wrap a unique type signature for each function you want to wrap, so this seems to require a…
      Erwin on HN
  • Cython/Pyrex already do this more cleanly

    From 1 comment
    • What do you mean "runtime" ? You have to compile some C code with macros to wrap a unique type signature for each function you want to wrap, so this seems to require a…
      Erwin on HN

Questions

  • What is meant by runtime, given a compile step is needed

    From 1 comment
    • What do you mean "runtime" ? You have to compile some C code with macros to wrap a unique type signature for each function you want to wrap, so this seems to require a…
      Erwin on HN

Alternatives named

  • Pyrex/Cython

    From 1 comment
    • What do you mean "runtime" ? You have to compile some C code with macros to wrap a unique type signature for each function you want to wrap, so this seems to require a…
      Erwin on HN
  • ctypes

    From 1 comment
    • What do you mean "runtime" ? You have to compile some C code with macros to wrap a unique type signature for each function you want to wrap, so this seems to require a…
      Erwin on HN
  • boost.python

    From 1 comment

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/3836417)