Introduction to Forth Language Programming Tutorial using Bitcoin

Описание к видео Introduction to Forth Language Programming Tutorial using Bitcoin

an introduction tutorial to the FORTH programming language and why it's important. If you truly want to understand stack machines, webassembly, bitcoin, blockchain or smart contracts then you really need to learn forth programming.

although the forth language is an old programming language, it will truly help you understand stack machines, stack programming and fundamental computer science concepts. it even helps you understand how modern concepts such as bitcoin and smart contracts work. Bitcoin Script which is the smart contract language that powers the bitcoin blockchain is completely built upon on the forth language. Satoshi Nakamoto was no doubt a forth programmer with a forth programming background.

In this video, chris gives you and introduction to forth using gforth and shows you how quickly is to get started with the language. we look at arithmetic, stack operations, words and give you enough of an introduction to the language itself.

We then compare the forth language to bitcoin script by looking at the source code of the current version and 0.5.0 release of bitcoin written by satoshi nakamoto, getting into the mind of the creator and theorizing on satoshi nakamoto's background based on actual code.

We finally look at how close gforth is to assembly by looking at an old forth interpreters source code and looking at how close the language is to asssembly

00:00 - why forth language is important
01:45 - installing gforth
02:18 - getting started with forth programming with gforth
02:35 - introduction to stack machines
03:00 - programming stacks with forth
06:08 - performing arithmetic with forth using postfix
12:08 - stack operations (dup, drop, rot, over, nip, swap)
20:48 - explaining stack diagrams
23:08 - words or functions with forth
27:53 - comparing bitcoin script to forth
32:21 - 2drop, 2dup, 2swap etc
34:39 - satoshi nakamoto was a forth programmer
36:31 - bitcoin script commands that were disabled
37:32 - comparing forth to assembly by dissecting eforth source code
39:15 - forth extends itself
40:35 - conclusion

Комментарии

Информация по комментариям в разработке