Ice makes you write a Slice contract first, then generates the proxy and the servant base class
All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.
At a glance
- What is it?
- zeroc-ice/ice is an RPC framework from ZeroC that pairs an interface language with generated stubs for nine languages, plus pub-sub, deployment and gateway services. The contract-first workflow and the dual license decide whether it fits.
- Who is it for?
- Choose Ice if you need RPC across several languages from one Slice contract, along with pub-sub and deployment tooling from the same vendor, and your project can ship under GPLv2 or buy a commercial license. Skip it if you want a general-purpose IDL that every language community maintains.
- Can I use it commercially?
- Yes, with conditions. GPL-2.0 is a copyleft licence: if you distribute software that includes it, you must release that software's source code under the same licence. Running it internally without distributing it does not trigger that obligation.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly C++, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 26, 2026, and from our analysis. They are not legal advice.
Star history
- zeroc-ice/ice2,198 ★ · +3
| Repository | 2026-10-08 | 2026-11-26 |
|---|---|---|
| zeroc-ice/ice | 2.2k | 2.2k |
3 Stars in the last 49 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Two steps produce an RPC: write Slice, run the compiler
Ice does not let you call a remote method until the contract exists. The first step is to define the contract between client and server in Slice, the framework's interface definition language. The second is to run the Slice compiler to generate stubs in whichever languages you use. The example in the README is a Greeter interface with one operation:
// The contract specified using Slice.
/// Represents a simple greeter.
interface Greeter
{
/// Creates a personalized greeting.
/// @param name The name of the person to greet.
/// @return The greeting.
string greet(string name);
}For C++ the compiler is slice2cpp:
# Compile the Slice contract with the Slice compiler for C++ (slice2cpp)
slice2cpp Greeter.iceThere is one compiler per target language, and the C++ one is named slice2cpp. Any change to the contract means regenerating code on both sides, so the Slice file becomes the thing you version and review, and the generated files follow from it.
The generated proxy class and abstract base class are where your code attaches
After compilation, the client and the server each build on a generated type. The client creates a proxy, GreeterPrx, from a communicator and a string that carries the object identity and the endpoint:
// C++ client
// Call operation greet on a remote object that implements
// interface Greeter using the generated proxy class (GreeterPrx).
GreeterPrx greeter{communicator, "greeter:tcp -h localhost -p 4061"};
string greeting = greeter.greet("alice");The server derives from the generated Greeter abstract base class and overrides greet, which also receives an Ice::Current parameter. That extra argument is how the server sees per-call context, and the README example ignores it.
The endpoint string in the client names TCP, a host and a port. A hardcoded endpoint is fine for a demo, but a larger system needs another way to locate servants, and that is where IceGrid comes in. Nothing in the README example shows how the server registers its object or starts listening, so the demos repository is where a complete working pair lives.
Client and server need not share a language
The README makes a point that matters for mixed stacks: a Python client can call a C++ server, and neither side knows the programming language used by the other. The contract is the Slice file, and each side generates code from it in its own language.
The supported languages are linked from separate READMEs: C++, C#, Java, JavaScript and TypeScript, MATLAB, PHP, Python, Ruby and Swift. Each has its own directory at the top level of the repository, next to a slice directory with the shared definitions.
The practical limit is that all nine are not equal in what they can run. A language that targets a browser or a scripting runtime has different deployment constraints than C++, and the top-level README does not say which services, such as IceGrid or IceStorm, are available from each language. Check the language-specific README before choosing a client language for anything beyond plain RPC.
The network details Ice takes off your hands, and the transports it offers
Ice is described as handling opening network connections, serializing and deserializing data, and retrying failed connection attempts, so application code avoids low-level network programming. RPCs travel over a compact binary protocol across a list of transports: TCP, SSL, UDP, WebSocket and Bluetooth, with more implied by the trailing ellipsis in the README.
That list has a consequence for how you design operations. UDP and Bluetooth are not reliable streams in the way TCP is, so an operation that must be delivered and acknowledged belongs on a different transport than one that tolerates loss. The README does not describe which operations suit which transport, so the Ice protocol documentation linked from it is the place to read.
The repository root also holds BLUETOOTH.md and a certs directory, which suggests transport specific setup beyond the main README. Neither file's contents are shown, so the instructions for them have to be read in the repository.
Pub-sub, deployment and a gateway ship as separate services
Beyond RPC, the README lists a set of services under one uniform API. Configuration comes from Ice Properties, logging from the Ice Logger, and instrumentation and metrics from IceMX. Pub-sub has two options, IceStorm and DataStorm. Server deployment, replication and monitoring belong to IceGrid, and Glacier2 is the application gateway.
The naming is dense, and each service has its own documentation page under docs.zeroc.com. Two pub-sub systems side by side means a team has to decide between them, and the top-level README gives no guidance on how IceStorm and DataStorm differ.
Adopting the framework therefore means learning a family of components, not one library. A team that only needs a request and response call can use the RPC core alone. A team that wants service discovery, replicated servers and a firewall friendly gateway will need IceGrid and Glacier2, each with its own configuration to learn.
Single copyright makes the license choice a purchase decision
Ice is a single-copyright project. All source code in the repository is Copyright ZeroC, Inc., with very few exceptions, and ZeroC offers two licenses: GPLv2, the default, and commercial or closed-source licenses. The GPL path has no license fee and no signed agreement, but you must comply with GPLv2, whose copyleft conditions apply to software that incorporates Ice. ZeroC also grants a few exceptions to those terms, collected in the ICE_LICENSE file.
A commercial license replaces the GPLv2 terms with the terms of the license agreement. The README is firm that the software is identical: the only difference between open-source Ice and commercial Ice is the license terms.
For a company shipping a closed-source product that links Ice, this is the decision that comes before any technical comparison. Pricing sits on ZeroC's website. The repository metadata lists GPL-2.0, so the open-source path is the one a casual download takes.
Releases arrive every few months and downloads point to NIGHTLY.md
The repository is not archived and the last push was 2026-10-23. Recent releases are Ice 3.8.3 on 2026-09-10, Ice 3.8.2 on 2026-06-04 and Ice 3.8.1 on 2026-03-03, a cadence of about one release a quarter in the 3.8 line.
The Downloads link in the README goes to NIGHTLY.md in the repository, not to a release page, so the entry point for getting builds is that file. Building from source goes through the top-level Makefile, which loops over a list of languages and runs targets such as srcs, tests, all, clean, distclean and install in each language directory. Its install target also copies documentation files and Slice files, leaving out the Lookup.ice files for IceDiscovery and IceLocatorDiscovery.
The repository also carries allTests.py, a Package.swift for Swift builds, and a changelog.d directory next to CHANGELOG.md. A new user should expect a multi-language build, not a single package install.
Editorial conclusion
Choose Ice if you need RPC across several languages from one Slice contract, along with pub-sub and deployment tooling from the same vendor, and your project can ship under GPLv2 or buy a commercial license. Skip it if you want a general-purpose IDL that every language community maintains. Before committing, read the GPLv2 terms and the ICE_LICENSE exceptions against how you distribute your software.
Frequently asked questions
What does ICE stand for in software, and what is zeroc-ice/ice?
In this project Ice stands for the Internet Communications Engine, a complete RPC framework for building networked applications. Contracts are written in the Slice language and compiled to stubs.
What does ICE network mean for the Ice framework?
The README does not use the phrase. It describes Ice as handling network connections, serialization and retries for applications, over transports including TCP, SSL, UDP, WebSocket and Bluetooth.
What is an Ice server in zeroc-ice/ice?
An Ice server implements a Slice interface by deriving from the generated abstract base class, such as Greeter in C++, and overriding its operations. Clients call it through a generated proxy.
Official sources
Was this useful?