Friday, November 12, 2021

EV vs ICE: $ vs # (electric vs gasoline, money vs count)

It’s bizarro world in the auto industry, again

"Electric-vehicle startup Rivian (RIVN) has roared into public markets with a killer public offering and a market value of $116 billion. That’s 32% more than General Motors (GM) is worth, and 47% more than Ford (F). Rivian has never sold a vehicle until this year. GM sells around 7 million vehicles per year; Ford, 4 million.

If you add up the market value of Tesla (TSLA), Rivian, and 5 other startups including Lucid (LCID), Nikola (NKLA), Fisker (FSR), Lordstown Motors (RIDE) and Workhorse (WKHS), their combined capitalization is nearly $1.3 trillion. Nine of the world’s biggest automakers—GM, Ford, Stellantis, Toyota, Nissan, Honda, Volkswagen, BMW and Daimler-Benz—are only worth $845 billion. So those 9 giant automakers are worth 34% less than 7 fledgling EV manufacturers. As for sales, the established manufacturers outsell the EV upstarts 100 to 1."

Object Oriented, Functional => Data-Oriented Programming

book: Data-Oriented Programming @ Manning

Data-oriented programming is an exciting new paradigm that eliminates the usual complexity caused by combining data and code into objects and classes. In DOP, you maintain application data in persistent generic data structures separated from the program’s code. You use general-purpose functions to manipulate the data without mutating it. This approach rids your applications of state-related bugs and makes your code much easier to understand and maintain.

(in) Data-Oriented Programming ... instead of objects, everything is data and everything can be acted upon. This separates the functionality and data. They no longer are intertwined by a specific rule set. In DOP your functions are general purpose and are applied to large chunks of data. Ideally, you would structure the data as closely to the output data as possible to ensure the least amount of effort is done by the function itself.