Building a Virtual Machine [4/29]: Basic numbers: introduction to Stack

  Рет қаралды 4,065

Dmitry Soshnikov

Dmitry Soshnikov

Күн бұрын

Пікірлер: 10
@louisthibault555
@louisthibault555 3 жыл бұрын
This series is fantastic. Thank you!
@andychristiansson1444
@andychristiansson1444 5 ай бұрын
Great series! Just one thing in this episode; you never initialize sp. Adding the line ```sp = &stack[0];``` to the top of the exec() function in EvaVM.h fixes the issue. Thanks for making these! :)
@andychristiansson1444
@andychristiansson1444 5 ай бұрын
(nine minutes later) Ah, and it was the first thing you did in the following episode. Very well! :D
@DmitrySoshnikov-education
@DmitrySoshnikov-education 5 ай бұрын
Thanks for the feedback, and glad the courses are useful! yes, typos sometimes happen in the coding sessions, so we do live-debugging and update as we go - that's why it's building from scratch :)
@robertpalovsky9106
@robertpalovsky9106 3 жыл бұрын
Thanks, Dmitry! A question: could you probably check for stack overflow also as `if (sp == stack.end()) {...}`? Great lecture as usually.
@DmitrySoshnikov-education
@DmitrySoshnikov-education 3 жыл бұрын
Thanks for the feedback! Yes, checking for the stack.end() would work too, I wanted to explicitly use STACK_LIMIT to underlying the actual limit, after which we get the stack overflow. However, yes, the stack.end() is even simpler.
@louisthibault555
@louisthibault555 3 жыл бұрын
Dmitry, I just checked your Teachable page, but I don't see this particular course. Are you planning on releasing it all on KZbin ... or am I looking in the wrong place? Thanks!
@DmitrySoshnikov-education
@DmitrySoshnikov-education 3 жыл бұрын
Louis - thanks for the interest. Yes, this course should be coming soon. ETA is December 2021.
@DmitrySoshnikov-education
@DmitrySoshnikov-education 2 жыл бұрын
⭐ *Enroll:* dmitrysoshnikov.com/courses/virtual-machine/ 📚 *Udemy:* www.udemy.com/course/virtual-machine/?referralCode=31F36F8B92A8129A16F7 👉 *DS Education:* www.dmitrysoshnikov.education/p/virtual-machine
Building a Virtual Machine [5/29]: Math binary operations
7:08
Dmitry Soshnikov
Рет қаралды 4,5 М.
The Return of Procedural Programming - Richard Feldman
52:53
ChariotSolutions
Рет қаралды 61 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 415 М.
Building a Virtual Machine for Programming Language [1/29]: VM pipeline
19:23
Netflix Removed React?
20:36
Theo - t3․gg
Рет қаралды 74 М.
wtf is “the stack” ?
8:03
Low Level
Рет қаралды 121 М.
Building a Virtual Machine [3/29]: Logger implementation
4:01
Dmitry Soshnikov
Рет қаралды 4,5 М.
WHY IS THE STACK SO FAST?
13:46
Core Dumped
Рет қаралды 189 М.
Every Programming Language Ever Explained in 15 Minutes
15:29
Flash Bytes
Рет қаралды 367 М.
Constructors Are Broken
18:16
Logan Smith
Рет қаралды 117 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН