Algorithms and architecture