CSC/ECE 517 Fall 2015/Mozilla Refactor GLES2: Difference between revisions
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
=='''Project Description'''== | =='''Project Description'''== | ||
* The project requirement initially stated that we build and Compile servo. Following are the steps for this: | * The project requirement initially stated that we build and Compile servo. Following are the steps for this: | ||
Servo is built with [https://mail.mozilla.org/pipermail/rust-dev/2014-March/009090.html Cargo], the Rust package manager. Mozilla's Mach tools are used to orchestrate the build and other tasks. | |||
git clone https://github.com/servo/servo | git clone https://github.com/servo/servo | ||
Line 18: | Line 18: | ||
./mach build --dev | ./mach build --dev | ||
./mach run tests/html/about-mozilla.html | ./mach run tests/html/about-mozilla.html | ||
* The next requirement was to build the Rust-layers independently of Servo. For this, we | |||
* Next, we had to over-ride cargo to use our local copy of Rust-layers, so we had to add a cargo override to it. For this, we created a <code>.cargo</code> folder in our home directory(same place that servo and Rust-layers reside), and added a <code>config<code> file to that folder. The content of that config file is a path to our local Rust-layers. | |||
paths = [path/to/rust_layers] |
Revision as of 20:53, 25 October 2015
' Refactor GLES2 Student Project with SERVO & RUST '
Servo<ref>https://github.com/servo/servo/</ref> is a prototype web browser engine written in the RUST language.Servo uses a variety of back-end implementations for drawing graphics depending on the operating system.One of such back-end is only compatible with Android right now, and we want to extend and refactor that back-end to enable on all Linux systems..
Introduction
Servo
ServoServo is an open source prototype web browser layout engine being developed by Mozilla, and it is written in Rust language. The main idea is to create a highly parallel environment, in which different components can be handled by fine grained, isolated tasks. The different components can be rendering, HTML parsing, etc.
Rust
Rust is an open source systems programming language developed by Mozilla. Servo is written in Rust. The main purpose behind it's design is to be thread safe and concurrent. The emphasis is also on speed, safety and control of memory layout.
Project Description
- The project requirement initially stated that we build and Compile servo. Following are the steps for this:
Servo is built with Cargo, the Rust package manager. Mozilla's Mach tools are used to orchestrate the build and other tasks.
git clone https://github.com/servo/servo cd servo ./mach build --dev ./mach run tests/html/about-mozilla.html
- The next requirement was to build the Rust-layers independently of Servo. For this, we
- Next, we had to over-ride cargo to use our local copy of Rust-layers, so we had to add a cargo override to it. For this, we created a
.cargo
folder in our home directory(same place that servo and Rust-layers reside), and added aconfig
file to that folder. The content of that config file is a path to our local Rust-layers.
paths = [path/to/rust_layers]