+ 2

Is javascript going to replace c in embedded systems? Due to ioT development in embedded system?

I also searched it on Google. It shows that there are several tools in JavaScript,to work its source code in embedded systems effecient way.... especially in ioT I find that it have a JIT compiler to turn it's source code to native code [which make it fast] And its garbage collector used to clear unused memory automatically... [This garbage collector didn't occupies more space on RAM unlike other languages garbage collector] due to special framework ioT.js Here that frameworks, you can find https://analyticsindiamag.com/top-10-javascript-frameworks-to-use-in-your-iot-project/#:~:text=js%20is%20a%20framework%20for,kilobytes%20of%20RAM%20available%20device. Please conclude, is javascript going to replace C in Embedded systems....Due to development of ioT in embedded systems?

4th Dec 2020, 3:04 PM
Yogeshwaran P
Yogeshwaran P - avatar
5 ответов
+ 15
Yogeshwaran Embedded developers are vigilant about performance. Scripting languages are inherently slower than C. As a result, the first impulse of any good embedded developer is to be extremely skeptical of any scripting language. However, reliable ways to deliver great performance are yet available: Like we can say that Leverage built-in functions and objects. The JavaScript language has sophisticated built-in objects that support arrays, JSON, regular expressions and other string operations. The implementations of those are usually well optimized in the JavaScript engine. Take the time to learn about these to avoid duplicating their functionality in your scripts. P.s JavaScript is now widely used in web pages, web servers, and mobile applications. But not yet in embedded systems. That is poised to change. The majority of embedded programming today is done in C.
4th Dec 2020, 3:27 PM
Piyush
Piyush - avatar
+ 5
Not anytime soon.
4th Dec 2020, 7:56 PM
Sonic
Sonic - avatar
+ 3
Thank you very much Martin Taylor ☺️ for yours clear explanation.... and thank you Sonic and Piyush[21 Dec❤️] for yours comments 😃
5th Dec 2020, 3:22 AM
Yogeshwaran P
Yogeshwaran P - avatar
+ 1
Well just by quickly looking at your question, theres no way. Simple answer: You can run C without anything else, but JS has to be run by something (like an OS).
6th Dec 2020, 3:28 AM
Aria
Aria - avatar
0
Thank you Thomas ☺️
6th Dec 2020, 5:51 AM
Yogeshwaran P
Yogeshwaran P - avatar