CSC/ECE 517 Fall 2014/oss M1455 asa: Difference between revisions
Line 18: | Line 18: | ||
1. We first need to clone the servo repository using the following command:<br> | 1. We first need to clone the servo repository using the following command:<br> | ||
git clone https://www.github.com/servo/servo<br> | git clone https://www.github.com/servo/servo<br> | ||
[[File:Git clone.png]]<br> | [[File:Git clone.png|200px]]<br> | ||
Now we have a local copy of the servo codebase. | Now we have a local copy of the servo codebase. | ||
<br> | <br> | ||
Line 25: | Line 25: | ||
2. We build the servo using<br> | 2. We build the servo using<br> | ||
./mach build<br> | ./mach build<br> | ||
[[File:build_servo.png|200px]]<br> | |||
<br> | <br> | ||
3. Once our servo is built, we can run it using a test url<br> | 3. Once our servo is built, we can run it using a test url<br> | ||
./mach run url <br> | ./mach run url <br> | ||
[[File:test_command.png|200px]]<br> | |||
[[File:test_op.png|200px]]<br> |
Revision as of 23:38, 26 October 2014
EVALUATE REPLACING C IMAGE & FONT LIBRARIES WITH RUST EQUIVALENTS In this wiki we represent the steps involved in our OSS Mozilla Project using Rust Programming Language.
Introduction
Servo is an experimental web browser layout engine being developed by Mozilla Research for new generation hardware. The project has a symbiotic relationship with the Rust programming language, in which it is being developed. Rust is a new programming language for developing reliable and efficient systems.
Servo currently depends on a lot of C libraries, because Rust equivalents did not exist when the project started. We want to evaluate switching some of these to new Rust libraries that have been created. This project involves rewriting the code that uses these libraries as well as taking measurements before and after to determine the costs involved.
Aim
The aim of our project is display the time required by the decode function to decode images of different formats, e.g, jpeg, bmp, png, gif.
Steps of Implementation
We implemented the following steps on our linux machine:
• Build Servo
1. We first need to clone the servo repository using the following command:
git clone https://www.github.com/servo/servo
Now we have a local copy of the servo codebase.
2. We build the servo using
./mach build
3. Once our servo is built, we can run it using a test url
./mach run url