TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Can Servo be a clean and modern reference platform for developers?

62 pointsby slasausover 9 years ago

7 comments

acqqover 9 years ago
&quot;Personally I would prefer to have a less complex (and hopefully more secure) engine, over a monolithic blob of code that is compatible with a lot of websites but will end up to be utterly complex (as a NoScript&#x2F;RequestPolicy user I don&#x27;t mind sites to break a bit).&quot;<p>It seems to me that the author of the question never looked at any of the details of what and how is actually implemented and asks &quot;just so, in principle.&quot; Which can be more distracting that bringing any value to the project.<p>Even if we stay on that level of &quot;not knowing what we actually and specifically want and don&#x27;t want&quot; what&#x27;s the expected use of the engine that effectively doesn&#x27;t work? The &quot;reference.&quot; Would enough web developers then really even consider it worth of the effort? What would the web developers have by producing the code for something that somebody calls the &quot;reference&quot; which is otherwise unusable?
评论 #10130037 未加载
评论 #10129834 未加载
pcwaltonover 9 years ago
Given that my comment was called out here, I should probably clarify. The vast majority of the bugs I&#x27;ve been fixing in Servo have been related to standards compliance, not inserting hacks to make existing Web sites work.<p>There will unavoidably be some of the latter, but the fact is that the Web standards are pretty decent nowadays.
slasausover 9 years ago
Another issue I have with browsing in general is that it&#x27;s such a complex eco-system, there is simply no real secure webbrowser around that meets standards comparable with other secure software like RedPhone [1], Dovecot, Postfix, OpenBSD etc. All JavaScript engines are huge complex beasts (yes, V8 too), the new EcmaScript spec is 566 pages long[2], WebRTC and all it&#x27;s required dependencies, xml, WebGL, etc. etc.<p>Even in order to be &quot;only&quot; compliant with modern specs, there is no escape from creating an extremely complex piece of software. This hurts real world security for everybody to the point where it might be better not to browse at all on machines with which you can access private servers or your private mail or conversations. It would be nice if there were some smaller browsers that didn&#x27;t focus so much on backwards compatibility, but on leveraging the most important features so that most of the web could be browsed, still without sacrificing end-user security by implementing each and every feature and performance tweak. In the end, the OS and the browser should be trustworthy by the user.<p>[1] &quot;Overall code quality: After reading Moxie&#x27;s RedPhone code the first time, I literally discovered a line of drool running down my face. It&#x27;s really nice.&quot; <a href="http:&#x2F;&#x2F;blog.cryptographyengineering.com&#x2F;2013&#x2F;03&#x2F;here-come-encryption-apps.html" rel="nofollow">http:&#x2F;&#x2F;blog.cryptographyengineering.com&#x2F;2013&#x2F;03&#x2F;here-come-en...</a><p>[2] <a href="http:&#x2F;&#x2F;www.ecma-international.org&#x2F;publications&#x2F;files&#x2F;ECMA-ST&#x2F;Ecma-262.pdf" rel="nofollow">http:&#x2F;&#x2F;www.ecma-international.org&#x2F;publications&#x2F;files&#x2F;ECMA-ST...</a>
评论 #10130481 未加载
github-catover 9 years ago
The reality is that we want everyone to be happy, so we are often forced to workaround the workarounds. The end result is everything gets slowed down and messed up gradually.<p>This happens because of many reasons but it will happen in the future again and again. This is part of software development.<p>The best thing we can do to reduce this kind of cost is to think before we do. A good design and discipline often saves much.
taericover 9 years ago
I would rather a realistic and functional reference for developers. Being a clean and modern charade is almost certainly part of the problem with most reference material.
mtgxover 9 years ago
Mozilla really should be as aggressive as it possibly can be about Servo and rewriting other core components in Rust. This is what will give Firefox that new &quot;fresh look&quot; that Firefox is in dire need of. If they do this and they do it quickly I guarantee both developers and users will start actually being <i>excited</i> about Firefox again, as opposed to content at best (mainly because it&#x27;s what they were already using or have a radical anti-Google stance, despite all the security benefits of Chrome compared to Firefox right now).<p>In my opinion, Mozilla shouldn&#x27;t have even tried to implement Electrolysis in Firefox and shouldn&#x27;t have announced a switch to WebExtensions in it either. Instead, it should&#x27;ve done what Microsoft did and create a new browser in Rust from scratch, with a much cleaner, easier to maintain codebase that would also be much more secure in the long term.<p>I don&#x27;t know if Mozilla&#x27;s funding would even allow for that, but I think that would&#x27;ve been the <i>better</i> strategy. The putting lipstick on a pig usually doesn&#x27;t work, and it usually pisses off those who <i>preferred</i> the way the pig looked before, too, causing said platform to lose both old and potentially new users.
评论 #10130534 未加载
评论 #10129784 未加载
评论 #10130393 未加载
评论 #10135584 未加载
hacker_9over 9 years ago
Are the latest standards not full of legacy ideas though? Really we need to throw away html&#x2F;css&#x2F;js and create something better from everything that has been learned.<p>What about replacing clientside javascript with Rust?
评论 #10129824 未加载
评论 #10130038 未加载
评论 #10130844 未加载