Skip to content
Sign upLog in
← Back to Community

Slow repl

Profile icon

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?

Profile icon
Profile icon

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.

Profile icon

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.

Profile icon

How do you use Bash do run c++?

Profile icon

It might just be a temporary network thing