Skip to content

docs(examples): add polyglot-particles pixi-build workspace#5974

Merged
baszalmstra merged 1 commit intoprefix-dev:mainfrom
baszalmstra:polyglot-particles-example
Apr 29, 2026
Merged

docs(examples): add polyglot-particles pixi-build workspace#5974
baszalmstra merged 1 commit intoprefix-dev:mainfrom
baszalmstra:polyglot-particles-example

Conversation

@baszalmstra
Copy link
Copy Markdown
Contributor

@baszalmstra baszalmstra commented Apr 29, 2026

Summary

Adds a new examples/pixi-build/polyglot-particles/ workspace demonstrating six packages across C, C++, Rust, and Python sharing a single fat-pointer C ABI (pc_emitter_t / pc_modifier_t = data + fn pointers).

Two backends working together:

  • pixi-build-cmake for particle_core (C), particle_cpp (C++), particle_cpp_py (pybind11), and particle_view (SDL2 + pybind11)
  • pixi-build-python for particle_rs (maturin + PyO3) and particle_kit (hatchling)

Exercises path-based source deps, host vs. run dep splits, and Python scenes rendered through SDL.

image

@baszalmstra baszalmstra force-pushed the polyglot-particles-example branch from 9e41f31 to 17f294d Compare April 29, 2026 08:32
Six packages across C, C++, Rust, and Python sharing a single fat-pointer
C ABI (pc_emitter_t / pc_modifier_t = data + fn pointers). Demonstrates
two backends working together: pixi-build-cmake for particle_core,
particle_cpp, particle_cpp_py (pybind11), and particle_view (SDL2 +
pybind11); pixi-build-python for particle_rs (maturin + PyO3) and
particle_kit (hatchling). Path-based source deps, host vs run dep splits,
Python scenes rendered through SDL.
@baszalmstra baszalmstra force-pushed the polyglot-particles-example branch from 17f294d to b3219e5 Compare April 29, 2026 08:40
@baszalmstra baszalmstra merged commit 3153e09 into prefix-dev:main Apr 29, 2026
38 checks passed
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