pathfinder
Servo
pathfinder | Servo | |
---|---|---|
16 | 134 | |
3,458 | 26,075 | |
0.9% | 1.0% | |
6.3 | 10.0 | |
about 1 month ago | 2 days ago | |
Rust | Rust | |
Apache License 2.0 | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pathfinder
-
Capturing the WebGPU Ecosystem
https://github.com/coconut-xr/apfel-kruemel works today, I only know about battery-optimized software in the context of games though.
https://felt.com/blog/svg-to-canvas-part-2-building-interact... and https://github.com/servo/pathfinder/ might also be of interest.
-
Servo, the parallel browser engine written in Rust
Parts of Servo to enable the use of the GPU for compositing layers were merged into Firefox years ago.
https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-f...
It's a shame that Patrick Walton didn't get a chance to finish his work on the Pathfinder GPU renderer.
>Pathfinder 3 is a fast, practical, GPU-based rasterizer for fonts and vector graphics using OpenGL 3.0+, OpenGL ES 3.0+, WebGL 2, and Metal.
https://github.com/servo/pathfinder
-
Forma: An efficient vector-graphics renderer
You might be interested in https://github.com/servo/pathfinder
-
What do you believe Firefox is missing?
It uses too much CPU and performance leaves much to be desired compared to Chromium. They were going to use Pathfinder in Firefox to solve this problem, but since Pathfinder is discontinued due to the massive layoffs at Mozilla, the project was abandoned. And they need a replacement IMO.
-
Stereokit – open-source mixed reality library by Microsoft
I am not an expert in the area, just somebody who read up on it after realizing desktop in VR does not work out for me (and usually low res is not a problem).
I think something like https://github.com/servo/pathfinder (newer) and as you mentioned SDF (older) are the latest approaches.
-
PSA: OffscreenCanvas now enabled by default on nightly only
This is exciting! And, by the way, are you planning to implement something similar to Servo's Pathfinder in Firefox?
-
Getting into GUI: Shapes moving on networks
Also on my list was pathfinder. There the documented crate is vastly different from https://github.com/servo/pathfinder which looks much more promising – it comes with a few examples, some of wihch might help me get started, maybe?
- De ce atat de multa lume urăște Java?
-
WebKit: Introducing the layer based SVG engine
Have you checked out the Pathfinder library?
https://github.com/servo/pathfinder
-
I wrote a web based text editor to showcase sauron framework, but it turns out better than I expected, less than 20ms typing latency.
Don't forget gpu-based text rendering (e.g. #1, #2, #3). It's still in its infant stages, and seems to be mostly untouched over the past 5 years, but I suspect it will become the preferred method for rendering text later.
Servo
-
GitHub Sponsor the Servo Rust project!
Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine
- Bringing Exchange Support to Thunderbird
-
CSS for Printing to Paper
> Is there any easy to use/hack HTML layouting engine where I could experiment with custom CSS attributes and bridge that gap? Would anything from Servo be suitable?
Servo could be used for this. You'd want to add support for parsing the CSS properties themselves to the style crate in https://github.com/servo/stylo and then the layout implementation to the layout2020 crate in https://github.com/servo/servo. You do effectively get a whole browser though.
I'm currently working on building a lighter weight / hackable layout engine based on a combination of https://github.com/servo/stylo (for css parsing and selector resolution), https://github.com/DioxusLabs/taffy (for box-level layout) and https://github.com/pop-os/cosmic-text (for flow/inline layout). I expect to have something decent in around 6 months
Neither of these setups currently have any support for pagination though.
-
The Ladybird Browser Project
Great to see some competition still alive in browser engine development. See also Servo (previously part of Mozilla) https://servo.org/ - that and Ladybird are still very underdeveloped compared to every day browsers.
It's a huge shame that there are no nightly builds of ladybird to try out but I assume that's because they just don't want the bug reports (if everything doesn't work it's pointless getting random bugs filed).
-
Mozilla's Abandoned Web Engine 'Servo' Project Is Getting a Well-Deserved Reboot
I haven't messed with it yet but from looking into it, this should absolutely work.
https://github.com/servo/servo/wiki/Building-on-ARM-desktop-...
-
An open-source browser engine written in Rust
don't know, there was a downtime in 2021 and 22 but since 2023, contributions look back to where it was before .. https://github.com/servo/servo/graphs/contributors
-
Modern Java/JVM Build Practices
The world has moved on though to opinionated tools, and Rust isn't even the furthest in that direction (That would be Go). The equivalent of those two lines in Cargo.toml would be this example of a basic configuration from the jacoco-maven-plugin: https://www.jacoco.org/jacoco/trunk/doc/examples/build/pom.x... - That's 40 lines in the section to do the "defaults".
Yes, you could add a load of config for files to include/exclude from coverage and so on, but the idea that that's a norm is way more common in Java projects than other languages. Like here's some example Cargo.toml files from complicated Rust projects:
Servo: https://github.com/servo/servo/blob/main/Cargo.toml
rust-gdext: https://github.com/godot-rust/gdext/blob/master/godot-core/C...
ripgrep: https://github.com/BurntSushi/ripgrep/blob/master/Cargo.toml
socketio: https://github.com/1c3t3a/rust-socketio/blob/main/socketio/C...
-
Top 10 Rusty Repositories for you to start your Open Source Journey
1. Servo
-
❓ Is Google flagging activity from Firefox and targeting uBlock?
It won't don't worry. There already are forks, for the worst case scenario. And Servo is on its way. Not yet ready, but it will be. Originally, from Mozilla kitchen.
-
Populating the page: how browsers work
To pain broad strokes, the layout phase (~= take the HTML, take the CSS, determine the position and size of boxes) is largely sequential in production browser engine today. Selector matching (~= what CSS applies to what element) is parallel in Firefox today, via the Stylo Rust crate originally developed in the research browser engine Servo. Servo can do parallel layout in some capacity (but doesn't implement everything), https://github.com/servo/servo/wiki/Servo-Layout-Engines-Rep... is an interesting and recent document on the matter.
Parallel layout is generally considered to be a complex engineering problem by domain experts.
https://hacks.mozilla.org/2017/08/inside-a-super-fast-css-en... is a really cool article that is related, that is a few years old but what it says is largely correct today.
What are some alternatives?
Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
lyon - 2D graphics rendering on the GPU in rust using path tessellation.
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
nanovg - Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
qtwebengine - Qt WebEngine
sauron - A versatile web framework and library for building client-side and server-side web applications
xsv - A fast CSV command line toolkit written in Rust.
StereoKit - An easy-to-use XR engine for building AR and VR applications with C# and OpenXR!
xi-editor - A modern editor with a backend written in Rust.
femtovg
Fractalide - Reusable Reproducible Composable Software