Solana Anchor Build Setup Dockerfile

Posted on Sat 07 December 2024 in tech • Tagged with programming, solana, rust, anchor

Anchor Build on Visual Studio Code

Solana Anchor with Docker ensures a consistent development environment, making it easier to manage dependencies and build processes.

Prerequisites

Make sure you have the following installed on your machine:

Dockerfile

Below is a Dockerfile for setting up the Solana Anchor environment within …


Continue reading

const in rust - 3 essentials

Posted on Fri 29 November 2024 in tech • Tagged with programming, rust

Unlock constants in Rust with these three essential tips! 🚀


Continue reading

Dancing Cells

Posted on Mon 01 January 2024 in tech • Tagged with rust, programming, solidity, evm, blockchain

I found the discussion of "Dancing Cells" in Don Knuth's latest lecture (2023) extremely relevant to blockchain programming.

The reason is this method of memory allocation is very similar to the method required to organize data as a set in Solidity. See here

Here is a example implementation of some …


Continue reading

M1 Mac: Should you enable efficiency cores in Docker?

Posted on Fri 20 January 2023 in tech • Tagged with docker, rust, c++, go, build, apple

Should you enable your efficiency cores for use by Docker on Apple Silicon?

If you enable the efficiency cores there are 2 additional cores for the system scheduler to allocate to your workload. However, if you leave them disabled, these 2 cores will remain in reserve for use by supportive …


Continue reading

building with rust...

Posted on Tue 22 November 2022 in tech • Tagged with Solana, rust, web3, rustc

"Even high-spec machines can run out of memory while compiling parts of the Solana codebase."

🤣