Re: Digital Twin applied to Software

Cesar Rabak <[email protected]> Sat, 3 Dec 2022 15:18:27 -0300
Newsgroups gmane.comp.lang.smalltalk.vwnc
Message-ID <CAKrF98kg66sQGMrYGbFPhvRw+0j8X=Qcg7VN46Ovi0_ND6X3Dg@mail.gmail.com>
As a counterpoint to slide 13, which says as a consequence of the reasoning
about the Twin "Smalltalk is readable...". by asserting:

   - Smalltalk is no more readable tha Greek for a Greek person, if one
   does have a clue in what the system is supposed to do, even the
   knowledgeable smalltalker can be caught in a puzzle to solve to understand
   how a legacy system works.

In fact to prove my point I would like to recall that even seasoned experts
in Smalltalk propose tools to "reverse engineer" Smalltalk code:
Squeak Reverse Engineering
<https://urldefense.com/v3/__https://folk.universitetetioslo.no/trygver/themes/SRE/SRE-index.html__;!!DZ3fjg!9Q6XAA7OWFijcvaQgbfqKHhO1Oyu1Em5lBpDzHQXuMOJgA-7wQFrCNY7z2ZvaFImWis-tJnnLjeJOujPZvlm$ > which
the author makes a case in the article:
The Case for Readable Code
<https://urldefense.com/v3/__https://folk.universitetetioslo.no/trygver/2007/readability.pdf__;!!DZ3fjg!9Q6XAA7OWFijcvaQgbfqKHhO1Oyu1Em5lBpDzHQXuMOJgA-7wQFrCNY7z2ZvaFImWis-tJnnLjeJOs6UyLcx$ >

I recommend more papers of Trygver's pen, which see, is one of the pioneers
in OO and created Simula [67], etc., if not possible, at least one more
named "The Common Sense of Object Orientation".

As Koh's presentation pushes towards Pharo, I also recommend the papers
about A. Bergel's Roassal "Agile Visualization", which is a response to the
needs we have to understand, specially legacy, code be it in Smalltalk as
well!

Since we're at this slide, the assertion about the probability of the
*same* bug
is nothing when a shop has to figure out the probability of different bugs
in each implementation and the need to solve in two approaches to have the
"Twin" attain the SISO aim.

It would be necessary to assess if any business case can be done so
management can find this a risk or an investment.

my 0.199999....







On Wed, Nov 30, 2022 at 4:07 AM Aik-Siong Koh <[email protected]> wrote:

> I have updated my slides based on the many feedback.
> Digital Twin is better defined and how that helps productivity is
> elaborated.
> Thanks.
> https://urldefense.com/v3/__http://askoh.com/twin/DigitalTwinsCppSt20221129.pdf__;!!DZ3fjg!9Q6XAA7OWFijcvaQgbfqKHhO1Oyu1Em5lBpDzHQXuMOJgA-7wQFrCNY7z2ZvaFImWis-tJnnLjeJOqlVZxPH$ 
> <https://urldefense.com/v3/__http://askoh.com/twin/DigitalTwinsCppSt20221129.pdf__;!!DZ3fjg!-PnSixfd7yVB1Wy2p5-awyrjsdKagaPwrKMetOeoOnel_eVUJOu-xZw4zzSdPmr0wTTEVQd9Hg5M$>
>
> Aik-Siong Koh wrote:
>
> Hi:
>
> I have a novel idea: "Digital Twin applied to Software". See abstract and
> link below.
> It points to the future of improved programming productivity and
> reliability.
> Let me know what you think.
>
> Thanks,
> Aik-Siong Koh
> https://urldefense.com/v3/__http://askoh.com__;!!DZ3fjg!9Q6XAA7OWFijcvaQgbfqKHhO1Oyu1Em5lBpDzHQXuMOJgA-7wQFrCNY7z2ZvaFImWis-tJnnLjeJOmyJauhK$ 
> <https://urldefense.com/v3/__http://askoh.com__;!!DZ3fjg!-PnSixfd7yVB1Wy2p5-awyrjsdKagaPwrKMetOeoOnel_eVUJOu-xZw4zzSdPmr0wTTEVdub4mNx$>
> https://urldefense.com/v3/__http://ar-cad.com__;!!DZ3fjg!9Q6XAA7OWFijcvaQgbfqKHhO1Oyu1Em5lBpDzHQXuMOJgA-7wQFrCNY7z2ZvaFImWis-tJnnLjeJOqMejOWm$ 
> <https://urldefense.com/v3/__http://ar-cad.com__;!!DZ3fjg!-PnSixfd7yVB1Wy2p5-awyrjsdKagaPwrKMetOeoOnel_eVUJOu-xZw4zzSdPmr0wTTEVbZ44urB$>
>
>
> Abstract
>
> Digital Twin applied to Software
> Aik-Siong Koh
>
> https://urldefense.com/v3/__http://askoh.com/twin/DigitalTwinsCppSt20220923.pdf__;!!DZ3fjg!9Q6XAA7OWFijcvaQgbfqKHhO1Oyu1Em5lBpDzHQXuMOJgA-7wQFrCNY7z2ZvaFImWis-tJnnLjeJOl8Q9c-u$ 
> <https://urldefense.com/v3/__http://askoh.com/twin/DigitalTwinsCppSt20220923.pdf__;!!DZ3fjg!-PnSixfd7yVB1Wy2p5-awyrjsdKagaPwrKMetOeoOnel_eVUJOu-xZw4zzSdPmr0wTTEVWJEvsIn$>
>
> There has been a major dichotomy in computing right from the beginning:
> Statically Typed vs Dynamically Typed programming languages. The former
> languages produce fast executables but are inflexible to program in. The
> latter are just the converse. This dichotomy has been frustrating to
> programmers who always feel they have to make sacrifices when making a
> choice. It also often leads to futile language wars. The Digital Twin
> concept was introduced in engineering where a physical system is modeled
> digitally in geometry, simulation and other information. The concept has
> proven so successful that it is being applied to almost everything in
> engineering from simple mouse traps to complex whole cities. It occurred to
> the author that this concept can be extended to software too. For example,
> execution in C++ is famously fast. But development in C++ is notoriously
> difficulty because of language complexity and long build times. A flexible
> digital twin can be a program written in Smalltalk which is famous for live
> programming. "Development at the speed of thought" is the motto and is
> real. What is gained by this duplication? Firstly, the flexible twin can be
> use to explore new algorithms, features, solutions and fix bugs quickly.
> Only desired codes are translated to C++ manually or automatically.
> Secondly, the two programs can check each other so that bugs are reduced
> significantly. These two gains will define future programming productivity
> and quality. The Digital Twin concept will also drive the automatic
> translation of the flexible language to the fast language.
>
>
> Bio
>
> Dr Aik-Siong Koh has a PhD from The University of Texas at Austin where he
> programed in FORTRAN to simulation mechanical systems. While teaching at
> Texas Tech University and Nanyang Technological University, he developed
> interest in Multibody Dynamics. To develop his own Multibody Dynamics
> simulator, he researched for the most productive programming language and
> discovered Smalltalk. The live programming capabilities of Smalltalk
> permitted him to build a successful simulator which he then proceeded to
> commercialize. His later experience with C++ at Mechanical Dynamics and
> MathWorks gave him the idea of Digital Twin for Software.
>
>
>