Reputation
13,597
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
4 37 60
Newest
 Quorum
Impact
~281k people reached

May
14
comment In C++, why does the main function use 'char *argv[]'?
Pretty much backwards compatibility, with the platforms which are used to calling a function with a signature of the first.
May
14
comment Relationship of common MCUs/CPUs to FPGA and ASIC
If you have more questions you should pay a visit to Programmers Chat.
May
14
comment Relationship of common MCUs/CPUs to FPGA and ASIC
(2): FPGAs are almost entirely digital devices. Sure, some of them have some analog components or features, but the meat and potatos of FPGAs are for digital functions. Therefore, if you have a lot of analog signal processing, you'll typically use some other analog components for the front end, and feed that data to an FPGA or microcontroller. You could combine all those components onto an ASIC, where you can have analog amplifiers and other elements on your silicon. However, doing that is crazy expensive, and usually the first option or using an off-the-shelf DSP is far more economical.
May
14
comment Relationship of common MCUs/CPUs to FPGA and ASIC
(1) Forget about the term "general purpose" as it doesn't have a well defined meaning. Microcontrollers typically have a processing core, some on-chip memory, and a selection of peripherals. Different devices in a given microcontroller line will have different assortments of peripherals and memories. Whether a particular device will work for an application usually boils down to whether the peripheral line-up is suitable for the intended device.
May
14
comment Cross-compiling Java app to run directly on ARM
@smeeb: a device that can directly execute Java byte code isn't really an ASIC anymore, it's a full blown microprocessor. At that kind of complexity, why limit yourself to only Java code, when the embedded market is dominated by software written in C and assembly?
May
13
comment C++: Make classes immutable or compatible with STL containers
Are you even writing multi-threaded code to begin with?
May
12
comment Data format for binary data transfer
EDF is pretty miserable, because of it's limits on record sizes and others. Reasonable for 1992, not so much now. However, it's a reasonable example to look at as a starting point.
May
11
comment Is specifying copyright necessary in a closed source project?
If you are not distributing your back-end software to anyone, then copyright does not come into play and thus headers in source files are a waste of time.
May
11
comment Is specifying copyright necessary in a closed source project?
Is this back-end system going to be distributed to anyone?
May
8
comment Benefits of RTOS vs Bare Metal for MCU Programming?
If it's not even clear to you what an RTOS offers, then why are you interested in writing applications for them? Whether an RTOS will benefit you or not depends entirely on what you are trying to accomplish. With that said, you must learn to walk before you can run. Program for the bare metal, and as you run into problems and solve them, you will truly learn what the benefits and drawbacks are.
May
7
comment Is returning a reference to inside a private vector bad practice?
It depends on a lot of things. What's the lifetime of whatever is calling getTileAt vs what owns the board? Is it even possible that something will have saved references to the tiles, between whatever else is modifying the board? If your application is single threaded, it's easy to reason about when the Board is being accessed. Also, whether members are private vs public has no bearing on whether references "leak" or not.
May
5
comment OpenGL programming vs Blender Software, which is better for custom video creation?
If instead of learning "graphics", if instead you were learning "drawing", then your comparison would be similar to "making paper vs painting". Do you want to learn the mechanics of taking data and making it appear on the screen, or do you want to learn how to model, sculpt, and paint things.
May
4
comment How to open a desktop application through browser without a Java applet?
@RichardTyszka: It's the opposite of the goal of almost everyone. I do not want my browser able to launch arbitrary programs on my computer without very specific authorization. Think of the trouble that could be caused if visiting a web page could cause your browser to execute some arbitrary batch file some jokester left for you?
May
1
comment How to open a desktop application through browser without a Java applet?
@RichardTyszka: package it with your desktop application. Clunky sure, but it could be made invisible to the user.
Apr
29
comment Injecting collections as constructor dependencies
Can you give a code example? I'm having a hard time visualizing what exactly is at play here.
Apr
29
comment How to retrieve the third-party library licenses
What you are looking for doesn't exist, there is no best practice. You have to do it by hand.
Apr
24
comment Structuring Procedural vs OO code
@JoeP: C++ has a variety of other features besides just OO features, such as exceptions. With C, it's pretty straightforward to imagine what your resulting assembly code is going to look like, with C++ that is pretty much impossible.
Apr
23
comment Why have many programmers moved to using exception handling for input or output?
The abundance of C programmers and projects in C disagree with your claims of "almost all"
Apr
11
comment C# Real time HMI (Human Machine Interface)
Sure, you can't do proper real-time with .NET, but you can sure do "good enough" for many applications, including machine control systems.
Apr
10
comment Required clarification about GPL licence for creating extensions of GPL software
@JörgWMittag: while this isn't a legal website, software licensing is on topic, and we are capable of thinking for ourselves.