asm-dom-cmake
tolc-demo
asm-dom-cmake | tolc-demo | |
---|---|---|
1 | 2 | |
26 | 10 | |
- | - | |
4.3 | 0.0 | |
10 months ago | almost 2 years ago | |
CMake | CMake | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
asm-dom-cmake
-
C++ & Javascript
C++ on web = webassembly, good start is: emscripten or https://github.com/ArthurSonzogni/asm-dom-cmake
tolc-demo
-
A C++ Bindings Compiler
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!
- A bindings compiler for C++
What are some alternatives?
CPM.cmake - 📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.
avendish - declarative polyamorous cross-system intermedia objects
ModernCppStarter - 🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
Fast-Poisson-Image-Editing - A fast poisson image editing implementation that can utilize multi-core CPU or GPU to handle a high-resolution image input.
cmake-examples - Useful CMake Examples
frontend.wasm - Wasm frontend for Tolc
Parser - Parser for C++ to IR
tolc - A bindings compiler for C++
cmake-init - The missing CMake project initializer
frontend.py - Python frontend for Tolc