mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Page:
Oxidation 2015 11 05
Pages
Adding a new WebIDL binding
Alternative Logo Proposals and Related Swag
Asynchronous WebAssembly compilation project
Austin Oxidation
Autogeneration of style structs
Basic SVG support project
Beginner's guide to rebasing and squashing
Benchmarking
Benchmarks
Bots
Browser Engine Research
Build Errors FAQ
Buildbot administration
Building for Android
Building for Magic Leap
Building for UWP
Building on ARM desktop Linux
Building
CI Services we use
CSS parse error reporting
CSSOM student project
Canvas rendering project
Cargo upgrade service project
Code rust concurrency
Code Review
Code of Conduct
Coding standards
Compiler upgrade recipes
Compositor Layer Design
Contributing
Control Servo using WebDriver
Creating and viewing WARC web archives in Servo
Creating new OpenSSL Windows binary distributions
Cross compiling from linux to mac
Crowbot
Css selector matching meeting 2013 07 19
DOM Design
DOM documentation
DOM missing pieces
Debugging JS web compat issues
Debugging and editing tools
Debugging
Design
Developer tools student project
Devtools CSS errors
Devtools plans
Devtools
Diagnosing SpiderMonkey JIT issues
Eric Atkinson visit 2013 09 10
Events and sundry
Expand HTTP request response monitoring
Fetch improvement project
Firefox Reality release notes
FirefoxReality build
Firewall setup for servo master1
Focus student project
Form validation student project
GSoC project brainstorming
Garbage collected DOM
Getting started with layout
GitHub Labels
Github & Critic PR handling 101
Github workflow
Glossary
Governance
Graphics toolkit integration
HTML parser improvement project
HTMLElement binding conversion
HTTP archive support project
HTTP library requirements
Hawaii Rooting
High priority content for layout
Highfive
HoloLens 2 test plan
Home
How to generate GStreamer binaries for CI
Image load conformance student project
Image maps project
Implement HTML charset parsing project
Implement ImageBitmap project
Implement missing WebAudio automation student project
Implement support for missing XMLHttpRequest APIs
Implement worker modules
Implementing a web standard (RGSoC)
Improve specification conformance of unicode bidi library
Incremental flow tree construction
Infrastructure
Integrate xml5ever
Intern project brainstorming
Intern projects
JS objects, wrappers, and cross origin concerns 2013 08 07
Layout 2020
Layout Overview
Layout resources
Layout revamp ideas
Leo meyerovich visit 2013 07 22
Linux sandboxing
London Oxidation
London Security
Meeting 2014 10 27
Meeting 2014 12 08
Meeting 2012 02 08
Meeting 2012 02 16
Meeting 2012 07 20
Meeting 2013 04 01
Meeting 2013 04 15
Meeting 2013 04 22
Meeting 2013 04 29
Meeting 2013 05 06
Meeting 2013 05 13
Meeting 2013 05 20
Meeting 2013 06 03
Meeting 2013 06 10
Meeting 2013 06 14
Meeting 2013 06 17
Meeting 2013 06 24
Meeting 2013 07 01
Meeting 2013 07 15
Meeting 2013 07 22
Meeting 2013 07 29
Meeting 2013 08 05
Meeting 2013 08 12
Meeting 2013 08 19
Meeting 2013 09 09
Meeting 2013 09 16
Meeting 2013 09 23
Meeting 2013 09 30
Meeting 2013 10 14
Meeting 2013 10 21
Meeting 2013 10 28
Meeting 2013 11 04
Meeting 2013 11 18
Meeting 2013 11 25
Meeting 2013 12 02
Meeting 2013 12 09
Meeting 2013 12 16
Meeting 2014 01 06
Meeting 2014 01 13
Meeting 2014 01 21
Meeting 2014 01 27
Meeting 2014 02 03
Meeting 2014 02 10
Meeting 2014 02 24
Meeting 2014 03 10
Meeting 2014 03 17
Meeting 2014 03 24
Meeting 2014 03 31
Meeting 2014 04 07
Meeting 2014 04 14
Meeting 2014 04 21
Meeting 2014 04 28
Meeting 2014 05 05
Meeting 2014 05 13
Meeting 2014 05 19
Meeting 2014 06 09
Meeting 2014 06 17
Meeting 2014 06 23
Meeting 2014 06 30
Meeting 2014 07 07
Meeting 2014 07 14
Meeting 2014 07 21
Meeting 2014 07 29
Meeting 2014 08 04
Meeting 2014 08 11
Meeting 2014 08 12
Meeting 2014 08 18
Meeting 2014 08 25
Meeting 2014 09 08
Meeting 2014 09 15
Meeting 2014 09 22
Meeting 2014 09 29
Meeting 2014 10 06
Meeting 2014 10 13
Meeting 2014 10 20
Meeting 2014 11 10
Meeting 2014 11 17
Meeting 2014 11 24
Meeting 2014 12 15
Meeting 2015 01 05
Meeting 2015 01 12
Meeting 2015 01 26
Meeting 2015 02 09
Meeting 2015 02 23
Meeting 2015 03 02
Meeting 2015 03 16
Meeting 2015 03 30
Meeting 2015 04 06
Meeting 2015 04 13
Meeting 2015 04 27
Meeting 2015 05 04
Meeting 2015 05 11
Meeting 2015 05 18
Meeting 2015 06 01
Meeting 2015 06 08
Meeting 2015 06 15
Meeting 2015 07 06
Meeting 2015 07 13
Meeting 2015 07 27
Meeting 2015 08 10
Meeting 2015 08 17
Meeting 2015 08 24
Meeting 2015 08 31
Meeting 2015 09 14
Meeting 2015 09 21
Meeting 2015 09 28
Meeting 2015 10 05
Meeting 2015 10 12
Meeting 2015 10 19
Meeting 2015 10 26
Meeting 2015 11 02
Meeting 2015 11 09
Meeting 2015 11 16
Meeting 2015 11 30
Meeting 2016 01 04
Meeting 2016 01 11
Meeting 2016 01 25
Meeting 2016 02 01
Meeting 2016 02 08
Meeting 2016 02 22
Meeting 2016 03 07
Meeting 2016 03 21
Meeting Devtools Servo 2
Meetings
Microdata project
Minutes Hackathon 2012 03 27
Missing DOM features project
More ServiceWorker support project
More developer tools student project
Mozlandia Automation
Mozlandia B2S
Mozlandia JS
Mozlandia Rust In Gecko
Mozlandia WPT
Mozlandia gfx
Mozlando Devtools Servo
Mozlando Oxidation
Mozlando SM Servo
Mozlando Servo Bluetooth
Mozlando Servo MagicDOM
Mozlando Servo SMStrings
Mutation observer project
Mutation testing project
NCSU student projects
Network security project
Off main thread HTML parsing project
Offscreen canvas improvements project
Offscreen canvas project
Orlando Oxidation 2018
Oxidation 2015 11 05
Persistent sessions student project
Preparing ARM libraries for CI
Priority of CSS properties
Priority of DOM implementation
Priority of dom bindings
Private browsing student project
Profiling
Project proposal deadlines
Prototype JS form controls student project
Prototype ways of splitting the script crate
Publishing a new ANGLE NuGet version
Publishing a new app store release
Push vs Pull for caching
Random web content project
Refactor GLES2 student project
Refactor bluetooth support student project
Remaining work
Removing push notifications from IRC hooks
Replace C libraries student project
Report new contributors project
Representation of computed style
Research
Reviewer
Roadmap
Running Web Platform Tests on Servo
Rust HTML parser
Rust SpiderMonkey debugger API
Rust cssparser code walk 2013 08 02
SaltStack Administration
San Francisco Oxidation
Servo Benchmarking Report (December 2024)
Servo Benchmarking Report (November 2024)
Servo Benchmarking Report (October 2024)
Servo Layout Engines Report
Servo and SpiderMonkey Report
Servo for Gecko Developers
Specification Links
SpiderMonkey related tasks
SpiderMonkey infodump
SpiderMonkey upgrade details
Storage student project
Streaming webassembly student project
Strings
Student project brainstorm
Student projects
Styling overview
Stylo hacking guide
Summer of Code 2014: Implement XMLHttpRequest
Summer of Code 2016: Fetch API
Summer of Code 2016: File support
Summer of Code 2016: ServiceWorker infrastructure
Summer of Code projects
Summit meeting 2013 09 09
Support WebDriver based tests project
Syncing web platform tests (WPT)
TaskCluster
Testing
Tools
Tracking intermittent failures over time project
Transcription Notes from Servo Architecture talk in Suwon
Transcription notes from rust patterns talk in suwon
Transcription parallelism
Transcription rust concurrency
Transcription rust runtime
Transription layout and acid2
Trinity College Dublin student projects
UPenn student projects
Updating the Rust compiler used by Servo
Upgrading non taskcluster linux CI machines
Upgrading the UWP gstreamer binaries
Upgrading the windows LLVM binaries
Upgrading wptrunner
Using DOM types
Using Rust Spidermonkey Prototype
Using WebWorker Prototype
Version 0.1
Videos and presentations
WebAudio JS interfaces student project
WebAudio nodes student project
WebCompatBug
WebSocket student project
Webdriver student project
Webdriver tests student project
Webrender Overview
Whistler 2019 notes
Whistler Bugzilla
Whistler FFOS
Whistler GFX
Whistler Houdini1
Whistler Houdini2
Whistler Necko
Whistler Oxidation 2019
Work items for new contributors
Workweek COW DOM
Workweek alt js
Workweek android arm
Workweek boot 2 servo
Workweek compiler lints
Workweek displaylist
Workweek dogfooding
Workweek encoding
Workweek generated content
Workweek governance
Workweek graphics stack
Workweek graphics toolkit
Workweek incremental layout
Workweek js bindings status
Workweek layers
Workweek layers2
Workweek pixels
Workweek rasterization
Workweek reftests
Workweek roadmap
Workweek script crate
Workweek security
Workweek string interning
Workweek tables
Workweek writing modes
XML parser student project
infra triage notes
jQuery status
webxr.today support
Clone
3
Oxidation 2015 11 05
Lars Bergstrom edited this page 2015-11-10 07:22:28 -06:00
Notes
Oxidation spreadsheet: https://docs.google.com/spreadsheets/d/1HYoEo5Vx9XuFWFh_1zGWtT-pvebNqspY-PqbUzh3y7Q/edit#gid=0 Public web version: https://docs.google.com/spreadsheets/d/1HYoEo5Vx9XuFWFh_1zGWtT-pvebNqspY-PqbUzh3y7Q/pubhtml
Attending
- larsberg, edunham, glandium, rillian, acrichto, vgosu, brson
Linux distro suppport
We have a thread (https://internals.rust-lang.org/t/perfecting-rust-packaging/2623) and some status info (http://www.edunham.net/2015/07/07/rust_packaging_status_across_distros.html). What do we need for when a Rust component is on by default?
- rillian: is Mach install ok as an alternative to distro support? - I worry that we shouldn't put distro support on a path for developer convenience, but rust is still changing very quickly. if we rely on distro packaged versions, it'll slow down our ability to adopt useful features. plan was to use tooltool to install toolchain, do official builds with that, and let devs install whatver version they want. needs to be easier for devs; ted wanted it in mozilla build package that windows devs use. could also have mach subcommand that installs latest version someplace.
- acrichto: We have nightly builds for all of the platforms that can be downloaded and used by developers.
- rillian: 1) CI is behind a firewall, so it would need a proxy to get a build like that. 2) People on slow bandwidth would object to downloading 100MB. See how it goes?
- glandium: Two things. The developer side - having Rust available for local dev for FF devs. Other side is having Firefox built by linux distros for redistribution. Big difference. It's almost OK for the dev side if we have people use a nightly build. But linux distros building Firefox will not be OK with that, which is an issue when we require Rust. For example, Debian. Started talking about it with them. Would need to have a Rust compiler in debian-stable. Once it's there, it won't be updated for quite a while. So if we get 1.5 there, it will be there for a LONG time. Makes things harder. Already have that problem with GCC - have to use old versions of GCC so that people can redistribute it. FF devs can use a newer version, but for distros we have to support older versions. Can't rely on them updating it every six weeks or something.
- rillian: Debian's policy on self-hosted compilers?
- glandium: At least for debian, you can't do that. But probably true for fedora, too. Can't build a package without everything also in packages. Just downloading would be bad. Probably true for most distros.
- rillian: fedora wants firefox to switch to app packages. Maybe debian needs to package parallel installable versions of Rust?
jemalloc
- rillian: Needs 1.5?
- acrichto: In 1.4 stable. You can use the normal hooks to use your own jemalloc.
Which version of Rust?
- rillian: Been trying to stay with stable. Feelings? But we need better dep generation, and would have to wait 5 weeks.
- acrichto: I'd recommend staying in the stable subset of features. But if you need bugfixes or feature changes from nightly for a better dev experience, it seems fine. Stable is much better, when possible.
- brson: Once Rust is on by default, it should definitely be against stable.
More than one project
- acrichto: If you build a static lib, you can only have one of those, b/c of the Rust static lib. If you link everything in manually, that's fine.
- rillian: Need an extra step that pulls in all the deps and does a separate link pass, unifying the dependencies. So,
libgeckorust.aor similar. - acrichto: Only hard part would be picking up the standard library and crates they use. Also libcompilerrt.a. Beyond that, should work fine...
- rillian: Does the compiler emit those? Similar to emit the Rust libraries?
- acrichto: No, it's a very rust-specific format.
- brson: Could also have an auto-generated crate that links all the rust crates into one library...
- acrichto: One lib.rs that points at all the rust projects could link them all together. This project is about having more than one project; easiest is to have a single one.
- glandium: Require cargo?
- acrichto: Nope, can just call rustc.-
- rillian: Right now, I turn all my crates into modules, and then the Rust compiler will traverse & include the toplevel code.
- brson: Scary :-)
- acrichto: How do you link into firefox itself?
- rillian: Make a staticlib from every crate & just gets linked in. Mac is fine and can discard. Linux & Windows it's harder. (Actually, I think this works on Linux too. May depend on specific versions.)
Cargo
- rillian: Traditionally, we've been hostile to external build systems. What needs to be there for Cargo to work?
- brson: Not hitting the internet and a self-contained build is important. Also a requirement for debian & other package managers. Issue open to address this, but don't know what the final solution is. Also want crate dependencies on some server?
- glandium: No dependencies on a server. Everything should be in-tree. No magic, no network, etc.
- brson: Same thing distros want - package the app with all the crates dependencies, etc.
- glandium: Different slightly. Servo would have http library as a separate package, but in Gecko, we don't need that - want just all the source trees for all the dependencies in-place.
- brson: Yes. Debian says they want to put everything into /etc and then to point all those deps at the /etc folder.
- rillian: Kinda want both. Want the build to work from in-tree, but also want Cargo to be able to tell me there are new deps available, port the source into the tree. So, a dev mode where you can hit crates.io to find the updates, etc. I mean, there's
CARGO_HOME... - acrichto: Can always have deps that have
paths, but that would be totally separate from Cargo. - brson: Good to hear this requirement - that Cargo could handle the updates to those dependencies.
- brson: In packaging, we'd considered ignoring this problem since Debian was just going to rewrite all the Cargo.toml files to have paths deps instead. I'm not sure that punting on this problem is a good idea.
- rillian: Can you hook into the pluggable Cargo backends?
- acrichto: There's some flexibility to point to a local git repo, but it's still very finicky.
- acrichto: Can you explain why gecko vendors all the code in-tree?
- glandium: If you look at how things are built (like in debian), once the source is downloaded, build machines no longer have network connectivity.
- acrichto: Doesn't generate-source-tarball have an opportunity to hit crates.io & handle a source tarball?
- vgosu: Also, everything that we use to build firefox is in-tree to ensure it has been reviewed. Otherwise, you can get a backdoor introduced via crates.io.
- glandium: We really want to know exactly what we're buildling.
- brson: We crypto sign our code, etc., but I understand why you want to have it all in-tree.
- acrichto: I understand this requirement, and it really does sound like "online updates, offline builds, in-tree repo" is going to be needed.
- larsberg: As a Servo dev, I'd be very interested in whether we could also use this to edit our stuff :-)
- glandium: That said, don't need to block on this, if we can get the rustc stuff working. Or can even just hack up cargo toml files, even if there's no tooling.
- acrichto: Luckily, cargo is standalone from the compiler. Cargo is both forward and backwards-compatible with rustc, if that also helps for any decisions related to rustc compiler versions.
"how all those things fit together"
- glandium: Mostly covered. My main question was how do we actually get this into Firefox? How do we get multiple things in Gecko, what does it all involve at the build level, etc. Just figuring out how we make that work. Maybe cargo is an answer - maybe something else?
- brson: Sounds like there's a path forward for most of the problems we've chatted about. Could have Cargo have some feature that lets you locally-download all your dependencies into a local repo, install updates, etc. In the Gecko tree, the only custom code is a single rust crate that mentions all the deps you have. Then, there's some step where Cargo can bring them down and up. So, there would be one master crate and that's not part of crates.io, etc. - it's just the glue that holds everything together. One giant static lib.
- glandium: Would that require some specific directory layout? One thing is that in gecko, different teams will have different sub-parts in Rust. And they have organizations with separate directories, so Rust could would be in SM, gfx, net, etc...
- rillian: Also, it would introduce a dependency on other components any time you want to build yours.
- acrichto: The dependencies can point via relative paths to pick up a bunch of projects.
- brson: Yes, for the projects that are in-tree, but for the things that are mirrored from crates.io, those would probably need to be in a single external-crates directory (or 3rdparty or w/e).
- acrichto: I assume you already have a vendored code folder and crates.io could be there?
- brson: I was thinking there woudl be no distinction, but with the scattered code, you need to be able to handle it.
- rillian: Required for some of the split of glue code, 3rd party code, etc. Each has different review requirements.
- brson: Still have that model for 3rd party stuff?
- rillian: I don't care where they are, but definitely have different review requirements. Sometimes need private-patched versions of things.
- larsberg: What about sequencing? If rust is built all at once, then we can't build C after Rust...
- rillian: Probably mainly a problem with bindgen, but we can worry about it later.
status
- rillian: On OSX nightly, the MP4 parser is now ON! Maybe just debug builds, not release builds. Getting there!
- rillian: My priories are: jemalloc, something with multiple projects, and some build/releng work to get that happening on CI.
- larsberg: nfroyd is also working on this stuff in Q4 and can help!