Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

object oriented programming ??

Status
Not open for further replies.

syeda amna

Full Member level 4
Joined
Jun 1, 2010
Messages
224
Helped
24
Reputation
48
Reaction score
23
Trophy points
1,308
Location
Pakistan
Activity points
2,549
what is object oriented oriented programming?
what is actor programming??
what is the application of both types?
any example?
 

ckshivaram

Advanced Member level 5
Joined
Apr 21, 2008
Messages
5,070
Helped
2,149
Reputation
4,304
Reaction score
2,089
Trophy points
1,393
Location
villingen (Germany) / Bangalore
Activity points
30,094
object-oriented supports inheritance, encapsulation and polymorphism. The first two notions can be easily defined.

Inheritance allows you to design a class by deriving it from an existing one. This feature allows you to reuse existing code without doing copy and paste.

https://modelingwithdata.org/pdfs/035-oop.pdf
Chapter 15: Object-oriented programming
Lesson 8: Object-Oriented Programming

Basics of ACTOR programming?
In computer science, the Actor model is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent digital computation: in response to a message that it receives, an actor can make local decisions, create more actors, send more messages, and determine how to respond to the next message received. The Actor model originated in 1973. [1] It has been used both as a framework for a theoretical understanding of computation, and as the theoretical basis for several practical implementations of concurrent systems.

what is actor programming?
Actor only was released on the Microsoft Windows 2.1 and 3.0 operating system. Actor used perhaps the first pure object-oriented framework over native operating system calls as its basic GUI architecture. This allowed an Actor application to look and feel exactly like a Windows application written in C, but with all the advantages of an interactive Smalltalk-like development environment. Both a downside and upside to this architecture was a tight coupling to the Windows OS architecture, with a thin abstraction layer into objects. This allowed direct use of the rich Windows OS API, but also made it nearly impossible to support any other OS without a significant rewrite of the application framework.

What is it???
actor language which is an extension of a simple functional language, and provide an operational semantics for this extension. Actor configurations represent open distributed systems, by which we mean that the specification of an actor system explicitly takes into account the interface with external components. We study the composability of such systems. We define and study various notions of testing equivalence on actor expressions and configurations. The model we develop provides fairness. An important result is that the three forms of equivalence, namely, convex, must, and may equivalences, collapse to two in the presence of fairness.

how does it work???
The actor model operates on message passing. Individual processes (actors) are allowed to send messages asynchronously to each other. What distinguishes this from what we normally think of as the threading model, is that there is (in theory at least) no shared state. And if one believes (justifiably, I think) that shared state is the root of all evil, then the actor model becomes very attractive.

We shouldn't get over excited, however. The actor model does not (contrary to some allegations) make it impossible to have deadlocks. The actor model also does not prevent you from having contention for resources between different processes -- message queues, for instance. The model is only "lock-free" above a certain level. At a lower level, for coordinating message queues, locking is still required.
 

sunil880089

Full Member level 2
Joined
Aug 24, 2011
Messages
126
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
2,031
Sir,
i want to study CPP and C Sharp programming..
i don't know how to start.
please help me sir,,
 

alexxx

Advanced Member level 4
Joined
Apr 17, 2011
Messages
1,013
Helped
273
Reputation
552
Reaction score
270
Trophy points
1,383
Location
Greece
Activity points
7,938

sunil880089

Full Member level 2
Joined
Aug 24, 2011
Messages
126
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
2,031
thank you sir..
which book i have to refer from starting..

---------- Post added at 12:05 ---------- Previous post was at 12:03 ----------

thank you sir..
which book i have to refer to start study..
 

horace1

Advanced Member level 5
Joined
Nov 18, 2008
Messages
2,123
Helped
596
Reputation
1,188
Reaction score
573
Trophy points
1,393
Location
Norwich, UK
Activity points
13,071

sunil880089

Full Member level 2
Joined
Aug 24, 2011
Messages
126
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Activity points
2,031
Thank You sir..please help me in future also..
 

milind.a.kulkarni

Advanced Member level 3
Joined
Oct 6, 2011
Messages
923
Helped
214
Reputation
428
Reaction score
208
Trophy points
1,333
Location
Bangalore
Activity points
7,438

alexxx

Advanced Member level 4
Joined
Apr 17, 2011
Messages
1,013
Helped
273
Reputation
552
Reaction score
270
Trophy points
1,383
Location
Greece
Activity points
7,938
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top