4 ms·
It's a strange omission given that CEF is free and seemingly in rude health while Awesomium, number 1 on the list (if only by dint of its name), looks dead, eve
by to3m 10y ago
It's a strange omission given that CEF is free and seemingly in rude health while Awesomium, number 1 on the list (if only by dint of its name), looks dead, even though you have to pay for it.
I'm using it for off-screen rendering. It's pretty straightforward, once past the inevitable initial hump. The code is sensible (if a little smart pointer-happy), and you're provided with a good range of hooks. Documentation is OK. Nothing you can't figure out if you've got a debugger...
(I used Visual Studio with the prebuilt Spotify builds. This addin really helps: https://visualstudiogallery.msdn.microsoft.com/a1141bff-463f-465f-9b6d-d29b7b503d7a https://visualstudiogallery.msdn.microsoft.com/a1141bff-463f...)
- DonHopkins 10y agoEspecially surprising since CEF's Wikipedia page lists 73 projects that use it (many of the well known and widely used, like Spotify, Second Life, Steam Client, Adobe Creative Cloud, Dreamweaver CC, Edge Animate and Edge Reflow). I first looked at Awesomium because it had a Unity3D interface [1], but that's gone stale (Awesomium doesn't support 64 bits, much has changed in Unity since then, not to mention Chrome itself), and some developers on the Unity discussion groups were suggesting CEF as an alternative. [2] [3] I'm interested in integrating the latest CEF with the latest Unity3D on Mac and Windows desktop, as well as for consoles. There are (non-Unity-specific, i.e. maybe too complex and modern) C# wrappers for CEF [4], which looks pretty elaborate, but I think it would be tighter to integrate the CEF C++ code directly as a native Unity extension, without thunking through too much Windows-oriented C# glue that might not be compatible with Unity's older version of C#. On iOS I'm simply using WkWebKit, and WebKit on Chrome, which both support off-screen rendering. Here's some interesting stuff comparing Awesomium and CEF and other stuff from Stratoscope. [5] It's from a 446 day old thread about CefSharp [6] so it might predate the Awesomiumocalypse. The thread is interesting reading! Really makes me wonder why Awesomium is on the list at all. It looks like Coherent UI is a commercially supported alternative to Awesomium, but I haven't looked into it yet. Their employee said good things about CEF and offered some fair criticism: "Hi, Stoyan from Coherent Labs here. My impressions of CEF are very good. They manage to keep it very close to the chromium HEAD, which is great. The only technical downside of CEF is the imperfect GPU acceleration. In many cases however the architecture of chromium itself is a hindrance. Their processes hog memory like crazy and introduce perceivable lag. We had to write a complete new product to solve the issue for games." [7] [1] http://labs.awesomium.com/unity3d-integration-tutorial-part-1/ http://labs.awesomium.com/unity3d-integration-tutorial-part-... [2] http://answers.unity3d.com/questions/945207/unity3d-v5-awesomium-currently-compatible.html http://answers.unity3d.com/questions/945207/unity3d-v5-aweso... [3] http://gamedev.stackexchange.com/questions/111846/chromium-embedded-framework-and-unity3d http://gamedev.stackexchange.com/questions/111846/chromium-e... [4] https://github.com/cefsharp/CefSharp https://github.com/cefsharp/CefSharp [5] https://news.ycombinator.com/item?id=10089645 https://news.ycombinator.com/item?id=10089645 [6] https://news.ycombinator.com/item?id=10087013 https://news.ycombinator.com/item?id=10087013 [7] https://news.ycombinator.com/item?id=10096616 https://news.ycombinator.com/item?id=10096616
- wyldfire 10y agoI made a PR [1] based on your endorsement. EDIT: it's merged. Yay, we did it HN! [1] https://github.com/dhamaniasad/HeadlessBrowsers/pull/16 https://github.com/dhamaniasad/HeadlessBrowsers/pull/16
- to3m 10y agoYou can add "open source contributions" to your CV now ;) I'm going to add "thought leader".