Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

As a web/game developer, one thing I never understood is the alleged complexity of these control systems. There is no image/voice recognition, no graphics engine, no rocket science. What are they even doing? Or is it all a big lie?

Lines of code, from the internet[1]: Pacemaker: 100k Boeing 787: 5M Chevy Volt: 10M Modern car: 100M

[1] https://www.visualcapitalist.com/millions-lines-of-code/



sort by: page size:

You're right. In my little joke I implied something else than you said. It's a low/middle complexity piece of control software.

They are much more complex, but ultimately, a machine. Without admin access or an operating manual. We don't understand how it works.

It's kind of like trying to put a rocket into space in the stone/bronze age. Or figuring out the Google codebase if it was handed to you in Assembly.


It probably contains lots of proprietary code to interface with the hardware.

It's all computer-controlled, so the programming is probably done with a computer or a built-in digital interface.

They seem like a mystery to me. What are they programmed with? What language is used?

I am more interested in the part where they control the devices programatically rather than what they are doing with it.

Weirdly that's significantly less technologically advanced than the video's control. It's just a bunch of switches and buttons.

Though I wonder how programmable it is, could be a pretty cool automation control panel.


Real programming I guess. Wouldn't know.

This article says nothing about how they were programmed. :(

Yep, exactly right. The hardware is capable, but the software hasn't been created. Just like the original link - the hardware will (probably) provide enough input data to allow software to do all these cool things, but it's not been done yet and production code is a very long way from what is outlined.

It's hard to judge from any video like this because you can't be sure what's pre-programmed.

Their hardware is second to none.


Or it could be that they use fixed circuits rather than software.

The regulators are actually quite sophisticated and have many undocumented registers that set how things like the communications with the processor work, nonlinear control algorithms, etc.

Can confirm they do. I worked at a company that was producing control systems for electric engines. Great environment and fun job but the code was beyond redemption. 15k line files with 2k+ lines #ifdef statements that ran different code for different customers, some variable names were just curses against pushy clients, not a single abstraction in sight.

Not only they exist, they power massive machines that could crush a person in the blink of an eye.


I doubt, and rightfully so anyway. It's a full system, you need to operate it, not to dissect and build upon. Same like your car on-board computer, you don't have access to its source code, you only need how to steer the car on your way to work and back.

yeah, you still have to hope it will be easy to program this stuff. and let's see the technical details on that too.

The entire point of the article is that it's way harder to stop the proliferation of software than hardware. Once you're back in the hardware space traditional controls work just fine (or, at least, as well as they ever worked).

Yeah, but it's all machine code...

There's programming involved, but of the graphical connect-the-boxes kind that can be done without text input.
next

Legal | privacy