OpenAI Codex Python to C++ Code Generator

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • codex_py2cpp

    Converts python code into c++ by using OpenAI CODEX.

  • oil

    Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!

    I'm writing a Python to C++ translator for https://www.oilshell.org, which is less than 40K lines of code. And I even have a 50K NLNet grant to hire someone!

    Brief Descriptions of a Python to C++ Translator https://www.oilshell.org/blog/2022/05/mycpp.html

    But I don't think there is anything interesting in this repo. It doesn't show anything that works, and doesn't really make any claims.

    But maybe it would be a fun illustration of the limitations of AI. So I would propose that if you can get even 1000 lines of Oil's code translating correctly with AI, I will award you a big part of my grant.

    I think it's impossible with the state of the art. I don't have much interest in current ML techniques today, but I am credited on a deep learning paper with thousands of citations, so it's not a totally uneducated claim.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • shedskin

    Shed Skin is a restricted-Python-to-C++ compiler. Read the introduction below to learn about the restrictions.

    Anything you can learn or use from Shedskin?

    https://github.com/shedskin/shedskin

  • pythran

    Ahead of Time compiler for numeric kernels

    You might want to contact the author of Pythran [1], maybe something can be learned from what they do.

    [1] https://github.com/serge-sans-paille/pythran/commits/master

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts