+ 11

Do you think non-web codes on SL should...

... run in real-time, including inputs and outputs, etc.? I wouldn't say it matters that much in terms of resources as it wouldn't take much more of them if the program hangs for a couple seconds, but it would make an extremely big step forward to coding here, on SL. A ton of already existing and new codes would make so much more sense, and they'd be cleaner and just better in general. I know I should write this in Feedback instead, but I'm fairly certain if only I send this then they won't really consider it. What are your opinions about this whole thing? Are you ok with the current system, or do you need a better experience? Edit: The code could be run not on the server but on the device, with compilers like Pydroid for Python. The only thing sent to people would be the code. Wouldn't that be the least resource intensive solution? For C++ it could be for example Cxxdroid. What do you think?

8th May 2019, 9:33 PM
inxanedev!
inxanedev! - avatar
5 Answers
+ 9
Thanks for your post , I want this application be improve
9th May 2019, 7:40 AM
Ali Badri
Ali Badri - avatar
+ 6
SoloLearn can add offline compilers to solve the problematic... Like Pydroid, Java N-IDE, cxx droid, etc... With optional download :/
9th May 2019, 4:32 AM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 3
You are apsolutly rigth, the terminals could be much better then they are. Sololearn is just 20 MB, some app like termux are fully functinal termanals and are just 40MB havy.
8th May 2019, 9:42 PM
Emore Anzolin
Emore Anzolin - avatar
+ 2
From what I can tell, Sololearn uses an API where the code is sent to the server along with the input which response with the output of the code all at once. I assume the code is being run on some server. I think that if Sololearn could, they would have already implemented it. I know sites like repl.it have live input, so it's not impossible. However, it's much easier and less resource intensive to use the method they are currently using. The C++ compiler needs improvement though. Sometimes I just get "no output" instead of an actual error message that I can debug.
8th May 2019, 9:58 PM
Canada
+ 2
I still think local machine is the way to go for best experience of interactive I/O. But apart from compilation failure I'm fine with it, it wasn't meant for interactivity after all, just to run code once so learner knows how an example works.
9th May 2019, 9:25 AM
Ipang