Last active
September 28, 2024 06:19
-
-
Save fwflunky/586552b1bb62d339d3226e43cda1f29a to your computer and use it in GitHub Desktop.
Ultralight кусок ебучей хуйни / Ultralight review
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Пожалуйста, не тратьте свои силы и время на эту хуетень, используйте CEF / WebView2, но только не эту залупу сделанную на коленке | |
Из плюсов можно выделить только простоту интеграции в приложение с d3d11 и поддержку UWP, на этом всё | |
Минусы - отсутствие многопоточности - это руинит буквально всё, ты вызываешь, ладно там Render() в главном потоке, но сука Update() это слишком, | |
стоит загрузить страницу не Hello World и у тебя начинаются жесткие фризы в функции обновления приложения, потому что ты вызываешь апдейт браузера в главном потоке каждый тик, | |
окей, даже если не каждый, оно зависнет ровно на столько же, как зависло бы при вызове каждый тик ибо апдейт выполняет накопленные таски браузера - компоновка страницы, жс контекст и другая поеботень | |
Да и из плюсов даже можно убрать поддержку UWP, при желании можно сделать поддержку CEF в UWP через FullTrustedProcess и шаред ресурсы в d3d11, это будет немного медленнее чем встраивание CEF прямо в программу, | |
но из за ограничений UWP по другому никак, НО ВСЁ ЖЕ ЭТО БУДЕТ НАМНОГО И НАМНОГО ЛУЧШЕ ЧЕМ ИСПОЛЬЗОВАТЬ УЕБИЩНЫЙ Ultralight | |
И они ещё продают PRO лицензию за 3к евро, еблище тех кто купил представили? Я тоже нет ибо не думаю что после использования фри версии такое кто то купит в здравом уме | |
------- | |
Please don't waste your time on this shit, use CEF / WebView2 instead | |
Pros - easy integration into the application with d3d11, and UWP support, that's it | |
Cons - lack of multithreading - it ruins literally everything, you call, okay there Render() in the main thread, but the fucking Update() is too much, | |
If you load a non Hello World page then you'll get fucking freezes in the application update function, because you're calling browser update in the main thread every tick, | |
Okay, even if not every tick, it will freeze exactly for the same amount of time as it would if called every tick, because the update performs the accumulated browser tasks - page layouting, context and other shit. | |
BTW, from the Cons you can even remove UWP support - if you want, you can make CEF support in UWP by using FullTrustedProcess and shared resources in d3d11, that will be a little slower than embedding CEF directly in the program, | |
But due to UWP sandboxing there is no other way, BUT THAT WILL BE MUCH AND MUCH BETTER THAN USING FUCKING Ultralight. | |
And they sell PRO license for 3k euros, who bought it? I don't know either, because I don't think anyone in their right mind would buy such shit after using the free version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment