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

Specs Library Availability #218

Open
ferdasonmez opened this issue Apr 1, 2024 · 4 comments
Open

Specs Library Availability #218

ferdasonmez opened this issue Apr 1, 2024 · 4 comments

Comments

@ferdasonmez
Copy link

Hi,
I am having problems in Solana Playground build for my code for the below codes. Can you make these libraries available on Solana Playground please ?

use specs::prelude::*;
use specs::{Component, VecStorage};

Regards,
Ferda

@acheroncrypto
Copy link
Member

The crate's documentation states "This library provides an ECS variant designed for parallel execution and convenient usage". Parallel execution and usage of crossbeam is not really compatible with Solana's programming model, which is single-threaded and deterministic.

@ferdasonmez
Copy link
Author

Hi,
What do you offer for me to solve this problem, I am new to Solana.
Regards,
F.

@acheroncrypto
Copy link
Member

This library is for off-chain usage, so the solution would be to either find a library that's compatible with Solana's program runtime, or write your own logic based on your needs.

@Bolsa-BOMS
Copy link

Bolsa-BOMS commented Apr 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants