Skip to main content

Python-C-Extension

Skeletal code to create exposed C, C++ Extensions for Python

Just wrote some generic handy code which I thought I'd upload. Performance boost of using C, C++ extensions in some operations is quite significant and proven. Use this code to add pre-written C, C++ code and build it in a way that it's functions are exposed as python packages.

The code has been hosted on github HERE.

Build to a shared object to access the c library as a python package.

usage:

> import helloworld

>helloworld.printhelloworld()


Θ Ω Sushant ♂

Comments

Popular posts from this blog

Startup founders cheatsheet (Chief product officer)

Define your goals  The basic definition of "mission" and "vision" of the company is critical when we've past the stage of experimenting with the startup's model and helps you prioritise better. From the Expedia page it looks like this: "Our Mission is to Revolutionise Travel Through the Power of Technology", in this case, it is also helping the company know that leveraging and scaling with "technology" is imperative for the company (along with operations). 
Set 2-3 basic targets for the next 2-3 months (possibly 6 months) These might be pretty standard and should align with the mission / vision of the company. If your company wants to be the #1 company in Asia for travel, these basic targets might be: Scale to 100,000 app downloads across platformsIncrease revenue by 15%Increase daily unique visitors to 3 times the current value 
Image Source: Mind the product
Goals help define epics and create a huge backlog Now brainstorming how the targe…