SiamCafe.net Blog
Technology

ประวตคอมพวเตอร จากลกคดส AI และ Quantum Computing

ประวต คอมพวเตอร
ประวัติคอมพิวเตอร์ | SiamCafe Blog
2026-02-23· อ. บอม — SiamCafe.net· 1,464 คำ

??????????????????????????????????????????????????????????????????

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ?????????????????? (Abacus) ???????????????????????????????????? 5,000 ?????? ????????????????????????????????????????????????????????????????????????????????????????????? ???????????? 1642 Blaise Pascal ??????????????? Pascaline ?????????????????????????????????????????????????????????????????????????????????????????? ??????????????? 1673 Gottfried Leibniz ??????????????? Stepped Reckoner ????????????????????????????????????????????????

Charles Babbage ????????????????????????????????????????????????????????? "?????????????????????????????????????????????????????????" ?????????????????? Difference Engine (1822) ???????????????????????????????????????????????? logarithm ????????? Analytical Engine (1837) ?????????????????????????????????????????? CPU, memory, input/output ??????????????????????????????????????????????????????????????????????????? Ada Lovelace ??????????????? algorithm ?????????????????? Analytical Engine ????????????????????? programmer ?????????????????????????????????

Alan Turing ???????????????????????????????????? Turing Machine (1936) ????????????????????????????????????????????????????????????????????? ????????????????????????????????????????????? Bombe (1940) ????????????????????? Enigma ??????????????????????????????????????????????????????????????????????????????????????? 2 ENIAC (1945) ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? programmable ????????? ???????????? 30 ????????? ????????????????????????????????????????????? 18,000 ????????????

????????????????????????????????????????????????????????????

????????????????????????????????????????????????????????? 5 ????????? (generations)

# === Computer Generations Timeline ===

cat > computer_generations.yaml << 'EOF'
computer_generations:
 generation_1:
 period: "1940-1956"
 technology: "Vacuum Tubes (????????????????????????????????????)"
 examples:
 - name: "ENIAC (1945)"
 specs: "18,000 vacuum tubes, 30 tons, 150kW power"
 speed: "5,000 additions/second"
 - name: "UNIVAC I (1951)"
 specs: "First commercial computer"
 use: "US Census Bureau"
 - name: "IBM 701 (1952)"
 specs: "IBM's first commercial scientific computer"
 characteristics:
 - "????????????????????????????????? ?????????????????????????????????????????????"
 - "????????????????????? ??????????????????????????????????????????????????????????????????"
 - "????????????????????????????????? machine language"
 - "????????? punch cards ?????????????????? input"
 - "???????????????????????? ????????????????????????????????????????????????????????????"

 generation_2:
 period: "1956-1963"
 technology: "Transistors (????????????????????????????????????)"
 examples:
 - name: "IBM 7090 (1959)"
 improvement: "???????????????????????? Gen 1 ????????? 100 ????????????"
 - name: "PDP-1 (1960)"
 note: "First minicomputer, ????????? Spacewar! ????????????????????????"
 characteristics:
 - "???????????????????????? Gen 1 ?????????"
 - "?????????????????????????????????????????????????????? ????????????????????????????????????"
 - "??????????????????????????????????????????????????????"
 - "???????????????????????? Assembly language"
 - "????????? magnetic tape storage"

 generation_3:
 period: "1963-1971"
 technology: "Integrated Circuits (IC/?????????????????????)"
 examples:
 - name: "IBM System/360 (1964)"
 impact: "??????????????????????????????????????????????????? mainframe"
 - name: "PDP-8 (1965)"
 price: "$18,000 (??????????????????????????????????????????????????????)"
 characteristics:
 - "??????????????????????????? ???????????????????????????"
 - "???????????????????????? operating systems"
 - "High-level languages (COBOL, FORTRAN)"
 - "Multiprogramming ????????????????????????"

 generation_4:
 period: "1971-????????????????????????"
 technology: "Microprocessors (????????????????????????????????????????????????)"
 examples:
 - name: "Intel 4004 (1971)"
 note: "First microprocessor, 2,300 transistors"
 - name: "Apple II (1977)"
 note: "Personal computer ?????????????????????"
 - name: "IBM PC (1981)"
 note: "????????????????????? PC ????????????????????????????????????????????????"
 characteristics:
 - "Personal Computer ????????????????????????"
 - "GUI (Graphical User Interface)"
 - "Internet ????????? World Wide Web"
 - "Mobile computing (smartphones)"

 generation_5:
 period: "????????????????????????-???????????????"
 technology: "AI, Quantum Computing, Neural Networks"
 examples:
 - "ChatGPT, Google Gemini (AI)"
 - "IBM Quantum, Google Sycamore"
 - "Neuromorphic chips (Intel Loihi)"
 characteristics:
 - "Artificial Intelligence"
 - "Machine Learning / Deep Learning"
 - "Quantum Computing"
 - "Natural Language Processing"
