Electronics > Beginners
what is the most relevant programming language for ee?
<< < (21/21)
bd139:
Yes.

Just a hilarious reference here: http://www.stroustrup.com/1995_Java_whitepaper.pdf

Note the domain.
brucehoult:

--- Quote from: Crazy_Pete on November 06, 2018, 02:26:44 am --->Nothing in the example code that comes with Arduino or on the Arduino or Wiring examples web sites uses:

So what?

I probably should quit while i am ahead since "So what?" sinks that argument, but....

You are utterly and absolutely sure that no third party library ANYWHERE uses Templates or Multiple Inheritance?    I am sorry but that is the sort of semantic hair splitting that comes when you engage in a religious argument.   The arduino IDE uses and supports C++.    The claim that no embedded project uses C++ is just nonsense.    The one feature of C++ that tends NOT to be implemented on MCUs is new/delete and that is simply because many mcus lack a proper memory controller.

--- End quote ---

Say what? Your post was already well into "wrong" and "either didn't read or didn't understand what I wrote" territory. But this isn't even wrong.

New&delete (along with the underlying malloc&free, which they are just a type-safe wrapper around) have *nothing whatsoever* to do with a memory controller, proper or otherwise.

Your other posts have since established you as a nutter so I'm not going to reply further to you.
Howardlong:

--- Quote from: brucehoult on November 06, 2018, 11:02:14 am ---
New&delete (along with the underlying malloc&free, which they are just a type-safe wrapper around) have *nothing whatsoever* to do with a memory controller, proper or otherwise.


--- End quote ---

I tend to agree, we've been using malloc/free and similar long before integrated memory controllers or even MMUs became a thing, let alone ubiquitous. Think of all those DOS real mode applications, including Windows 3.x in real mode, so in effect anything that ran on the original PC and PC/XT.
bd139:
It's even way older than that as well:

alloc: https://github.com/dspinellis/unix-history-repo/blob/92376cead83f002b6c03f26e4b17a8fbf92662b3/s4.s#L3

free: https://github.com/dspinellis/unix-history-repo/blob/92376cead83f002b6c03f26e4b17a8fbf92662b3/s4.s#L31

And that's pre-C (PDP-7 by the looks)
bsfeechannel:

--- Quote from: Crazy_Pete on November 06, 2018, 04:33:51 am --->Every time you say C++ you give C free publicity.   

Please don't feed the trolls :-)

love
Crazy Pete

--- End quote ---

I thought YOU were trolling. That's why my sarcastic reply. However, if you're really serious about your concepts, you have a lot to learn.

Just for the record. I learned C. Then I learned C++. I had absolutely no difficulty with C++ because of that. I encourage everyone to learn both languages. In whatever order they like.

C and C++ are different languages, created in different circumstances for different purposes in different times. In common, both are great and influential. Each in its own way.

And religion is a (fascinating) object of study of science that involves archaeology, geography, history, sociology, psychology, anthropology, philosophy, political science, linguistics, semiotics, etc.
Navigation
Message Index
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod