9 ms·
Happy to answer questions (when I wake up; getting this ready has been a lot of work, needless to say) :) It goes without saying, but as this is the very first
by pcwalton 10y ago
Happy to answer questions (when I wake up; getting this ready has been a lot of work, needless to say) :)
It goes without saying, but as this is the very first nightly (not by any means a full-fledged release), expect severe bugs, crashes, and missing functionality. Many of your favorite sites will be broken. Don't expect to use this as your everyday browser. We'd love feedback on what issues folks hit the most, so we can prioritize—especially if you're a Web developer!
- slimsag 10y agoLooks like visiting a Youtube video linked to via reddit.com/r/videos crashed it. The whole UX is locked up, so I can't click the "Click to submit report" button either. screenshot [1] Either way, I'm already impressed by how zippy it is :D [1] http://virtivia.com:27080/1ekpk4zch3tjg.png http://virtivia.com:27080/1ekpk4zch3tjg.png
- Manishearth 10y agoI'm able to reproduce it, thanks for the report. I'll look into fixing it shortly. Note that youtube won't work on servo right now since video/flash doesn't work :)
- Manishearth 10y agoFixed: https://github.com/servo/servo/pull/12003 https://github.com/servo/servo/pull/12003 There's a more serious error in the url parsing that caused this, due to some wierd stuff google is doing with punycode. I haven't looked into that yet. But youtube no longer crashes -- so you can now enjoy window-shopping on youtube!
- Lukas_Skywalker 10y agoDaaaamn that was fast. Keep up the good work!
- _jezell_ 10y agoFix for parser https://github.com/servo/rust-url/pull/208 https://github.com/servo/rust-url/pull/208
- marcusarmstrong 10y agoFirst of all, congratulations on a huge milestone for the whole team. As I understand it, this is shipping with WebRender enabled, right? How far out is WebRender 2 from making it into the nightly?
- pcwalton 10y agoYes, this is using WebRender by default. The WebRender 2/WebRender Next branch can render most content just fine at this point, but we went with the mainline branch for the initial nightlies, as it's more mature and stable.
- PudgePacket 10y agoCould you give a quick explanation (or link to one!) on the difference as a casual observer? Is WebRender like WebKit ?
- pcwalton 10y agoHere's a talk I gave on it: https://air.mozilla.org/bay-area-rust-meetup-february-2016/ https://air.mozilla.org/bay-area-rust-meetup-february-2016/
- psiclops 10y agoGreat to see your progress so far. Looking forward to using it P.S. The app icon is the best part by far!
- pimeys 10y agoIt seems the linux build doesn't respect the system keyboard settings. I'm not able to write scandinavian characters äöå at all... Happy to see a nightly already, I must read the source at some point :)
- Manishearth 10y agohttps://github.com/servo/servo/pull/11950 https://github.com/servo/servo/pull/11950 , should get fixed in a few days
- pcwalton 10y agoThis is PR #11950: https://github.com/servo/servo/pull/11950 https://github.com/servo/servo/pull/11950
- iamcreasy 10y agoKudos on reaching milestone. Can't wait to try it out. When is the Windows build will be available? Days? Week(s)?
- larsberg 10y agoWe're hoping for days, but it needs a lot more testing. We're (unfortunately, due to some font-related issues) still building Windows with the mingw toolchain, which makes build & packaging more complicated.
- metajack 10y agoWe were hoping to make it yesterday, but ran into some issues. It's hopefully not more than a few days work. Servo works fine, and we have an installer, but when run from the installer there are some weird things we weren't able to track down in time.
- p0nce 10y agoI miss SVGs, <audio>, Youtube embeds, and the layouting is off. Sometimes mouse wheel doesn't work, was stuck once scrolled. Biggest problem is keyboard layout isn't right. I tested on OSX, nice work overall!
- Manishearth 10y agoThere is a fix in the pipelien for keyboard layout, and we are aware of the mouse wheel issue. Please file bugs for layout being off -- we know that this sometimes happens, but it's good to have testcases. As for embeds, that's not priority now, but we should eventually get them.
- vanderZwan 10y ago> A stand-alone copy of this page is available for use in other browsers to compare performance. Speaking of which, do you have any systematic benchmark testing set-up for comparing various performance aspects? If so, what are the numbers?
- Manishearth 10y agoWe have https://treeherder.allizom.org/perf.html#/graphs?timerange=2592000&series=%5Bservo,fa13b4451149bf7a5cc1361e22154f5165ec3734,1,8%5D&series=%5Bservo,1e657115c9bc80a8400875ebc0e0c97402899f67,1,8%5D&series=%5Bservo,0f0b217962ea5748c137d0c5927bd85c28ec2661,1,8%5D&series=%5Bservo,8bf74f1cf43a3628d242086847b2048444d1a55a,1,8%5D&series=%5Bservo,9241bc5d3b8170dcaa8efaa06c972fbae9334772,1,8%5D https://treeherder.allizom.org/perf.html#/graphs?timerange=2... It's not really ready for public consumption, just a dashboard for us to tell how we are doing.
- po1nter 10y agoDo you have an ETA for when the Windows version might be available for us to try?
- deleted 10y ago[deleted]
- stshine 10y agoThe Windows version is not availiable because mozjs the JavaScript engine, Or say, SpiderMonkey, fails to compile on windows currently, and servo developers can not know when it will be fixed. Once it can be build on windows, windows version may come out soon.
- metajack 10y agoThis is not true. Servo and Spidermonkey compile fine on windows using the mingw toolchain. For the MSVC toolchain we don't have that fully working, but obviously Spidermonkey is not the problem there since the official Firefox builds use MSVC. Mostly we have to fix the build glue. The Windows port didn't ship yesterday because of technical glitches post-install. Servo works fine, but after installation it had some strange behavior we couldn't track down in time. It should come in a few days.
- lisivka 10y agoWhy not to try Linux? It's free. It's made by developers and for developers. Try Fedora Linux.
- Aldo_MX 10y ago> It's made by system developers and for people comfortable with debugging low level issues like kernel panics caused by faulty drivers. Fixed that for you :P PS. It is considered bad etiquette to ignore the issues of a Windows user and simply "recommend Linux" in a tech community like this, especially when a Windows build has already been promised. You don't know the reasons why someone is using Windows (ex. because of a policy of their employer).
- pekk 10y ago> expect severe bugs, crashes, and missing functionality. I really don't mean this in a snarky way: wasn't this kind of thing supposed to be obviated by the switch to Rust? It often seems that every other post about Rust on HN says that if it compiles, it works.
- IanCal 10y agoNo language can fix missing functionality, that seems pretty clear. Your compiler doesn't know what you're trying to do, so you can't prevent all bugs. That leaves crashes, and ... well it may also depend on what you mean by a crash. The UI becomes unresponsive? Might have absolutely nothing to do with memory issues or even code written in rust. Maybe your rust code is fine but you're trying to open and write to the same file from two places which you don't realise because the users file system is case insensitive but you've only tested on a case sensitive one, etc. It's also multi-threaded and while languages can significantly help improve the safety of multi-threaded code, I don't think anything can stop you from creating a deadlock or putting your system into an inconsistent state. And finally, they may not even particularly expect those things, but putting out early nightly builds to a wider audience and expecting nothing to go wrong would be cavalier. A typical warning on many early releases is "don't blame me if this destroys all your files".
- Manishearth 10y agoBy crashes we mean panics. We still panic in various places in the code when something goes wrong.
- tinco 10y agoTo clarify, a panic in rust is the result of an unhandled exception. Usually this is due to laziness rather than a real bug. For example Servo might encounter an IMG tag, start to load the body. The result might be stored in an option because something could have gone wrong during loading (peer disconnected etc.) but the developer didn't feel like implementing robust image handling that day and instead called .expect to extract the image. This throws a panic and exits the application if the image is not there. This is just a hypothetical example, I bet image loading is one of the things Servo does fine. Just to give you an idea of when Rust might panic.
- epidemian 10y agoKudos on this milestone! A very general question: what's the high-level plan for Servo regarding Firefox? I see a lot of requests/issues dealing with stuff that doesn't seem related to a layout engine. Is the plan to have browser.html as a temporary incubator for Servo and eventually migrate it to replace FF's layout engine, or is it to "grow" an entire new browser around this new engine?
- Manishearth 10y agohttps://wiki.mozilla.org/Oxidation https://wiki.mozilla.org/Oxidation There are efforts to make various components work in Firefox. The largest effort is "Stylo", which replaces Firefox's selector matching with ours. I'm not sure what the future is on Firefox using Webrender or our layout; though I suspect it depends on how well stylo works. The plan seems to be to let Servo continue to evolve as a testbed for new ideas (like webrender), and share components with firefox whenever ready. An independent Servo product is not likely in the near future, since there's a lot of work to make it fully web compat. In the far future ... well, we can't tell :)
- Eridrus 10y agoI feel like mobile (Android, really) needs a fast, secure and extensible browser, I hope that Servo can help Firefox achieve those first two goals so that it could be my browser of choice
- Manishearth 10y agoServo is trying to be fast on mobile; there even has been some research work into the power efficiency of servo on mobile. Admittedly, android-specific efforts have slowed down in the past few months, but I believe it is still a goal :)
- Eridrus 10y agoGiven the fate of FirefoxOS and iOS' restrictions on browsers, is there any other mobile platform where Servo could actually be used?
- reddotX 10y agoany change of a snap or flatpak for linux?
- metajack 10y agoIt's not on the immediate agenda, but we'd cerrtainly accept a PR for this. We'll get to it ourselves eventually I'm sure.
- moosingin3space 10y agoI've started working on a flatpak.
- mkishi 10y agoAwesome work! I noticed that the Servo Nightly build is already about as big as Chrome or Firefox. As it's not yet a complete browser, I expected it to have a lighter executable. Do you know what lead to this? Is it a matter of build artifacts or optimization? Is Servo going to grow even larger while achieving feature-parity with other engines? It looks like Servo could be a great alternative for Chromium Content -- one of the things that keeps me from (ab)using Electron/NW/CEF is the massive initial overhead, and a WebRender-based UI with lower admittance price would change the whole scenario.
- outworlder 10y ago> I noticed that the Servo Nightly build is already about as big as Chrome or Firefox. Probably not apples to apples. I don't believe optimizing for executable size to be too high in their priority list.