Return to search

[en] A MODEL OF COMPUTATION FOR OBJECT CIRCUITS / [pt] UM MODELO DE COMPUTAÇÃO PARA CIRCUITOS DE OBJETOS

[pt] Programação Orientada a Objetos é uma técnica de modelagem
de software madura e bem estabelecida. Entretanto, a
importância do seu papel tem a mesma medida do consenso em
relação às suas fraquezas e limitações. OO não é uma
panacéia, e, caso falhe, alternativas devem ser buscadas -
algumas delas híbridas, outras inteiramente novas.
Neste trabalho, argumentamos que o paralelo entre OO e
circuitos elétricos é uma solução híbrida interessante,
pois algumas das características básicas destes circuitos
são as mesmas perseguidas como o Santo Gral da Engenharia de
Software - concorrência, modularidade, robustez,
escalabilidade, etc. - e que nem sempre são alcançadas
somente com a abordagem OO tradicional. Sendo assim, nossa
proposta é o estabelecimento de uma correlação entre
circuitos elétricos e programas orientados a objeto. Do
primeiro, vem o circuito: percurso fechado por onde
informação trafega e é processada. Do segundo, vem
o objeto: entidade abstrata que constitui a informação que
trafega no circuito. Finalmente, da união de ambos, surge
um novo modelo de computação - o circuito de objetos - onde
se supõe que os benefícios trazidos pelas partes que o
compõem sejam complementares. Motivamos nossa discussão com
uma série de exemplos simples, porém elucidativos, seguida
de um estudo de caso na área de simulação. De modo a
ratificar o funcionamento destes circuitos, foi construída
uma implementação de circuitos de objetos utilizando a
linguagem de programação Java. / [en] Object Oriented Programming is a mature, well established
software modeling technique. Nevertheless, the importance
of its role has the same magnitude as the consensus in
respect to its weakness and limitations. OO is not a
panacea, and, should it fail, alternatives must be found -
some hybrid, while others entirely new. In this work, we
argue that the parallel between OO and electric circuits is
an interesting hybrid solution, for some of the basic
features found in such circuits are the same as the ones
sought after as the Holy Grail of Software Engineering -
concurrency, modularity, robustness, scalability, etc. -
and that are not always achieved only with the traditional
OO approach. Hence, our proposal is the establishment of a
correlation between electric circuits and object oriented
programming. From the former, comes the circuit: closed
path where information flows and is processed. From the
second, comes the object: abstract entity that constitutes
the information flowing within the circuit. Finally, from
their union, arises a new model of computation - the object
circuit - where it is supposed the benefits brought by each
part are complementary. We motivate our discussion with a
collection of simple - albeit elucidative - examples,
followed by a case study in the simulation field. In order
to ratify the functioning of these circuits, an object
circuit`s implementation was built on top of the Java
programming language.

Identiferoai:union.ndltd.org:puc-rio.br/oai:MAXWELL.puc-rio.br:3919
Date19 September 2003
CreatorsMATHEUS COSTA LEITE
ContributorsCARLOS JOSE PEREIRA DE LUCENA, CARLOS JOSE PEREIRA DE LUCENA
PublisherMAXWELL
Source SetsPUC Rio
LanguagePortuguese
Detected LanguagePortuguese
TypeTEXTO

Page generated in 0.0014 seconds