Skip to content
Sign upLog in

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?

You are viewing a single comment. View All
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++?