Comparison between 4 languages witch of them run faster a program(read light sensor) at Ev3 brick


Hello everyone this is another video and today I’m going to show you a compariso betwin four pragramable languages wich is faster … …a program: in a 10000 loop read from two sensor and calculate the average of these values. this program we will run it in four languages: RobotC, Python, new mac classroom and classic program of lego mindstorms. Let’s see python!!! That’s python program but I want to note that It’s not micro pyton It is ev3dev python Here we set the sensors input 2 and colour reflect mode and we do the same for the other sensor lets try it finished the real time is 42 seconds 43 seconds 41 seconds that’s the next language and we are doing the same thing 2.9 let’s try it again: 2.8 and again 2.8 that’s the program and we are doing the same thing with the other two languages the time is 2.9 well that’s the last language RobotC and It’s similar to Python let’s go!!! it is 357 ms and not sec but it’s 0.357 sec let’s see it again : 348ms One last test : 347ms That was the video obviously RobotC was the fastest second was classic mindstorm program third was the new classroom for mac and… … the last one was python because it isn’t a compiled language so it is so slow That was the video! thanks for watching !!!! Please Like and Subscribe!!! ( :

One thought on “Comparison between 4 languages witch of them run faster a program(read light sensor) at Ev3 brick

  1. Μήπως ξέρεις εάν η robotc είναι γρηγορότερη και από τη micro python?

Leave a Reply

Your email address will not be published. Required fields are marked *