cognitive-engineering-lab / rust-book

The Rust Programming Language: Experimental Edition
https://rust-book.cs.brown.edu
Other
504 stars 82 forks source link

Quizzes that are written using WASM causes the website to crash #104

Open aymen-pro opened 12 months ago

aymen-pro commented 12 months ago

The problem is: Whenever I have to re-take a quiz, My PC temperature increases and my fan start spinning. On top of that, the website crashes and I have to reload it. Even after reloading the website and pressing "retry the quiz", the same problem starts again.

I think it's because some weird loop is running in the background when re-taking quizzes or something like that. I hope this will be fixed.

willcrichton commented 11 months ago

Hi, can you clarify whether this is all quizzes, or just the Ownership Inventory quizzes?

aymen-pro commented 11 months ago

@willcrichton Sorry for late reply. It happens to all quizzes that are written in WASM not just the ownership inventory. The quizzes generally use interactive editors that lets you see documentation of a method, for example, on hover.

jpnws commented 10 months ago

I have noticed the crashes too, but as of this writing I cannot recall which quizzes, and I just haven't paid attention to my pc temp/fan at the time. I'd quickly go back and come back into the quiz and continue, so I didn't think much of it. But, the crashes did happen I'd say, subjectively speaking because I haven't really measured this, like three times? out of ten perhaps.