Comments (5)
I posted some more details in this discussion: eclipse-iceoryx/iceoryx#1304
from iceoryx-rs.
Exposing &mut [u8] is also nice for compatibility with the bytes::BufMut trait.
For my use case I decided to build a fairly thin rust interface on top of the C bindings and am fairly happy with that approach so far. Happy to compare notes if youβre interested.
from iceoryx-rs.
@neilisaac sorry for the late response. I was quite busy with the iceoryx v2 release.
Good idea. I'll add this to the API.
Did you use the current API? If yes, how does it feel? Would be great to get some feedback.
from iceoryx-rs.
@elBoberido I found the C API fairly easy to use to build RAII abstractions for each entity. I built bindings for all C methods exposed but haven't integrated it with a production codebase (yet). To avoid adding noise to this issue, here's an example use of my rust bindings. I'm happy to chat if you're interested in comparing notes about the two approaches for rust support.
from iceoryx-rs.
@neilisaac would be great. We have a bi-weekly developer meetup which could be used for discussion but we can also do it on gitter or github discussions.
My initial idea was to use the untyped C++ API and then try to replace part of the runtime with native Rust code. Maybe it is more pragmatic to just use the C API and create a nice Rust API around it.
I have to think about the Listener though. It spawns internally a thread and I'm not quite sure if it is easy to create a safe abstraction around this construct.
That said, would be great to get some input and/or code from you.
from iceoryx-rs.
Related Issues (20)
- Rename POD marker to ShmSend
- Use cargo nextest to run tests
- Publish html coverage result from grcov on github pages
- Distribute tests to multiple runners to speed up CI
- Share common files with examples
- Support iceoryx builtin types HOT 1
- Create an untyped API that works on [u8] slices HOT 1
- CI job for cargo publish --dry-run
- Create custom actions for tool build step
- Codecov is broken
- actions-rs are unmaintained
- publish new version crate HOT 2
- Fallible version of `Runtime::init` function HOT 1
- Raw pointer API for publisher and subscriber
- Non-uniform type representation in shared memory data HOT 1
- iox-roudi C++ sdk HOT 2
- Bundle iceoryx C++ sources for offline builds
- Fix all clippy warnings
- Support cross compile for aarch64 HOT 3
- Update links and author information
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iceoryx-rs.