How Does C++ Relate to Smart Grid?

This is a quiz. What is the relationship between C++ and smart grid? One of Fujitsu’s smart grid symposium sessions this week was a keynote speech by Bjarne Stroustrup of Texas A&M University.

Bjarne Stroustrup

He is the creator of the C++ language.

C++ was conceived from C and Simula.

 I would not mind talking about C++ and other programming languages for the next ten blog posts, but this is a blog about energy efficiency, green IT, cloud computing, and smart grid. It is Fujitsu’s fault for choosing him as a keynote speaker, which brought my mind back to pure IT.

In any event, as more and more objects are equipped with the ability to send messages back and forth, the "Internet of things” is everywhere.

The theme of Stroustrup’s presentation was how to bridge the gap between applications and hardware using C++ and C++0x (the latest standard version), as shown here.

Bridge the gap between applications and hardware using C++ and C++0x.

After talking about what is not an infrastructure, he listed the necessary conditions for being an infrastructure.

  - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - -  
The Different Types of UPS systems
- – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - -

What is required of infrastructure?

He also mentioned the difficulty in programming in the gap, which is supposed to connect applications and hardware. He said the interaction between the lowest layer of the infrastructure and hardware is very complex. For example, Intel has about 200 software engineers working on a compiler to produce appropriate code to link the lowest layer and hardware.

Programming in the gap is difficult.

 So the question is, how do you implement such "things” in an efficient way? And the answer is to use C++. See the next picture.

 Why C++?

Stroustrup did not say so explicitly, but he was talking about embedded systems. In the world of embedded systems, unlike the world of the Web, C and C++ still dominate. C can be very low-level language and interact well with hardware without requiring a lot of such resource. C++ is replacing C because C++ improves many of C’s problems, but I am not going there in this blog.

His conclusion as to how to bridge applications and hardware is given in the following slide.

Zen Kishimoto

About Zen Kishimoto

Seasoned research and technology executive with various functional expertise, including roles in analyst, writer, CTO, VP Engineering, general management, sales, and marketing in diverse high-tech and cleantech industry segments, including software, mobile embedded systems, Web technologies, and networking. Current focus and expertise are in the area of the IT application to energy, such as smart grid, green IT, building/data center energy efficiency, and cloud computing.


No comments yet.

Leave a Reply