+ 1

Please friends am new in programming and I need to know the types of programming departments please cos I don't where I belong.

programming

10th May 2018, 8:57 PM
Victor Nwosunneji
Victor Nwosunneji - avatar
15 Respuestas
+ 4
My bad in assuming you meant Android apps, but dude, you posted about IoT which is dominated by Android, Ubuntu, and latecomer Windows. Of them Android had the biggest share. I realise you mean stuff like JME (Java Micro Edition) like in feature phones or older boat equipment, but that 8 or 16 MiB memory requirement. And it's not Java the way C isn't C++. I did not see anything on that thread you linked about Ada (which has been in moratorium for years), but even if I had, it's a Quora thread full of opinion. It's the internet, you shouldn't take things as gospel. So I went to Oracle and looked through their systems. Turns out they do have an Embedded Java. So you're right there. But it's not quite the Java you make desktop apps in. If you'd said "Java Embedded", I'd not have thought you meant apps either. However, C is still better for embedded programming than Java Embedded for the same reasons that it's better than C++: "pure code", smaller code, zero overhead/bloat, better understanding of what you're doing, etc. But it's a matter of choice. Again, sorry I assumed you meant Android apps, it's a common thing around here.
13th May 2018, 11:22 PM
non
+ 4
thanks for understanding and no problem,no need to say sorry for minor confusion and yes I agree with you that choosing a language to do a task is a matter of choice.
14th May 2018, 5:25 AM
Divyansh Dabral
Divyansh Dabral - avatar
+ 4
learn java and C , then proceed with what you are comfortable with.Both have their own advantages.Also get info about java micro edition .it is worth a try
15th May 2018, 12:40 PM
Divyansh Dabral
Divyansh Dabral - avatar
+ 3
Why do you want to learn? For what ultimate goal?
10th May 2018, 10:44 PM
non
+ 3
I think if you want to write drivers write with C but for writing code for electronic appliances like microwave,modern fridges or any machine connected to the internet of things go with Java
12th May 2018, 12:34 PM
Divyansh Dabral
Divyansh Dabral - avatar
+ 3
all the mechanized goods like fridges microwave etc that can't connect to internet use java code in some form or other https://www.quora.com/in/Programming-Languages-How-do-I-program-a-microwave-oven you may prefer c but java has worked fine till date
13th May 2018, 12:28 PM
Divyansh Dabral
Divyansh Dabral - avatar
+ 3
the main purpose of inventing java was to make white goods computerised these white goods include all kinds of microwaves,new fridges, basically anything that has buttons and electronic circuits and not limited to smart devices Kindly read till the end of online article which mentions that Java and ada are quite suitable for embedded systems in electronic hardware (even non smart devices) and have powerful tools and lots of potential if properly used This is what I meant and I never talked about Android apps to control those smart devices. Google java processors and you will be presented info about chips that are build from ground up to run java in embedded chips.Since they are specialized they can run java with minimal resources.I am not saying embedded systems in electronics only run on java but they are easier to program with Java which is built keeping simple coding in mind.
13th May 2018, 12:30 PM
Divyansh Dabral
Divyansh Dabral - avatar
+ 2
Divyansh Dabral I think you're misunderstanding this thread. JVM would not fit on an SoC whose total memory was a few hundred KiB to a few MiB, let alone run. What you're talking about is making Android applications for smart devices. What we're talking is tiny hardware components that are part of something that may or may not be a "smart device".
12th May 2018, 8:07 PM
non
+ 1
writing programs for hardwares
11th May 2018, 3:23 PM
Victor Nwosunneji
Victor Nwosunneji - avatar
+ 1
Okay, for hardware, you'll deal with C and possibly some assembler code as you'll find yourself writing very tiny codes for microcontrollers. If you meant "for hardware" as is drivers, you're also looking at C. A career in hardware engineering, programming, and design can be interesting and lucrative in today's digital world.
11th May 2018, 9:48 PM
non
+ 1
What about C++?
11th May 2018, 10:17 PM
Victor Nwosunneji
Victor Nwosunneji - avatar
+ 1
Some hardware uses C++-written code, but most prefer C because a C compiler is very easy to write and C can be more optimised when dealing with very, very limited resources. C++ has abstraction upon abstraction. It can produce bulky code post-compilation. It's a language focused on design, whereas C is closer to the core and allows many speed hacks. The majority will be in C/ASM for MCUs, but if you wrote firmware for, say a larger-scale SBC with higher specs or more complex functionality, C++ would be an option. However you'd probably choose C by then because you were comfortable with it.
12th May 2018, 9:51 AM
non
+ 1
That means that I can build any electronic devices with Java? but if it is, how can I get started with it...
15th May 2018, 12:14 PM
Victor Nwosunneji
Victor Nwosunneji - avatar
+ 1
Thanks you guys 👍, I really appreciate you guys...
15th May 2018, 6:30 PM
Victor Nwosunneji
Victor Nwosunneji - avatar
0
for what aims u wanna learn?
11th May 2018, 2:48 PM
Müdâthir Alfâdil
Müdâthir Alfâdil - avatar