FORTH - Better than BASIC?

NCOT Technology October 16, 2023
Video Thumbnail
NCOT Technology Logo

NCOT Technology

@ncot_tech

About

Welcome! You'll find me writing C or assembly on various old and obsolete systems, letting the magic smoke out of electronics and working on retro computers. All opinions belong to me, or the other voices in my head. Here’s some hashtag soup… #programming #gamedev #linux #retrocomputing #smarthome #homeassistant If you want to find me online, I can be found on Mastodon @[email protected] and on the web at https://ncot.uk

Video Description

Support the channel: https://ko-fi.com/ncot_tech Let's look at FORTH, the obscure stack based programming language that nobody seems to use. Or do they? After getting an Agon Light Z80 computer and discovering it can do things other than run BBC BASIC I went looking at other programs to run on it. I came across Agon-Forth and that got me thinking. What's the point of FORTH, why's it barely used and is it really as awkward and strange as it appears? In this video I set off to find out for myself what FORTH was like. This is not a history video or a programming video, this is a video of an experienced programmer trying to figure this bizarre language out. It uses both stacks and reverse polish notation and requires the programmer to keep track of the state of the stack as they're programming. Not unlike how assembly programmers need to keep track of the registers. I discovered it is indeed much quicker than BASIC, but that it's so awkward to use I can see why it didn't catch on and why computers such as the Jupiter Ace failed. When you've got a choice between slow but readable BASIC and quick but hard to understand FORTH, I can see why people chose BASIC. But that doesn't make it a bad language at all. On slow hardware FORTH is amazingly fast, and to the people who did use it the inconvenience of thinking in stacks and RPN probably wasn't an issue. It seemed popular amongst science and academic computer users who wouldn't have wanted to learn assembly, but would have been quite OK with learning RPN - their scientific calculators already used that style of data entry.

Crafty Phone Stand Essentials

AI-recommended products based on this video

Loading...
Paper Cats Origami Kit, 50pcs DIY 3D Origami Animal Kit for Create Adorable Paper Cats, Creative Craft Activity for Cat Lovers, Fun Home Desk Decor, Christmas Birthday Gift(Cat)

Paper Cats Origami Kit, 50pcs DIY 3D Origami Animal Kit for Create Adorable Paper Cats, Creative Craft Activity for Cat Lovers, Fun Home Desk Decor, Christmas Birthday Gift(Cat)

(3)
$12.99
FREE delivery Fri, Dec 5 on your first order
700+ bought in past month
Loading...
Art Kit, 272 Pack Art Set Drawing Kit for Kids Girls Boys, Deluxe Gift Art Supplies with Trifold Easel, Origami Paper, Coloring Pad, Sketch Pad, Pastels, Crayons, Pencils, Watercolors (Pink)
Best Seller

Art Kit, 272 Pack Art Set Drawing Kit for Kids Girls Boys, Deluxe Gift Art Supplies with Trifold Easel, Origami Paper, Coloring Pad, Sketch Pad, Pastels, Crayons, Pencils, Watercolors (Pink)

(422)
$29.99
FREE delivery Sat, Jun 14 on your first order
200+ bought in past month
Loading...
Sunrad Foil Art Kit for Kids Unicorns & Princesses Arts and Crafts, No Mess Art for Kids, Fun Craft Kits & Supplies, DIY Creative Activities, Travel Toys Gifts for Girls & Boys Ages 4 5 6 7 8 9+

Sunrad Foil Art Kit for Kids Unicorns & Princesses Arts and Crafts, No Mess Art for Kids, Fun Craft Kits & Supplies, DIY Creative Activities, Travel Toys Gifts for Girls & Boys Ages 4 5 6 7 8 9+

(162)
$23.99$19.72
FREE delivery Sat, Jun 14 on your first order
100+ bought in past month
Loading...
HQCME 9 Pack Lined Sticky Notes, 4X6 in, 9 Pastel Colors Large Ruled Stickies Colorful Super Sticking Power Memo Pads Strong Adhesive, Sticky Notes with Lines for Home, Office

HQCME 9 Pack Lined Sticky Notes, 4X6 in, 9 Pastel Colors Large Ruled Stickies Colorful Super Sticking Power Memo Pads Strong Adhesive, Sticky Notes with Lines for Home, Office

(1,909)
$10.99
FREE delivery Sat, Jun 14 on your first order
1K+ bought in past month
Loading...
Gorilla Tape To-Go, Double Thick Adhesive, Weather Resistant Shell, Reinforced Backing, Travel Size Roll, Black, 1in x 30ft (2.5cm x 9.14m) Pack of 1 - 6101001

Gorilla Tape To-Go, Double Thick Adhesive, Weather Resistant Shell, Reinforced Backing, Travel Size Roll, Black, 1in x 30ft (2.5cm x 9.14m) Pack of 1 - 6101001

(2,125)
$5.77
FREE delivery Sat, Jun 14 on your first order
1K+ bought in past month
Loading...
BIBURY Multitool Pliers BI2038B, 22-in-1 Stainless Steel Multi Tool with Flint, Window Breaker, Scissors, Back Clip, Folding Pocket Multifunctional Self-locking EDC Tool for Survival Camping Hiking

BIBURY Multitool Pliers BI2038B, 22-in-1 Stainless Steel Multi Tool with Flint, Window Breaker, Scissors, Back Clip, Folding Pocket Multifunctional Self-locking EDC Tool for Survival Camping Hiking

(1,240)
$55.99
FREE delivery Thu, Jun 19
Loading...
Victorinox Huntsman Swiss Army Knife, 15 Functions, Swiss Made Pocket Knife with Large Blade, Screwdriver, Scissors and Wood Saw - White

Victorinox Huntsman Swiss Army Knife, 15 Functions, Swiss Made Pocket Knife with Large Blade, Screwdriver, Scissors and Wood Saw - White

(645)
$66.99
$7.09 delivery Jul 8 - 29
Loading...
RoverTac Multitool Pocket Knife Tactical Camping Survival Knife Gifts for Men Dad Husband 18 in 1 Multi Tool Knife Pliers Scissors Saw Corkscrew 9-Pack Screwdrivers with Safety Lock and Nylon Sheath

RoverTac Multitool Pocket Knife Tactical Camping Survival Knife Gifts for Men Dad Husband 18 in 1 Multi Tool Knife Pliers Scissors Saw Corkscrew 9-Pack Screwdrivers with Safety Lock and Nylon Sheath

(1,514)
$32.39
FREE delivery Thu, Jun 19 on your first order
200+ bought in past month
Loading...
5.0 Upgraded Magnifying Glass Hand Free【12X German Ultra-HD Lens】【Cloud Sponge Neck Protection】 3 Smart Mode Light, All-Purpose Magnifying for Reading, Cross Stitch, Craft Seniors Use (Black)

5.0 Upgraded Magnifying Glass Hand Free【12X German Ultra-HD Lens】【Cloud Sponge Neck Protection】 3 Smart Mode Light, All-Purpose Magnifying for Reading, Cross Stitch, Craft Seniors Use (Black)

(3)
$45.99
FREE delivery Tue, Dec 30
Loading...
LEGO Speed Champions Oracle Red Bull Racing RB20 F1 Race Car Model Kits - Building Set for Adults, Ages 18+ with Realistic Features - Red Bull F1 DIY Crafts for Display - Gift Idea for F1 Fans - 77243

LEGO Speed Champions Oracle Red Bull Racing RB20 F1 Race Car Model Kits - Building Set for Adults, Ages 18+ with Realistic Features - Red Bull F1 DIY Crafts for Display - Gift Idea for F1 Fans - 77243

(353)
$29.98$29.53
FREE delivery Sat, Jun 14 on your first order
1K+ bought in past month
Loading...
Christmas Wrapping Paper Sheets 67 Number Santa Hat Print White Gift Wrap for Presents DIY Crafts Three Sizes 18 x 20 30 x 20 30 x 70 Inch (A, 30X70inch)

Christmas Wrapping Paper Sheets 67 Number Santa Hat Print White Gift Wrap for Presents DIY Crafts Three Sizes 18 x 20 30 x 20 30 x 70 Inch (A, 30X70inch)

(4)
$12.49
$1.99 delivery Nov 20 - 24
Loading...
Sunrad Sewing Kit for Kids Beginner Arts and Crafts, Make 9 Easy DIY Projects, Unicorn & Animal Felt Craft Educational Toys Learn to Sew, Birthday Gifts for Girls Kids Age 6-8-10-12+

Sunrad Sewing Kit for Kids Beginner Arts and Crafts, Make 9 Easy DIY Projects, Unicorn & Animal Felt Craft Educational Toys Learn to Sew, Birthday Gifts for Girls Kids Age 6-8-10-12+

