+ 7
For which languages, Sololearn is using an offline compiler or interpreter ?
I feel like atleast for JavaScript, it's running offline. Can anyone state some others too with reason why it is so?
11 Réponses
+ 3
Zoetic_Zeel As I recall someone here mentioned before, as long as there is no external resources used, like hyperlink, script, stylesheet, or images etc. web code can run just fine offline, I guess it's because JS is a client side scripting language, and browsers have their own engine to process it. SoloLearn app uses WebView which is somewhat a browser too (cmiiw), so probably that's how it works offline : )
+ 6
Zoetic_Zeel Actually you can create codes while offline. That's how I create my codes too. But saving it needs an internet connection.
+ 3
:)
+ 2
What makes you feel like it's running offline?
+ 2
Janning⭐ While saving our codes, we are uploading them on sololearn database. So obviously we'll need an internet connection. But just for execution, it's performing offline.
+ 2
Ipang Cool bro. That's what I was thinking it can be. You provided proper details and filled the gap..😀😀👌👌
+ 2
Sure. It's using your web browser through a web viewer.
https://www.quora.com/Does-the-browser-understand-JavaScript
+ 2
Janning⭐ Ipang Sleepy Koala Actually I'm a pythonic guy just started into JS. So for me it's pain to have online interpreter which we already have for python. That is why offline JS is feeling like a blessing..😀😀
+ 1
I can make changes, but if I try to save them with both the Wi-Fi and the data plan off, I get a "No connection" error message. Yours must be special? :)
0
Janning⭐ I turned off of my internet. made changes to code and it is running perfectly. by the way I'm using app not web