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! :)
@andychristiansson14445 ай бұрын
(nine minutes later) Ah, and it was the first thing you did in the following episode. Very well! :D
@DmitrySoshnikov-education5 ай бұрын
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 :)
@robertpalovsky91063 жыл бұрын
Thanks, Dmitry! A question: could you probably check for stack overflow also as `if (sp == stack.end()) {...}`? Great lecture as usually.
@DmitrySoshnikov-education3 жыл бұрын
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.
@louisthibault5553 жыл бұрын
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-education3 жыл бұрын
Louis - thanks for the interest. Yes, this course should be coming soon. ETA is December 2021.