Premium Only Content

Computer recreations: core wars
In this video I show you a Python implementation of a 1984 article by A. K. Dewdney from the "Scientific American" magazine called "In the game called Core War hostile programs engage in a battle of bits".
Using a circular list and implementing at least two of the proposed operations, it's possible to execute basic programs in the Redcode programming language.
The user codes the language mnemonics in the main function of the program which are then translated into "machine code" and stored into the "core memory", i.e.: circular list. The simulator will then execute these instructions.
Links to the article:
- https://www.scientificamerican.com/article/computer-recreations-1984-05/
- https://people.scs.carleton.ca/~soma/biosec/readings/akdewdney/First.htm
Source code:
Wikipedia:
- https://en.wikipedia.org/wiki/Core_War
CHAPTERS
0:00 Intro
0:22 General overview of the article: history, programming language, operations
1:37 Circular array
2:00 Circular list in Python
2:10 Instruction pointer: keeps track of the execution
2:44 The Simulator class
3:11 Structure of the machine code
4:18 Addressing types
5:12 A 3-instruction program replicated from the article
5:55 Check the expected result of the program
6:16 The "Imp" program
6:57 Important methods of the Simulator class: transform human mnemonics to machine code and vice-versa, store and execute operations
8:17 The MOV operation
8:27 Script execution
9:32 Outtro
#computerrecreations #corewars #python
-
LIVE
Midnight In The Mountainsâ„¢
26 minutes agoActive Matter Game Play | Gaming w/ PER·SE·VER·ANCE | with Midnight & Lady
29 watching -
5:08:55
Dr Disrespect
6 hours ago🔴LIVE - DR DISRESPECT - BABY STEPS - THE VERY VERY LAST CHAPTER
99.5K11 -
LIVE
StoneMountain64
5 hours agoBLACK OPS 7 Unlocking Weapons and Overclocks (Mouse and Keyboard Player)
160 watching -
3:59:10
ahdedazs
4 hours ago $1.06 earnedBlack Ops 7 EARLY ACCESS BETA! Second Stream on RUMBLE! *NEW CREATOR*
38.6K1 -
3:24:38
LadyDesireeMusic
4 hours ago $2.26 earnedLive Piano 10-3-25
49.2K2 -
54:08
vivafrei
3 hours agoLive With Dinesh D'Souza-The Dragons Prophecy
62.4K25 -
3:20:13
Barry Cunningham
6 hours agoBREAKING NEWS: KAROLINE LEAVITT HOSTS SURPRISE WHITE HOUSE PRESS CONFERENCE!
73K37 -
12:15
Dr. Nick Zyrowski
4 days agoSTOP Believing These Fasting Lies That Keep You Sick
16.9K2 -
2:01:12
The Culture War with Tim Pool
7 hours agoNigeria's Christian Genocide, Media Ignoring Atrocities | The Culture War Podcast
175K90 -
1:18:30
The Shannon Joy Show
4 hours agoKash Patel Doubles Down On Speech Control Opens The Door For Mass Censorship in America (Sponsored)
28.6K6