inexorgame-obsolete / deprecated-cube-engine-inexor

UNMAINTAINED: Please have a look at the vulkan-renderer
https://inexor.org
zlib License
12 stars 1 forks source link

Consider switching from Chromium to Servo #535

Open Croydon opened 7 years ago

Croydon commented 7 years ago

This might solve problems like #490, #371

Blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=1386669 & https://bugzilla.mozilla.org/show_bug.cgi?id=1386674

On the downside:

https://hackmd.io/BwJhEMQMwZgBgLQDYCsBTKCAsBjAjJsFgJxoLErEjAzF4gAmMaQA# https://bugzilla.mozilla.org/show_bug.cgi?id=1311790 https://github.com/servo/servo/tree/master/ports/cef https://github.com/servo/servo/issues/9147

a-teammate commented 7 years ago
  1. installing the rust compiler could be done via conan. downloading Rust is only necessary if you build the "CEF-Servo" package from source otherwise we only link the prebuilts.
  2. Yes true, we might want to switch later. The deadline for Firefox 60 is May 2018, see https://wiki.mozilla.org/RapidRelease/Calendar We will develop against the CEF API anyways till then.
Croydon commented 6 years ago

Servo removed the support for CEF for the moment. https://github.com/servo/servo/issues/9147#issuecomment-411944715

Waiting for it to (hopefully) come back...

aschaeffer commented 6 years ago

Hopefully.

a-teammate commented 6 years ago

The idea is that servo gets rid of the CEF API to improve the usability of servo in all kinds of applications. Servo is already aimed at being embeddable and in some way they established concepts superior to CEF's "you get chrome and some layer on top to disable features and make it embeddable". Instead you get "these are the bare components, use them to build a browser, or whatever"

a-teammate commented 6 years ago

Okay, I looked into servo some more regarding the issues:

Rust

  1. Rust functions can be executed pretty easily from C -> This is not a problem
  2. The rust toolchain needs to be installed. -> This needs an additional conan dependency

Dependencies

There are a lot less dependencies for Servo than for CEF, building should be much more straight-forward.

@Croydon: what do you mean by

Blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=1386669 & https://bugzilla.mozilla.org/show_bug.cgi?id=1386674

Servo is used in firefox already, so why are these blocking?

Croydon commented 6 years ago

Servo is used in firefox already, so why are these blocking?

There is a huge difference between using parts of Servo in Firefox (this is the case) and having full Servo in Firefox, which will still take same time and maybe a long time.

These meta bugs I linked to can be a good indicator and how stable Servo as a whole is.

Fohlen commented 5 years ago

As far as we evaluated on the hackathon #608 Servo will remain unfit for our use in the realistic future.