A C++ Bindings Compiler

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

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

    Demo to show a typical usecase for tolc

  • Hi everyone!

    Some friends and I were unhappy with how much work it was to use C++ from other languages. We were working in the optimizations industry and often had to prototype with python. Eventually, we created a tool to make it easier for C++ to talk to python (by generating pybind11). Later, javascript via WebAssembly was added as well. It's now at a point where it's very easy to just create a C++ library and use it from any of those languages without change. We're planning on slowly adding more languages as needed/requested. The next on the list are Swift and Kotlin.

    It does not require any change to your existing public interface, but simply reads it and creates the bindings off of that. It should also work on Linux (Debian), MacOS, and Windows (Visual Studio). Here's a small demo if you'd like to test:

    https://github.com/Tolc-Software/tolc-demo

    And here are the repositories with the source code:

    https://github.com/Tolc-Software/tolc - The executable

    https://github.com/Tolc-Software/frontend.py - The python bindings generator

    https://github.com/Tolc-Software/frontend.wasm - The WebAssembly bindings generator

    https://github.com/Tolc-Software/Parser - The C++ parser

    It is dual licensed with AGPL and, if someone wants, a commercial license as well.

    Would be cool if someone finds it useful!

  • tolc

    A bindings compiler for C++

  • Hi everyone!

    Some friends and I were unhappy with how much work it was to use C++ from other languages. We were working in the optimizations industry and often had to prototype with python. Eventually, we created a tool to make it easier for C++ to talk to python (by generating pybind11). Later, javascript via WebAssembly was added as well. It's now at a point where it's very easy to just create a C++ library and use it from any of those languages without change. We're planning on slowly adding more languages as needed/requested. The next on the list are Swift and Kotlin.

    It does not require any change to your existing public interface, but simply reads it and creates the bindings off of that. It should also work on Linux (Debian), MacOS, and Windows (Visual Studio). Here's a small demo if you'd like to test:

    https://github.com/Tolc-Software/tolc-demo

    And here are the repositories with the source code:

    https://github.com/Tolc-Software/tolc - The executable

    https://github.com/Tolc-Software/frontend.py - The python bindings generator

    https://github.com/Tolc-Software/frontend.wasm - The WebAssembly bindings generator

    https://github.com/Tolc-Software/Parser - The C++ parser

    It is dual licensed with AGPL and, if someone wants, a commercial license as well.

    Would be cool if someone finds it useful!

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • frontend.py

    Python frontend for Tolc

  • Hi everyone!

    Some friends and I were unhappy with how much work it was to use C++ from other languages. We were working in the optimizations industry and often had to prototype with python. Eventually, we created a tool to make it easier for C++ to talk to python (by generating pybind11). Later, javascript via WebAssembly was added as well. It's now at a point where it's very easy to just create a C++ library and use it from any of those languages without change. We're planning on slowly adding more languages as needed/requested. The next on the list are Swift and Kotlin.

    It does not require any change to your existing public interface, but simply reads it and creates the bindings off of that. It should also work on Linux (Debian), MacOS, and Windows (Visual Studio). Here's a small demo if you'd like to test:

    https://github.com/Tolc-Software/tolc-demo

    And here are the repositories with the source code:

    https://github.com/Tolc-Software/tolc - The executable

    https://github.com/Tolc-Software/frontend.py - The python bindings generator

    https://github.com/Tolc-Software/frontend.wasm - The WebAssembly bindings generator

    https://github.com/Tolc-Software/Parser - The C++ parser

    It is dual licensed with AGPL and, if someone wants, a commercial license as well.

    Would be cool if someone finds it useful!

  • frontend.wasm

    Wasm frontend for Tolc

  • Hi everyone!

    Some friends and I were unhappy with how much work it was to use C++ from other languages. We were working in the optimizations industry and often had to prototype with python. Eventually, we created a tool to make it easier for C++ to talk to python (by generating pybind11). Later, javascript via WebAssembly was added as well. It's now at a point where it's very easy to just create a C++ library and use it from any of those languages without change. We're planning on slowly adding more languages as needed/requested. The next on the list are Swift and Kotlin.

    It does not require any change to your existing public interface, but simply reads it and creates the bindings off of that. It should also work on Linux (Debian), MacOS, and Windows (Visual Studio). Here's a small demo if you'd like to test:

    https://github.com/Tolc-Software/tolc-demo

    And here are the repositories with the source code:

    https://github.com/Tolc-Software/tolc - The executable

    https://github.com/Tolc-Software/frontend.py - The python bindings generator

    https://github.com/Tolc-Software/frontend.wasm - The WebAssembly bindings generator

    https://github.com/Tolc-Software/Parser - The C++ parser

    It is dual licensed with AGPL and, if someone wants, a commercial license as well.

    Would be cool if someone finds it useful!

  • Parser

    Parser for C++ to IR (by Tolc-Software)

  • Hi everyone!

    Some friends and I were unhappy with how much work it was to use C++ from other languages. We were working in the optimizations industry and often had to prototype with python. Eventually, we created a tool to make it easier for C++ to talk to python (by generating pybind11). Later, javascript via WebAssembly was added as well. It's now at a point where it's very easy to just create a C++ library and use it from any of those languages without change. We're planning on slowly adding more languages as needed/requested. The next on the list are Swift and Kotlin.

    It does not require any change to your existing public interface, but simply reads it and creates the bindings off of that. It should also work on Linux (Debian), MacOS, and Windows (Visual Studio). Here's a small demo if you'd like to test:

    https://github.com/Tolc-Software/tolc-demo

    And here are the repositories with the source code:

    https://github.com/Tolc-Software/tolc - The executable

    https://github.com/Tolc-Software/frontend.py - The python bindings generator

    https://github.com/Tolc-Software/frontend.wasm - The WebAssembly bindings generator

    https://github.com/Tolc-Software/Parser - The C++ parser

    It is dual licensed with AGPL and, if someone wants, a commercial license as well.

    Would be cool if someone finds it useful!

  • 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.

    WorkOS logo
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