Skip to content

Rust::com General Optimization and cleanup of RUST-API#276

Merged
castler merged 6 commits intoeclipse-score:mainfrom
bharatGoswami8:com_api_optimization
Apr 22, 2026
Merged

Rust::com General Optimization and cleanup of RUST-API#276
castler merged 6 commits intoeclipse-score:mainfrom
bharatGoswami8:com_api_optimization

Conversation

@bharatGoswami8
Copy link
Copy Markdown
Contributor

@bharatGoswami8 bharatGoswami8 commented Apr 8, 2026

  • cleanup for internal type naming of rust apis
  • Updated init async flag
  • added NonNull type for internal types of consumer and producer

@bharatGoswami8 bharatGoswami8 self-assigned this Apr 8, 2026
@bharatGoswami8 bharatGoswami8 changed the title Rust::com Rust Api optimization Rust::com General Optimization and cleanup of RUST-API Apr 8, 2026
@bharatGoswami8 bharatGoswami8 force-pushed the com_api_optimization branch 3 times, most recently from a8502a3 to 9219844 Compare April 10, 2026 11:14
@bharatGoswami8 bharatGoswami8 marked this pull request as ready for review April 10, 2026 11:15
@bharatGoswami8 bharatGoswami8 force-pushed the com_api_optimization branch 3 times, most recently from 7bd3067 to 6fb410c Compare April 13, 2026 04:21
Copy link
Copy Markdown

@rpreddyhv rpreddyhv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks okay to me.

Comment thread score/mw/com/impl/rust/com-api/com-api-runtime-lola/consumer.rs
Comment thread score/mw/com/impl/rust/com-api/com-api-runtime-lola/consumer.rs Outdated
Comment thread score/mw/com/impl/rust/com-api/com-api-runtime-lola/producer.rs
Comment thread score/mw/com/impl/rust/com-api/com-api-runtime-lola/producer.rs
Comment thread score/mw/com/impl/rust/com-api/com-api-runtime-lola/producer.rs Outdated
@bharatGoswami8 bharatGoswami8 force-pushed the com_api_optimization branch 2 times, most recently from 247b5d1 to c49490e Compare April 14, 2026 11:50
Copy link
Copy Markdown

@arvindr19 arvindr19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LTGM :)

@bharatGoswami8 bharatGoswami8 force-pushed the com_api_optimization branch 2 times, most recently from 373ba6f to 9a91b18 Compare April 21, 2026 03:49
pub skeleton_event: NativeSkeletonEventBase,
pub _data: PhantomData<T>,
pub _skeleton_instance: SkeletonInstanceManager,
_identifier: String,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one doesn't seem to be used. Why is it there?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we are directly passing identifier to FFI call and after that we are not using, removed now.

* Changed init flag from automic to std::once
* Changed NativeSkeletonHandle to NonNull
* Updated Naming for Lola and Mock runtime internal type
* Consumer proxy and event type field updated to NonNull
* Updated receive algo document
@castler castler added this pull request to the merge queue Apr 22, 2026
Merged via the queue into eclipse-score:main with commit c2e39bf Apr 22, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants