Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cpp Interop exercise #157

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

Cpp Interop exercise #157

wants to merge 17 commits into from

Conversation

miguelraz
Copy link
Contributor

@miguelraz miguelraz commented Jan 3, 2025

Goal:

Write a fleshed out exercise that

  • pulls in a header only C++ library
  • calls its C++ functionality from Rust using autocxx with some C++'isms like exceptions and std::string, etc.
  • requires users to crunch a bit of the data using Rust (and comparing to polars)
  • Talk about pitfalls of generating the bindings, build.rs, gcc vs clang include flags, cleanup procedures for non-POD stuff

Status:

Reading the CSV with bindings generated via autocxx is painful and so is navigating said errors. Invoking overloaded constructors for rapidcsv::Document is quite cumbersome.

Copy link

cloudflare-workers-and-pages bot commented Feb 18, 2025

Deploying ferrous-systems-rust-exercises with  Cloudflare Pages  Cloudflare Pages

Latest commit: 916973f
Status: ✅  Deploy successful!
Preview URL: https://e90ca0c6.ferrous-systems-rust-exercises.pages.dev
Branch Preview URL: https://rapidcsv.ferrous-systems-rust-exercises.pages.dev

View logs

@miguelraz miguelraz marked this pull request as ready for review March 6, 2025 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants