News for hackers. Stuff that matters.
Re:Show HN: Inline C in Python by joejev on Monday November 23, 2015 @03:12PM (#10616981)
Cython would definitly be possible. It would probably work the same way the C quasiquoter does where it creates a function that accepts the scope and then executes the code. It would even be easier because it wouldn't need to do a first pass compile to get the missing names. I will try to work on this soon.
Re:Show HN: Inline C in Python by hogu on Monday November 23, 2015 @04:30PM (#10617447)
thanks! looks really cool

btw - I suspect a different title might help get more traction on hn - inlining C isn't that interesting (scipy.weave has done this for years) but this approach to inlining is super cool, and can be extended to other langs. none of this is obvious from the title