2,602 karma · joined Jul 31, 2020 (6y ago) · 1,754 submissions
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
No, you can not add the whole c++ std lib into our code. Yes, I know it is useful. Yes, that will save you 2 hours of work. However, the code no longer even fits into the 1MB of flash we have. Yes we can ask for a new design the management would love to spend 500k on spinning a new design and getting all of the paperwork for it done, and our customers would love replacing everything they have for functionally equivalent hardware that now costs 50 dollars more each. But at least you saved 2 hours writing some code.
comment 6y ago · link · parent
comment 6y ago · link · parent
There is a second possibility here. That no one is exploring. That Google is just investing money. Which means they have no effective way to use their existing capital. MS ended up at this position at one point.
comment 6y ago · link · parent
comment 6y ago · link · parent
My guess they want to get into the 'home automation' bits. Which is a huge money sink and really not that interesting. They also need to be willing to do something more than on a 2-3 year time frame. I have things in my house that are 25+ years old. I zero plans on replacing them. My parents have a house that is 80 years old. They also have zero plans on replacing things. For the embedded market which is where ADT sits they need to be thinking 10-15 year time frames. They also need to think in the 'fail usable' state. If my internet goes out and I can not get my garage door open I am not happy and that thing will be on the way to the garbage bin. They also probably want in on that monthly recurring lease on equipment you do not really own.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
The MAME guys are adding in netlist bits to get rid of those wav files they have used for years for sounds. They had to go back and re-model the circuits component by component which is obviously not great on CPU. Which is how much of it was able to run on older computers. They took massive shortcuts. If something took 500ms on the actual hardware they would do it in 30 and give the time up to something else that needed it. Whereas maybe some very oddball bit of software would rely on that 500ms. The funny thing is most dont. The other way holds true too. Those circuits emus they are adding in eat massive amounts of CPU time to calculate. But on the real hardware finish nearly instantly.
I still am amazed some of this software works. For some bits of software you do need that deep understanding. But so much of it just blts junk from one area to another and polls on the controls. When you get to those weird effect where the developer was squeezing the console/computer on scanlines and store/load boundaries you need that but so much of it just works...