10 ms·
Announcing WebKit2
- mbrubeck 17y agoOoh, and with multi-process coming to Firefox and other Mozilla apps (https://wiki.mozilla.org/Electrolysis https://wiki.mozilla.org/Electrolysis), soon we'll have multiprocess/async web browsing everywhere.
- xpaulbettsx 17y agoDropped Linux support in the process :-/
- andymoe 17y ago"Currently WebKit2 is available for Mac and Windows, and we would gladly accept patches to add more ports." does not sound like they are dropping anything.
- othermaciej 17y agoWe're also not deleting any of the existing APIs - we expect there to be a gradual migration to the new model.
- xpaulbettsx 17y agoI only worry that if Linux isn't an official platform, it won't get the same updates that the real ones will and will fall into bitrot.
- olliej 17y agoWebKit isn't an end user product -- it's a library, ports are maintained by the people who want the port, there are active gtk, qt, wx, and efl ports. WebKit doesn't have a set of "supported" platforms, each port is responsible for maintaining their own backend support, and their front facing API. There's also the element of "linux" not meaning much in this context -- as I said above there are multiple port, eg. webkit/gtk, qtwebkit, webkit/wx, etc
- malkia 17y agoI understand the need for each process to be in a separate process, but would've all this special code (to separate processes) would've been needed if Windows had implemented fork()?
- jfoutz 17y agoI'm not sure if you're kidding :) No, you still need all of the parent/child communication. if a child tab dies, who cleans up the mess? If the user changes rendering preferences, how do you update all the client process? At the very least there's some infrastructure to coordinate parent and children. It's likely they do clever things so each visible window can be rendered by multiple processes, without the ui getting fubared.
- Hoff 17y agoIf you're not kidding about that... fork() is a long-standing thorn when porting code onto some platforms; it's seldom used for what it was originally intended for, and (when it is) the copy-on-write memory semantics and the file descriptors and network contexts and such aren't widely adopted. About 95% of the cases reviewed during the ports were using fork() as a way to start a process; as a way to do a vfork()/exec() and to create a separate process. The remaining 5% of those applications were using the memory address spaces and the I/O channels and the rest of the process context. Which makes those really difficult to port to a platform that lacked a full-on fork().
- xpaulbettsx 17y agoTrivia time, the Windows kernel actually does implement fork, it just doesn't expose it to the Win32 subsystem. I keep trying to convince the kernel devs to expose it, because it'd be extremely handy for UAC if you had a ForkAndElevate() function that would create a forked child with elevated Admin privileges.
- mlinsey 17y agoSomeone once told me that the NT kernel is designed so that with a couple config changes you can make it behave like Unix or OS/2, with Windows being just one "personality" on top the device, supposedly because MS was contracted to build several different OS in the early 90s. Is this what you are referring to by "the Win32 subsystem"? Does that still work? Or have there been so many changes over the years that something crazy would happen if you tried to run NT OS/2?
- LoupSolitaire 17y agoOnce webkit 2 released, they may add a feature that split lines at 80 characters in their MUA :)
- deleted 17y ago[deleted]
- briansmith 17y agoOr, the mailing list archive software could just render it reasonably like good MUAs do.
- nailer 17y ago80 characters wouldn't make sense: most people view text in variable width fonts, which are generally considered easy to read. A better idea would be to contain the text in something.
- toisanji 17y agoWhat are the pros and cons for allowing other clients to use it as opposed to what Google Chrome offers?
- olliej 17y agoWebKit is used by many different applications and browsers (eg. Epiphany, Arora, Omniweb, Shiira, etc) -- by incorporating multiprocess support directly in webkit all of those applications can make use of it.
- othermaciej 17y agoWebKit is also used in lots of other applications that are not browsers, but may be getting untrusted content from the network, or that may be rendering complex content but need total responsiveness. For example, Mail, iChat, Adium, Colloquy, lots of other chat clients on Mac too.
- MikeCapone 17y agoThis can only be a good thing for the web. In a twisted way, I'm kind of disappointed, though; it'll make the choice between Chrome and Safari a lot harder. Right now I'm using Chrome 95% of the time, but if Safari becomes much better, I might end up sitting between two chairs. Anyone knows what the implications of this are for Chrome? They use Webkit. Will they stay on Webkit1 while Apple splits with V2?
- pavs 17y agoSafari has bigger issues than rendering engine. (at least for me) I don't even have to open a website, just open a new tab and its starts beachballing just to load the new tab. Also extensions are a big part of my browsing experience. Safari doesn't have large extension community like firefox and Chrome. Simply put, for me, chrome is more than its rendering engine. Overall its just a well rounded piece of software with very frequent updates, which is very unique among browsers.
- MikeCapone 17y agoI would be very surprised if Apple took the time to re-write the rendering engine but didn't also work on the UI. I suspect that when this new rendering engine launches, it will probably wrapped in a UI that copies most of the innovations of Chrome (and hopefully improves on them) in the same way that Chrome took a lot from others.
- cpr 17y agoIf what you say is true (beachballing when open a new tab), you've got some serious issues particular to your system.
- eob 17y agoI agree. People always seem to bash Safari in discussion boards, and I always read these comments a bit confused. I've used Safari full-time for the past 2.5 years, and I've never once had a problem. I downloaded Chrome and didn't notice anything significantly different than Safari (other than the strange-looking tabs, from the standpoint of someone used to Safari), so I shrugged my shoulders and deleted it. I'm not saying Safari is a superior browser. Just that it has always seemed perfectly fine to me.
- elblanco 17y agoI'm personally very excited about this. We use Webkit a bit and really really like it.
- bbatsell 17y agoHonestly, I'm not all that enthused about this. Once Safari segregated plug-ins to separate processes, I've literally not had a single crash from a stable version (there was a buggy nightly build about a week or so ago that crashed twice in a day — oh, the humanity!). I use my browser pretty much 16 hours a day, and can easily have 50+ tabs at any given point in time. Even though Chrome has extensions that I would appreciate, since each one of Chrome's tabs has to set up its own address space, it uses a significantly higher amount of RAM than Safari altogether — which makes Safari the browser I use 95% of the time.
- zefhous 17y agoIf Apple waited until they needed something like this, it would already be too late. That's why they are doing it now. It's not that WebKit isn't good enough as is, they just want to make it that much better.
- jollojou 17y agoI have always wondered why people keep so many browser tabs open. From my point of view, open tabs represent unfinished tasks or web pages I should go back to as soon as possible. At work, I have four browser instances open: three Chromes and one Firefox. I have placed two of them on the same virtual desktop, and the remaining two browser instances are on separate virtual desktops. On the first virtual desktop I manage my work-related tasks, such as company email, Hudson and VersionOne, a project management tool for agile software. The browser on the second virtual desktop is for developing software: the web application I develop is on it. The third virtual desktop is for fun and free time use. Altogether I have about ten browser tabs open; even that is too much. I feel that the more tabs I have open the more fragmented my attention is.
- sohooo 17y agoI loved the Omniweb tabs sidebar for this high amount of open pages. Sadly, the development of it kinda stalled.
- othermaciej 17y agoMemory use is one of the things we're going to watch out for as we make progress on the new model.
- ash 17y agoHow do you read it without horizontal scrolling? I've tried Readability, but it doesn't help...
- cool-RR 17y agoI did "View Source"...
- PostOnce 17y agoValid suggestion, though copy + paste into a word processor might be easier/yield better results. Whoever downvoted you has too much spare time.
- dmm 17y agoSame way I read everything, in emacs.
- roc 17y agoInstapaper's "Text" bookmarklet worked for me.
- cninja 17y agoOpera -> View -> Fit to Width
- pistoriusp 17y agoI just read it by scrolling sideways. Holding down shift whilst using the mouse wheel.
- erikwiffin 17y agoI did not know you could do that. Thank you.
- Timmy_C 17y agoFirebug --> HTML tab --> inspect <pre> element --> edit --> change <pre> tag to <p> tag
- abdulhaq 17y agoI guess Apple are now working on a switch that will prevent the running of Cappuccino, GWT and pyjamas web apps - they don't use 'raw' javascript.