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
-
9:22:21
Bitcoin Magazine
2 days agoThe Bitcoin Conference 2025 | Day 2 Livestream
179K26 -
LIVE
Eternal_Spartan
3 hours agoLive - Eternal_Spartan | Doom: The Dark Ages | Come Join the Best Rumble Community There Is!!
246 watching -
9:27:07
Dr Disrespect
14 hours ago🔴LIVE - DR DISRESPECT - BATTLEFRONT 2 - TRIPLE XP MADNESS
146K14 -
1:24:28
Joker Effect
4 hours agoHUGE ANNOUNCEMENT come listen
28.5K3 -
2:02:34
Melonie Mac
5 hours agoGo Boom Live Ep 49!
37.1K12 -
1:23:57
I_Came_With_Fire_Podcast
4 hours agoIn Politics, A Scalpel Finishes What A Hammer Starts
13.3K1 -
9:28:58
Spartan (Pro Halo esports Player)
13 hours agoBack from Dreamhack
25.5K1 -
4:15:16
IcyFPS
5 hours agoSplitgate 2 Tourney Prep 🔥 | EGL 1v1 Showdown Tomorrow!
28.8K2 -
5:43
The Shannon Joy Show
8 hours ago💪 Angry Moms vs. D.C. — They’re Awake & Taking Back Power!
33.8K5 -
1:16:01
FreshandFit
7 hours agoThe Truth About Investing In Gold & Precious Metals w/ Noble Gold
34.1K4