Reply to post: Implementation

Firefox 78: Protections dashboard, new developer features... and the end of the line for older macOS versions

Charlie Clark Silver badge

Implementation

Why, one might ask, does the same reasoning not apply to the entire JavaScript engine? Should Mozilla just migrate to V8?

Well, regexes really count as DSLs (domain specific languages), which is why the two browsers have been using the same approach for years. The change presumably includes some kind of binding so that the V8 engine can be called directly and doesn't have to be ported.

The same does not necessarily apply to the JS runtime. But I do think we will start to move towards consolidation other areas such as HTML, CSS and JS parsing, areas where Mozilla's use of Rust might have advantages.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon