HackerTrans
TopNewTrendsCommentsPastAskShowJobs

superblas

no profile record

comments

superblas
·6 maanden geleden·discuss
I think you’re aware of this already but for everyone else:

There’s different kinds of embedded. What traditionally was referred to as embedded is microcontrollers (e.g., 32-bit ARM Cortex M devices like the STM32 or an NXP IMX106x chip ). A configuration for a Cortex-M7 chip (that some may consider on the high end of traditional embedded) is a 600MHz clock, 1MB of RAM, and 4MB of flash memory. These run either bare metal or a real time operating system but don’t have an MMU.

These days the definition is sometimes expanded to include devices that run full fledged OSes like Linux (embedded Linux) on devices like the RPI with much more memory than an MCU.

To answer the original posters question a bit: get used to C and C++ and not using malloc() / new(), which includes a lot of the standard library.
superblas
·6 maanden geleden·discuss
+1 for this. On my system, an ARM cortex-M7, there’s RAM at address 0. In order to catch null pointer dereferences I ended up activating the MPU to make the first couple hundred bytes inaccessible (non-readable, non-writable).
superblas
·8 maanden geleden·discuss
Perhaps they’re conflating how you can’t use “const” as a compile time constant (e.g., you can’t declare the size of an array with a “const” variable). If so, C23 solves this by finally getting the constexpr keyword from c++
superblas
·9 maanden geleden·discuss
Agreed. As an embedded software engineer new to the field I’ve seen senior engineers with over ten years of experience complain when division by a compile time constant (even by a power of two) is used in code instead of multiplication or bit shifting on our cortex-m7 mcu running at 600MHz
superblas
·10 maanden geleden·discuss
That’s literally how the English language works. It literally evolves
superblas
·10 maanden geleden·discuss
Such needless condescension, jibal.
superblas
·10 maanden geleden·discuss
I was just at one of their offices in San Francisco. They have free breakfast, lunch, and dinner with choices from well over 10 whole restaurants exclusively on their campus. They have (paid) laundry service where they can just drop off their clothes and get them back later. No more Facebook barbers, however. There were people of all different backgrounds: black, white, Hispanic, Indian, etc.

They have all these amenities on top of their huge paychecks (high cost of living in San Francisco notwithstanding). Do you really think they’d give all that up in service of helping their lessers? Maybe some would, but how much of this extravagant lifestyle would they give up? Even those who identify as liberal, how much would they give up?