EOF

echo "Computer generations defined"

???????????????????????????????????????????????????????????????????????????????????? Python

??????????????? Von Neumann Architecture

#!/usr/bin/env python3
# von_neumann_sim.py ??? Simple Von Neumann Computer Simulator
import logging
from typing import Dict, List

logging.basicConfig(level=logging.INFO)
logger = logging.getLogger("cpu")

class VonNeumannComputer:
 """Simple Von Neumann Architecture Simulator"""
 
 def __init__(self, memory_size=256):
 # Components
 self.memory = [0] * memory_size # RAM
 self.registers = { # CPU Registers
 "ACC": 0, # Accumulator
 "PC": 0, # Program Counter
 "IR": 0, # Instruction Register
 "MAR": 0, # Memory Address Register
 "MDR": 0, # Memory Data Register
 }
 self.halted = False
 self.clock_cycles = 0
 
 # Instruction Set
 self.opcodes = {
 1: "LOAD", # Load memory to ACC
 2: "STORE", # Store ACC to memory
 3: "ADD", # Add memory to ACC
 4: "SUB", # Subtract memory from ACC
 5: "MUL", # Multiply ACC by memory
 6: "JMP", # Jump to address
 7: "JZ", # Jump if ACC is zero
 8: "HALT", # Stop execution
 9: "PRINT", # Output ACC value
 }
 
 def load_program(self, program):
 """Load program into memory"""
 for i, instruction in enumerate(program):
 self.memory[i] = instruction
 logger.info(f"Loaded {len(program)} instructions")
 
 def fetch(self):
 """Fetch instruction from memory"""
 self.registers["MAR"] = self.registers["PC"]
 self.registers["MDR"] = self.memory[self.registers["MAR"]]
 self.registers["IR"] = self.registers["MDR"]
 self.registers["PC"] += 1
 
 def decode_execute(self):
 """Decode and execute instruction"""
 instruction = self.registers["IR"]
 opcode = instruction // 100
 operand = instruction % 100
 
 op_name = self.opcodes.get(opcode, "UNKNOWN")
 
 if opcode == 1: # LOAD
 self.registers["ACC"] = self.memory[operand]
 elif opcode == 2: # STORE
 self.memory[operand] = self.registers["ACC"]
 elif opcode == 3: # ADD
 self.registers["ACC"] += self.memory[operand]
 elif opcode == 4: # SUB
 self.registers["ACC"] -= self.memory[operand]
 elif opcode == 5: # MUL
 self.registers["ACC"] *= self.memory[operand]
 elif opcode == 6: # JMP
 self.registers["PC"] = operand
 elif opcode == 7: # JZ
 if self.registers["ACC"] == 0:
 self.registers["PC"] = operand
 elif opcode == 8: # HALT
 self.halted = True
 elif opcode == 9: # PRINT
 print(f" Output: {self.registers['ACC']}")
 
 self.clock_cycles += 1
 return op_name, operand
 
 def run(self):
 """Run program until HALT"""
 print("=== Von Neumann Computer ===")
 while not self.halted and self.clock_cycles < 1000:
 self.fetch()
 op_name, operand = self.decode_execute()
 logger.debug(f"Cycle {self.clock_cycles}: {op_name} {operand} | ACC={self.registers['ACC']}")
 
 print(f"Halted after {self.clock_cycles} cycles")
 print(f"ACC={self.registers['ACC']}, PC={self.registers['PC']}")