(170)
$19.99
FREE delivery Sat, Jun 14 on your first order
200+ bought in past month
Loading...
Purple Ladybug Decorate Your Own Water Bottle for Kids Craft Kits - DIY Unicorn Girls Gifts 8-12 Years Old, Arts and Crafts for Girls Age 8-10 - Fun Travel Activities for Kids

Purple Ladybug Decorate Your Own Water Bottle for Kids Craft Kits - DIY Unicorn Girls Gifts 8-12 Years Old, Arts and Crafts for Girls Age 8-10 - Fun Travel Activities for Kids

(31,188)
$15.99
FREE delivery Sat, Jun 14 on your first order
50+ bought in past month
Loading...
GOOFCXO 4 Step Folding Ladder Chair, 3-in-1 Wood Ladder Stool, Multi-Functional Portable Step Stool Display Stand for Home Kitchen Office Library, 265lbs Load Capacity, 34.3" H x 13.4" L x 15.2" W

GOOFCXO 4 Step Folding Ladder Chair, 3-in-1 Wood Ladder Stool, Multi-Functional Portable Step Stool Display Stand for Home Kitchen Office Library, 265lbs Load Capacity, 34.3" H x 13.4" L x 15.2" W

(0)
$118.26
FREE delivery Sat, Jun 28
Loading...
OCKYOOZ 4 Tier Folding Ladder Chair, 3-in-1 Solid Wood Step Ladder, Foldable Ladder Stool Shelf, Protable 4-Step Library Ladder, Multi-Functional Display Stand for Home Office (Size:14"L*18"D*35.4"H)

OCKYOOZ 4 Tier Folding Ladder Chair, 3-in-1 Solid Wood Step Ladder, Foldable Ladder Stool Shelf, Protable 4-Step Library Ladder, Multi-Functional Display Stand for Home Office (Size:14"L*18"D*35.4"H)

(3)
$119.99
FREE delivery Sat, Jun 28
Loading...
GLEAM Guitar Stand - Adjustable Fit Electric, Classical Guitars and Bass, Load Capacity 20LB, Accessories, Folding Type Black (CG-4)
Best Seller

GLEAM Guitar Stand - Adjustable Fit Electric, Classical Guitars and Bass, Load Capacity 20LB, Accessories, Folding Type Black (CG-4)

(21,173)
$18.99
FREE delivery Sat, Jun 14 on your first order
1K+ bought in past month
Loading...
STAEDTLER pencil sharpener, premium quality sharpener with screw-on lid, prevents accidental openings, compact size for pencil case and work-station, 511 63BK (Pack of 1) , Assorted colors.

STAEDTLER pencil sharpener, premium quality sharpener with screw-on lid, prevents accidental openings, compact size for pencil case and work-station, 511 63BK (Pack of 1) , Assorted colors.

(35,292)
$4.29
FREE delivery Mon, Sep 15 on your first order
8K+ bought in past month
Loading...
Amazon Basics Hanging Organizer File Folders - Letter Size, Assorted Colors, 25-Pack
Best Seller

Amazon Basics Hanging Organizer File Folders - Letter Size, Assorted Colors, 25-Pack

(42,823)
$18.67
FREE delivery Sat, Jun 14 on your first order
1K+ bought in past month
Loading...
Amazon Basics Low-Odor Chisel Tip Dry Erase Office and Home Whiteboard Marker, Pack of 12, Assorted Colors

Amazon Basics Low-Odor Chisel Tip Dry Erase Office and Home Whiteboard Marker, Pack of 12, Assorted Colors

(31,569)
$4.49
FREE delivery Mon, Sep 15 on your first order
5K+ bought in past month
Loading...
Mibly [125 Count] 6 Inch Jumbo Multipurpose wooden Popsicle sticks, Wood Craft Supplies, Lollipop Lolly Sticks, Wooden Tongue Depressor, Wax Sticks for Waxing, Ice Cream Sticks

Mibly [125 Count] 6 Inch Jumbo Multipurpose wooden Popsicle sticks, Wood Craft Supplies, Lollipop Lolly Sticks, Wooden Tongue Depressor, Wax Sticks for Waxing, Ice Cream Sticks

(110)
$6.29
FREE delivery Thu, Sep 11 on your first order
800+ bought in past month