New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromium adoption in Microsoft Edge and future of ChakraCore #5865

Open
liminzhu opened this Issue Dec 7, 2018 · 30 comments

Comments

Projects
None yet
@liminzhu
Copy link
Member

liminzhu commented Dec 7, 2018

Hello Friends of ChakraCore,

Yesterday, Microsoft Edge announced its intent to adopt the Chromium open source project in the development of desktop Microsoft Edge to create better web compatibility and less fragmentation for web developers and customers. You can read the announcement blog for more information.

We’ve seen your questions for ChakraCore and we want to be transparent and honest with the open-source community that has given us so much support. To be compatible with the rest of the platform and reduce interoperability risks, Microsoft Edge will use the V8 engine as part of this change. There is much to build and learn, but we’re excited to take part in the V8 community and start contributing to the project.

ChakraCore is currently being used in various projects outside the browser. So, despite the change of direction for Microsoft Edge, our team will continue supporting ChakraCore. We will ensure that any security vulnerability is patched in a timely manner, apart from bringing other enhancements to the engine. The project will also continue taking public contributions.

As the team learns from the move to support and contribute to Chromium and V8, we’ll keep the community informed about our progress and adjustments, if any, that we’ll need to make.

ChakraCore team

@nerocui

This comment has been minimized.

Copy link

nerocui commented Dec 7, 2018

Basically means this is like Windows Phone. Platform has moved, so only security patches. Which is good, v8 and blink are the future and the decision is only going to bring improvement.

@cpus133525

This comment has been minimized.

Copy link

cpus133525 commented Dec 8, 2018

I'm sorry for what I said before. I have some misunderstanding of the announcement. I hope Edge could be better.

@nerocui

This comment has been minimized.

Copy link

nerocui commented Dec 8, 2018

@cpus133525 oh believe me if there is an open platform that they can adopt and suddenly adds a big ecosystem of apps to windows, they will. Just look at all the bridges and pwa.

@TonyHenrique

This comment has been minimized.

Copy link

TonyHenrique commented Dec 8, 2018

If all this makes C++ and .NET and XAML (UWP/WPF/Windows Forms) come to the Web Browser (cross-platform), and help Web Assembly to improve (implement threads, for example), then I think that this will be a good thing to everybody.

@rhuanjl

This comment has been minimized.

Copy link
Contributor

rhuanjl commented Dec 8, 2018

I really hope ChakraCore can continue to have a role for years to come. In my opinion it's currently the nicest JS engine for an embedder to work with and it would be good if it could be maintained with that purpose - being the best for embedding whilst the other big 3 focus on browsers.

@saschanaz

This comment has been minimized.

Copy link

saschanaz commented Dec 8, 2018

ChakraCore was the most eager engine to implement ES2017, and now it's the only engine not having ES2018 object rest/spread in its latest stable release. I was always wondering why the change, but I can now understand that it's because no real push exists anymore.

@athenian200

This comment has been minimized.

Copy link

athenian200 commented Dec 8, 2018

I really hope someone takes the opportunity to pick up the slack and elects to use ChakraCore in some major project. I would love to see continued development on this. It would be a shame if no one ever used it again just because Chromium makes it so difficult to use Blink with any engine other than V8.

@dennis-yemelyanov

This comment has been minimized.

Copy link

dennis-yemelyanov commented Dec 8, 2018

DocumentDB already uses ChakraCore for stored procedures: https://azure.microsoft.com/en-us/blog/the-road-ahead-for-azure-documentdb-with-chakracore/

@fatcerberus

This comment has been minimized.

Copy link
Contributor

fatcerberus commented Dec 8, 2018

I’m using ChakraCore as the JS backend in my miniSphere game engine: https://github.com/fatcerberus/minisphere

We have full ESM support (including dynamic import()) and it was incredibly easy to embed, even in a codebase that was previously based on Duktape (whose API is Lua-like). I looked into V8 and Spidermonkey but their APIs are downright hostile to C-only codebases. I wasn’t about to rewrite half my codebase only to end up having to deal with the half a dozen breaking changes V8 seems to make on a monthly basis.

I pray ChakraCore sticks around for a long time to come. For now I remain cautiously optimistic...

@edwinyzh

This comment has been minimized.

Copy link

edwinyzh commented Dec 9, 2018

According to a Hacker News comment, the newly announced Scripting API of Minecraft is based on Chakracore, although I haven't dug further to confirm it.

@saschanaz

This comment has been minimized.

Copy link

saschanaz commented Dec 9, 2018

@edwinyzh Try object spread, it's probably ChakraCore if it doesn't work...

@edwinyzh

This comment has been minimized.

Copy link

edwinyzh commented Dec 10, 2018

@edwinyzh Try object spread, it's probably ChakraCore if it doesn't work...

Sorry I don't play MineCraft, maybe others can try it.

@JPVenson

This comment has been minimized.

Copy link

JPVenson commented Dec 10, 2018

I have recently evaluated against V8 and ChakraCore for a webserver Projekt. ChakraCore has a lot more functionality and API points compared to V8 and most important for a shared Environment it is MUCH safer to execute untrused JS code in there (try a Stackoverflow in a Native V8 enviorment). Please never let this engine fade away from existence

@fschneidereit

This comment has been minimized.

Copy link

fschneidereit commented Dec 10, 2018

It's sad to hear that ChakraCore is kind of abandoned. Sure, EdgeHTML reached a dead-end because of its platform-dependence on Windows, but I never understood why Microsoft sticked with MSHTML (and then EdgeHTML) for so long and kept it the way it was. They should have taken the opportunity to make this thing cross-platform ten years ago, leaving it Windows-only was a huge mistake that now pays off in giving in to Chromium.

@dennis-yemelyanov

This comment has been minimized.

Copy link

dennis-yemelyanov commented Dec 10, 2018

There's still UWP applications running JavaScript. Are they also moving to Chromiun?

@fschneidereit

This comment has been minimized.

Copy link

fschneidereit commented Dec 10, 2018

      There's still UWP applications running JavaScript. Are they also moving to Chromiun?

According to what I heard, no. The current WebView and HTML/JavaScript-based apps will remain based on EdgeHTML and ChakraCore, and a new version using Chromium is offered side-by-side.

@mirsaeedi

This comment has been minimized.

Copy link

mirsaeedi commented Dec 11, 2018

ChackraCore is awesome. It's sad to hear you are going to stop it. The problem with Edge is not its engine, it's the user interface in my opinion.

@saschanaz

This comment has been minimized.

Copy link

saschanaz commented Dec 11, 2018

Why can't we replace Chromium's V8 with ChakraCore in the nu-Edge? That will be a great push for ChakraCore.

The problem with Edge is not its engine, it's the user interface in my opinion.

👍, while I think the engine had its own problems, though.

@fatcerberus

This comment has been minimized.

Copy link
Contributor

fatcerberus commented Dec 11, 2018

It’s sad to hear you are going to stop it.

How did you get THAT out of:

So, despite the change of direction for Microsoft Edge, our team will continue supporting ChakraCore.

@liminzhu

This comment has been minimized.

Copy link
Member

liminzhu commented Dec 11, 2018

Glad you like it @mirsaeedi . To be clear, we aren't stoping ChakraCore development.

Edit - You beat me to it @fatcerberus :)

@dilijev dilijev added the Discussion label Dec 12, 2018

@infinnie

This comment has been minimized.

Copy link

infinnie commented Dec 13, 2018

Continue supporting as in “continue supporting IE 11 by shipping security updates”?

@fatcerberus

This comment has been minimized.

Copy link
Contributor

fatcerberus commented Dec 13, 2018

@infinnie

We will ensure that any security vulnerability is patched in a timely manner, apart from bringing other enhancements to the engine.

Not only security patches. Feature-level changes too.

@HM100

This comment has been minimized.

Copy link

HM100 commented Dec 14, 2018

Please note that switching to chromium means that backdrop-filter is not anymore supported by default (Unless Chromium fixes that). Otherwise okay as non-EdgeHTML engine is used on iOS and Android.

@infinnie

This comment has been minimized.

Copy link

infinnie commented Dec 15, 2018

And we miss backdrop filters.

@HolgerJeromin

This comment has been minimized.

Copy link

HolgerJeromin commented Dec 15, 2018

I would expect having these filters working in chromium before the engine switch in edge:

https://bugs.chromium.org/p/chromium/issues/detail?id=497522#c157

@fatcerberus

This comment has been minimized.

Copy link
Contributor

fatcerberus commented Dec 24, 2018

You know, now that the cat's out of the bag on this one, the survey popups in Win10 I've seen the past few months "How likely are you to recommend Google Chrome?" finally make sense. I got really used to seeing the "You should switch to Edge, it's better for your battery!" notifications, then one day it stopped doing that and started asking me how I liked Chrome instead... I was just like "okayyyyy..." 😸

@infinnie

This comment has been minimized.

Copy link

infinnie commented Dec 24, 2018

The world’s most beautiful browser will be gone.

@MELERIX

This comment has been minimized.

Copy link

MELERIX commented Dec 27, 2018

if Microsoft Edge is going to use Open Source technologies such as Blink and V8, then will be good if Microsoft Edge becomes an open Source Project too.

@xjlight

This comment has been minimized.

Copy link

xjlight commented Jan 7, 2019

@liminzhu we have an UWP application which replies on Chakra.dll, I assume this comes with Edge browser in Windows 10. Will there be no Chakra.dll after this change?

@liminzhu

This comment has been minimized.

Copy link
Member

liminzhu commented Jan 11, 2019

Sorry for the delay here @xjlight - existing apps that rely on the EdgeHTML or MSHTML webviews (and associated JS engine) can continue to do so without changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment