Nice video John, and not a bit of smoke in sight. Now if only there was a method of getting me to code faster I might finish my latest project. I could have done it in 5 or 6 minutes in Arduino, but wheres the fun in that! WiFi connecting with the ESP8266 is a lot more fun when you are doing it all low level. Trying to connect as a station but full back to being an access point if it can't connect is proving to be quite fun, but that's where the learning is.
Thank you for WSL. Didn't know. Please tell what is your CPU, RAM Freq? My old i5-7500, RAM 16GB@2400 on Debian 9 (almost Ubuntu) compiles ~8 sec cashed compilation. Your result is about 20 sec. On Windows 10 on i7 gen3 with RAM 8Gb it takes 26 sec cashed compilation.
It's the caching, developing for esp on other ide is faster as well even on windows because they also cache part of the compiled code so you only process the script it self. sadly, if you want to use Arduino, on windows, you'll have to deal with the full compilation every time.
The BIG question...WHY? Why is the ide under Windows 10 so slow? It shouldn't be a problem. Nobody seems to have the answer. Post another video when you find out why.
as much as i know it goes to backlevel, windows open too many threads for each task and uses way too many kernels to perform every single hw operation it needs causing it to be slowed down. best win for development is clean win
:~/arduino-1.8.19$ ./arduino Picked up JAVA_TOOL_OPTIONS: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:117) at processing.app.Base.(Base.java:240) at processing.app.Base.main(Base.java:150) arduino not opening and got a message above. what to do?
Thanks for the last bit of convincing I needed :) for updating my arudinoIde ontomy wsl
You're welcome 😁
Nice video John, and not a bit of smoke in sight.
Now if only there was a method of getting me to code faster I might finish my latest project.
I could have done it in 5 or 6 minutes in Arduino, but wheres the fun in that! WiFi connecting with the ESP8266 is a lot more fun when you are doing it all low level.
Trying to connect as a station but full back to being an access point if it can't connect is proving to be quite fun, but that's where the learning is.
🤣
Haha
@@BenCos2018 if you think that's funny you should subscribe for more laughter 🙂
Here and with TEH he means 🤣
@@TheEmbeddedHobbyist haha I thought I already had subscribed lol
Done now lol
You are great, Sir!
Many thanks! :)
Thank you for WSL. Didn't know.
Please tell what is your CPU, RAM Freq? My old i5-7500, RAM 16GB@2400 on Debian 9 (almost Ubuntu) compiles ~8 sec cashed compilation.
Your result is about 20 sec.
On Windows 10 on i7 gen3 with RAM 8Gb it takes 26 sec cashed compilation.
I'm afraid I'm away from home at the moment so I can't check.
Do we know WHY it's any faster?
Probably because file handling is much more efficient.
It's the caching, developing for esp on other ide is faster as well even on windows because they also cache part of the compiled code so you only process the script it self. sadly, if you want to use Arduino, on windows, you'll have to deal with the full compilation every time.
@@Rubysh88 christ, that's horrible news. :/
I'm trying to make it work with version 2.1.0
I have to admit I haven't tried it. v2.0 was too flaky when I made the video.
@Magic-Smoke I did it, please see my comment above .. I suffered to make it.. but it"s quite cool. Arduino 2.2.1
The BIG question...WHY? Why is the ide under Windows 10 so slow? It shouldn't be a problem. Nobody seems to have the answer. Post another video when you find out why.
It probably comes down to file handling, windows defender and how many cores are used.
as much as i know it goes to backlevel, windows open too many threads for each task and uses way too many kernels to perform every single hw operation it needs causing it to be slowed down. best win for development is clean win
What I see, cpu percentage is not going more then 25% in usage. So could be 4 times faster! (assuming fast SSD disks, which are now standard)
:~/arduino-1.8.19$ ./arduino
Picked up JAVA_TOOL_OPTIONS:
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:117)
at processing.app.Base.(Base.java:240)
at processing.app.Base.main(Base.java:150)
arduino not opening and got a message above. what to do?
If you're on Win11, it seems that WSLg may not be correctly installed? Is WSL the latest version?
@@Magic-Smoke sorry, I am on windows 10 and wsl latest version, don't know about wslg.can you explain? than kyou.
Ah! Then you either need to upgrade (free) or use the guide by @networkchuck but it's not so easy. ruclips.net/video/27Wn921q_BQ/видео.html
@@Magic-Smoke I tried to upgrade but the system says my machine is not qualified for an up gradation.
@@neelimavungal that's a shame! Try the network chuck link I sent earlier