Multi-Language Programming : Distributed Object

     If common object enivronment is deployed on different computers, it will become a distributed object environment. For the environment holds all information and parameters of interface objects, it can act as a proxy for distributed functions of objects. As a result, applications access these distributed objects as if they are located at local, and programmers do not need face with kinds of standards or interface of different languages. For environment supports multi-language, you can developed service using java, c/c++,lua,python,etc, and call it from client side with other languages.

    Above figure is a normal function call. If we distribute the environment on two computers, it will be a distributed environment, which is shown as follow:

    The changes only occur on the environment. For applications, no matter they are client or server, may be not aware of these changes. For programmers, the environment helps them to solve many problems such as how to select standards and interfaces, or how to programming, especially in the case when client side needs to communicates with different servers of different languages.
     We put objects together, describe them, manage them and provide an environment to them. More and more functions can be added to the environment, rather than special languages realizing these objects. Common interface, common architecture, and all of these will simply programming and freeing programmers from meaningless work.
    Think about: you write a library in c/c++, then you have to rewrite it for java,python,etc at some time later. Is it meaningful?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值