Ice是个好东西,希望国内能普及
Ice is a comprehensive RPC framework with support for C++, C#, Java, JavaScript, Python, and more.
Ice是一个全能的RPC框架,支持C++、C#、Java、JavaSript、Python等等语言。
Object-Oriented RPC
With Ice, network interactions are operations called on remote objects. Familiar object-oriented idioms allow you to design elegant and powerful networked applications.
面向对象的RPC
使用Ice框架,操作的响应是由被调用的远程对象提供。友好的面向对象风格,使你能设计强大而优雅的网络程序。
Improve Productivity
There is no need to worry about details such as opening network connections, serializing and deserializing data for network transmission, or retrying failed connection attempts (just to name a few things).
提高生产力
无需担心诸如建立网络连接、为网络传输的数据进行序列化和反序列化、或连接失败后的重试(仅举几个例子)等细节。
Language and Operating System Interoperability
Write your client in one language, your server in another, and run them on your favorite platforms. It's all seamless; your client and server are unaware of the language and platform the other is using.
Ice provides 100% native C++, C#, Java, and JavaScript implementations. Other languages leverage Ice for C++ to deliver improved performance.
开发语言和操作系统的交叉特性
使用一种语言编写客户端程序,使用另外一种语言编写服务端程序,然后在你喜欢的平台运行它们。你编写的客户端和服务端程序可以在不感知对方使用的是何种编程语言和操作系统的情况下进行无缝连接。
Ice提供100%原生的C ++,C#,Java和JavaScript实现。 其他语言(如Python等)则利用C ++来提高性能。
Intuitive IDL
Define the contract between your client and server using Ice's IDL, Slice.
Slice provides a rich set of data types that cleanly maps to all supported languages. User-defined types include enumerations, structures, sequences, and dictionaries, as well as classes and exceptions. Classes support pointer semantics, so complex graphs of objects can be passed over the wire.
直观的接口描述语言(IDL)
利用Slice这个Ice接口描述语言,定义好客户端和服务端通信协议。
Slice提供了一组丰富的数据类型,可以明确地映射到所有支持的各种语言。可以使用的类型包括:枚举、结构、序列、字典、类以及异常[各种语言的实现有差异]。其中类支持指针,这样可以提高性能。