# Example: Calculate 5 + 3 * 2
computer = VonNeumannComputer()

# Program: Load 3, Mul 2, Add 5, Print, Halt
# Data at addresses 50-52
program = [
 150, # 0: LOAD [50] (load 3)
 552, # 1: MUL [52] (multiply by 2 = 6)
 351, # 2: ADD [51] (add 5 = 11)
 900, # 3: PRINT
 800, # 4: HALT
]

# Store data
computer.load_program(program)
computer.memory[50] = 3 # Value: 3
computer.memory[51] = 5 # Value: 5
computer.memory[52] = 2 # Value: 2

computer.run()

??????????????????????????????????????????????????????????????????

????????????????????????????????????????????????????????????????????????????????????

#!/usr/bin/env python3
# modern_computers.py ??? Modern Computer Technology
import json
import logging
from typing import Dict, List

logging.basicConfig(level=logging.INFO)
logger = logging.getLogger("modern")

class ModernComputerTech:
 def __init__(self):
 pass
 
 def processor_evolution(self):
 return {
 "moores_law": {
 "description": "??????????????? transistors ??????????????????????????? 2 ????????????????????? 2 ??????",
 "milestones": {
 "Intel 4004 (1971)": "2,300 transistors",
 "Intel 386 (1985)": "275,000 transistors",
 "Pentium (1993)": "3.1 million transistors",
 "Core 2 (2006)": "291 million transistors",
 "Apple M1 (2020)": "16 billion transistors",
 "Apple M4 (2024)": "28 billion transistors",
 "NVIDIA H100 (2022)": "80 billion transistors",
 },
 "status": "?????????????????????????????????????????????????????????????????? ????????? 3nm process node",
 },
 "current_architectures": {
 "x86_64": "Intel/AMD ??? PC, Server, Data center",
 "ARM": "Apple M-series, Qualcomm, Smartphones, AWS Graviton",
 "RISC_V": "Open-source ISA, ?????????????????????????????????",
 "GPU": "NVIDIA CUDA, AI/ML workloads",
 },
 "process_nodes": {
 "5nm": "Apple M2, AMD Zen 4 (2022)",
 "4nm": "Qualcomm Snapdragon 8 Gen 3 (2023)",
 "3nm": "Apple M3/M4, TSMC N3 (2023-2024)",
 "2nm": "Coming 2025 (TSMC, Samsung, Intel)",
 "note": "?????????????????? = ???????????????????????? + ????????????????????????????????????????????????",
 },
 }
 
 def storage_evolution(self):
 return {
 "punch_cards": {"year": "1950s", "capacity": "80 bytes/card"},
 "floppy_disk": {"year": "1970s", "capacity": "1.44 MB"},
 "hard_disk": {"year": "1980s-now", "capacity": "20+ TB"},
 "cd_rom": {"year": "1990s", "capacity": "700 MB"},
 "usb_flash": {"year": "2000s", "capacity": "2 TB"},
 "ssd": {"year": "2010s-now", "capacity": "8+ TB, 7,000 MB/s"},
 "nvme": {"year": "2020s", "capacity": "PCIe 5.0, 14,000 MB/s"},
 "cloud": {"year": "2010s-now", "capacity": "Unlimited (pay per use)"},
 }

tech = ModernComputerTech()
proc = tech.processor_evolution()
print("Processor Evolution (Moore's Law):")
for chip, transistors in proc["moores_law"]["milestones"].items():
 print(f" {chip}: {transistors}")

storage = tech.storage_evolution()
print("\nStorage Evolution:")
for media, info in storage.items():
 print(f" {media} ({info['year']}): {info['capacity']}")

?????????????????????????????????????????????????????????

??????????????????????????????????????????

# === Future Computer Technologies ===

