solana-playground / solana-playground

Quickly develop, deploy and test Solana programs from browsers
https://beta.solpg.io
Apache License 2.0
391 stars 122 forks source link

Specs Library Availability #218

Open ferdasonmez opened 4 weeks ago

ferdasonmez commented 4 weeks ago

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 commented 4 weeks ago

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 commented 4 weeks ago

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

acheroncrypto commented 4 weeks ago

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 commented 3 weeks ago

Ferda boa tarde. Eu não sou analista de sistemas e estou tentando descobrir como o Github funciona ! Assim que descobrir te digo.

⭐Isadora Solon ⭐

Em seg., 1 de abr. de 2024 09:28, Ferda Özdemir Sönmez < @.***> escreveu:

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

— Reply to this email directly, view it on GitHub https://github.com/solana-playground/solana-playground/issues/218, or unsubscribe https://github.com/notifications/unsubscribe-auth/APISOBS3A6JTDDGCMUFXDNTY3FOGHAVCNFSM6AAAAABFRTSFYKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYTQMRVGYYDAMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>