Ask coding questions

← Back to all posts
Slow repl
Daniel3210 (21)

I started learning C++ recently. But when I tried to use it in, it seemed really slow. The repl is attached to this post. Can someone please tell me why it is so slow when the code is just a basic hello world?


Hi! So, your problem could be caused by multiple factors:

  1. Your wifi is just bad
  2. The servers are lagging and you need to reload or retry in some time
  3. The repl server is slow, like in Java
  4. Your computer might be crashing or having issues

Hopefully that helped.

Coder100 (18876)

There are multiple reasons.

First, the C++ repl server is pretty slow itself, so try the bash language to run your C++ instead.
Second, if your computer or internet is slow, that will only make things worse.
Finally, the compiler does take some time to compile C++, but with your code, its probably negligible.

DynamicSquid (5023)

It might just be a temporary network thing