cat > future_tech.json << 'EOF'
{
 "future_technologies": {
 "quantum_computing": {
 "description": "????????? quantum bits (qubits) ????????? classical bits",
 "advantage": "?????????????????????????????????????????????????????????????????????????????????????????????????????? (optimization, cryptography, simulation)",
 "current_state": "IBM 1,121 qubits (Condor), Google 70 qubits (Sycamore)",
 "timeline": "Practical quantum advantage: 2030-2035",
 "companies": ["IBM", "Google", "Microsoft", "IonQ", "Rigetti"]
 },
 "neuromorphic_computing": {
 "description": "????????????????????????????????????????????????????????????????????????",
 "advantage": "??????????????????????????????????????????????????? ????????????????????????????????? AI at edge",
 "examples": ["Intel Loihi 2", "IBM TrueNorth"],
 "use_cases": "Robotics, IoT, Real-time AI"
 },
 "dna_computing": {
 "description": "????????? DNA molecules ???????????????????????????????????????????????????????????????",
 "advantage": "??????????????????????????????????????????????????? 1 gram DNA = 215 PB data",
 "timeline": "Research stage, 10-20 years"
 },
 "photonic_computing": {
 "description": "?????????????????? (photons) ????????????????????????",
 "advantage": "????????????????????? ??????????????????????????????????????????",
 "companies": ["Lightmatter", "Luminous Computing"],
 "timeline": "Early commercial: 2025-2030"
 },
 "ai_accelerators": {
 "description": "??????????????????????????????????????????????????? AI/ML",
 "examples": {
 "NVIDIA H100/B200": "Training large models",
 "Google TPU v5": "TensorFlow optimization",
 "Apple Neural Engine": "On-device AI",
 "Groq LPU": "Ultra-fast inference"
 }
 }
 }
}
EOF

python3 -c "
import json
with open('future_tech.json') as f:
 data = json.load(f)
print('Future Computer Technologies:')
for name, info in data['future_technologies'].items():
 print(f'\n {name}:')
 print(f' {info[\"description\"]}')
 print(f' Advantage: {info[\"advantage\"]}')
 if 'timeline' in info:
 print(f' Timeline: {info[\"timeline\"]}')
"

echo "Future technologies defined"

Timeline ???????????????

??????????????????????????????????????????????????????????????????????????????????????????????????????

#!/usr/bin/env python3
# timeline.py ??? Computer History Timeline
import json
import logging
from typing import Dict, List

logging.basicConfig(level=logging.INFO)
logger = logging.getLogger("timeline")

class ComputerTimeline:
 def __init__(self):
 pass
 
 def major_events(self):
 return [
 {"year": 1837, "event": "Charles Babbage ?????????????????? Analytical Engine"},
 {"year": 1843, "event": "Ada Lovelace ??????????????? algorithm ???????????????????????????"},
 {"year": 1936, "event": "Alan Turing ?????????????????? Turing Machine"},
 {"year": 1945, "event": "ENIAC ?????????????????????????????????????????????????????????????????????????????????????????????????????????"},
 {"year": 1947, "event": "Bell Labs ???????????????????????? Transistor"},
 {"year": 1958, "event": "Jack Kilby ??????????????? Integrated Circuit ?????????"},
 {"year": 1969, "event": "ARPANET (??????????????????????????? Internet) ??????????????????????????????"},
 {"year": 1971, "event": "Intel 4004 microprocessor ??????????????????"},
 {"year": 1975, "event": "Microsoft ?????????????????????????????? Bill Gates ????????? Paul Allen"},
 {"year": 1976, "event": "Apple Computer ?????????????????????????????? Steve Jobs ????????? Steve Wozniak"},
 {"year": 1981, "event": "IBM PC ????????????????????? ???????????????????????????????????? PC"},
 {"year": 1983, "event": "TCP/IP ????????????????????????????????????????????? Internet"},
 {"year": 1989, "event": "Tim Berners-Lee ???????????????????????? World Wide Web"},
 {"year": 1991, "event": "Linux kernel ?????????????????????????????????????????? Linus Torvalds"},
 {"year": 1993, "event": "Mosaic browser ???????????????????????? web browsing"},
 {"year": 1998, "event": "Google ?????????????????????"},
 {"year": 2007, "event": "iPhone ?????????????????????????????? smartphone"},
 {"year": 2012, "event": "AlexNet ????????????????????? Deep Learning"},
 {"year": 2016, "event": "AlphaGo ????????? Lee Sedol ????????????????????????"},
 {"year": 2020, "event": "Apple M1 chip ????????????????????? ARM desktop"},
 {"year": 2022, "event": "ChatGPT ????????????????????? AI revolution"},
 {"year": 2024, "event": "AI agents, Multimodal LLMs"},
 ]

