Jump to content

Talk:Swap (computer programming)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 62.165.255.251 (talk) at 08:04, 15 March 2018 (Section about cache: reword particular -> special). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing: Software Start‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software (assessed as Mid-importance).
Taskforce icon
This article is supported by Computer hardware task force (assessed as Mid-importance).

Swap

I guess this term comes from C++ and their standard library, but is there better refs than C++ documentation?

Problem is that C++ library swap used without strict definition (AFAIK), but I can be wrong. Ushkin N (talk) 07:01, 28 May 2016 (UTC)[reply]

Section about cache

Was introduced in 1. Right now Cache (computing) doesn't mention "swap" or Swap (Computer programming).

I don't remember that "swap function" in any serious publications and literature about CPU/Cache. Both partial and theoretical.

If you prove me wrong with link WP:V, I would happy to read this gem. Ushkin N (talk) 07:08, 28 May 2016 (UTC)[reply]

@Ushkin N: There's nothing about cache in the article (as of now), but there is a "See also" to CPU Cache at the top of Sec. 1. I'd rather it be removed. Swapping really doesn't have any special implications on cache behaviour, or vice versa. Whether the temporary is in a visible CPU register, hidden inside the ALU, in a cache, in main memory or sent on a world-wide cruise is entirely irrelevant to the algorithm. 62.165.255.251 (talk) 07:59, 15 March 2018 (UTC)[reply]