A general-purpose object serialization framework developed in Pharo. Fuel is developed under the MIT license.
We don't aspire to have a dialect-interchange format. This enables us to serialize special objects like contexts, block closures, exceptions, compiled methods and classes. Although there are ports to other dialects, Fuel development is Pharo-centric.
Depending on the context, there could be multiple ways of serializing the same object. For example, a class can be considered either a global or a regular object. In the former case, it will be encoded just its name; in the latter case, the class will be encoded in detail, with its method dictionary, etc.
We worry about to have the best performance. We developed a complete benchmark suite to help analyse the performance with diverse sample sets, as well as compare against other serializers. Our pickling algorithm allows outstanding materialization performance, as well as very good serialization performance too.
From the beginning it was a constraint to have a good object-oriented design and to do not need any special support from the VM. In addition, Fuel has a complete test suite, with a high coverage. We also worry about writing comments on classes and methods.
We would love to see your project here too ;)!
master | 5.2.2 | 5.1.0 | 5.0.6 | 4.1.1 | 3.0.4 | 3.0.3 |
---|---|---|---|---|---|---|
- | - | - | - | - | ||
master | 5.2.2 | 5.1.0 | 5.0.6 | 4.1.1 | 3.0.4 | 3.0.3 |
---|---|---|---|---|---|---|
As of Pharo 12, Fuel will no longer be backwards compatible and each version will live on a separate branch.
Metacello new
repository: 'github://theseion/Fuel:Pharo12/repository';
baseline: 'Fuel';
load.
Metacello new
repository: 'github://theseion/Fuel:5.2.2/repository';
baseline: 'Fuel';
load.
Metacello new
repository: 'http://smalltalkhub.com/mc/Pharo/Fuel/main';
configuration: 'Fuel';
load.
Metacello new
repository: 'github://theseion/Fuel:5.2.2/repository';
baseline: 'Fuel';
load.
Installer monticello
http: 'http://smalltalkhub.com/mc/Pharo/Fuel/main';
addPackage: 'ConfigurationOfFuel';
install.
(Smalltalk at: #ConfigurationOfFuel) load.
You may very well find something that is broken. When you do, please open an issue in the GitHub bug tracker and we'll get back to you promptly.
The documentation is generated from this repository and lives here.
Fuel started its life as a thesis project by @marianopeck at RMoD, Inria. @tinchodias later worked on it as part of his own work (also at RMoD).
The Fuel team would like to thank RMoD and especially @Ducasse for the support and for letting us continue development as an open source project.