timeline = ComputerTimeline()
events = timeline.major_events()
print("Computer History Timeline:")
for e in events:
 print(f" {e['year']}: {e['event']}")

FAQ ??????????????????????????????????????????

Q: ???????????????????????????????????????????????????????????????????????????????

A: ?????????????????????????????????????????????????????????????????????????????? Charles Babbage (1791-1871) ????????????????????????????????????????????????????????? "Father of the Computer" ????????????????????????????????? Analytical Engine ??????????????? concepts ?????????????????????????????????????????????????????????????????? (CPU, memory, I/O) ????????????????????????????????????????????????????????? Alan Turing (1912-1954) ????????????????????????????????????????????????????????? "Father of Computer Science" ???????????????????????? Turing Machine ??????????????????????????????????????? Enigma John von Neumann (1903-1957) ?????????????????? Von Neumann Architecture ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? (stored-program concept)

Q: ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

A: ????????????????????? definition Mechanical ??????????????????????????????????????????????????????????????? ????????? Z1 ????????? Konrad Zuse (1938) ????????????????????? ???????????? programmable binary computer ????????????????????? Electronic ??????????????????????????????????????????????????????????????? ?????????????????????????????????????????? Colossus (1943) ?????????????????? ??????????????????????????????????????? ?????????????????? general-purpose, ENIAC (1945) ??????????????? general-purpose electronic computer ?????????????????????????????? Stored-program ?????????????????????????????? ????????? Manchester Baby (1948) ?????????????????? ????????? program ????????? memory ?????????????????????????????? Commercial ?????????????????????????????? ????????? UNIVAC I (1951) ??????????????? ?????????????????? US Census Bureau

Q: Moore's Law ?????????????????????????????????????????????????

A: Moore's Law (??????????????? transistors ??????????????? 2x ????????? 2 ??????) ?????????????????????????????????????????????????????????????????? ???????????????????????? TSMC, Samsung, Intel ?????????????????????????????????????????????????????????????????????????????? (3nm, ????????????????????? 2nm, 1.4nm) ????????? physics ???????????????????????????????????????????????? (quantum tunneling ????????? scale ?????????????????????) ?????????????????? Chiplet design (????????????????????? die ?????? package ???????????????), 3D stacking (???????????????????????????????????????), New materials (Carbon nanotubes, Graphene), New architectures (Quantum, Neuromorphic, Photonic) ????????? Moore's Law ?????????????????? ????????? performance ????????????????????????????????????????????? architecture improvements, specialized accelerators (GPU, TPU, NPU) ????????? software optimization

Q: Quantum Computer ????????????????????? Computer ??????????????????????

A: ????????? Quantum Computer ????????????????????????????????? Classical Computer ???????????????????????? Quantum Computer ????????????????????????????????????????????????????????????????????? Optimization (???????????????????????????????????????????????????????????????), Cryptography (????????????????????? RSA), Simulation (???????????????????????????????????? ?????? ???????????????), Machine Learning (quantum speedup ????????? algorithms) ?????????????????????????????????????????? ??????????????????????????? (word processing, web browsing, gaming), Sequential computation, Storage and retrieval ??????????????? Classical + Quantum hybrid ????????? classical computer ???????????????????????? ????????? specific problems ??????????????? quantum computer ????????? ?????????????????? GPU ???????????????????????? CPU ????????????????????????????????????

📖 บทความที่เกี่ยวข้อง

ck cheong ประวัติครอบครัวอ่านบทความ → พรบคอมพิวเตอร์อ่านบทความ → อุปกรณ์คอมพิวเตอร์อ่านบทความ → เรื่องคอมพิวเตอร์อ่านบทความ → ครุภัณฑ์คอมพิวเตอร์อ่านบทความ →

📚 ดูบทความทั้งหมด →