-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
TicTacToe still using built-in programs. Switch over to C based BPF #1548
Comments
@mvines Please add anything I may have missed (especially related to the client side) |
ouch, could we bring in tinyCBOR? https://github.com/intel/tinycbor |
That's the CBOR library I was planning to try, not sure what kind of effect it's going to have on the BPF. Because BPF is contained in a single .o (rather than a linkage of many .o's) We would have to pull it in wholesale to the program source file. I'm thinking a better idea is to export serialize and deserialize from the vm as helper functions. Same way I was thinking we could do libc stuff, signals, etc... |
Seems like we'd want to build on-chain shared objects for that kind of thing, which yeah may mean bpf linking of some fashion. The VM proper shouldn't have an opinion on serialization formats or even libc IMO. |
A run-time lookup of APIs via a VM trap that returns an interface is one way (IQI hehe). Another way would be for the loader to be passed accounts with any dependent libs and to the resolutions |
Fixed |
) Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 1.2.0 to 1.2.4. - [Release notes](https://github.com/solana-labs/solana-web3.js/releases) - [Changelog](https://github.com/solana-labs/solana-web3.js/blob/master/.releaserc.json) - [Commits](solana-labs/solana-web3.js@v1.2.0...v1.2.4) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Most of the fundamental support for BPF based TicTacToe written in BPF are in place. But there are some remaining action items that need to be completed. This issue focuses on getting TicTacToe running end-to-end with BPF. Not to be confused with #1255 which covers a final BPF solution.
The following is the list of remaining steps to connect the dots:
Once this is done the built-in TicTacToe and TicTacToe programs can be removed from the Bank. They can be converted to and retained as dynamic native modules with the intent of building them into rust based BPF modules.
The text was updated successfully, but these errors were encountered: