Inja
Ultralight
Inja | Ultralight | |
---|---|---|
8 | 53 | |
1,539 | 4,597 | |
- | 0.2% | |
3.6 | 2.9 | |
about 1 month ago | 10 days ago | |
C++ | CMake | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Inja
-
Which library canI use for rendering html??
I like to use a template engine for rendering html. This way I could use my favourite html editor and add the information from c++ to it. There are some alternatives but I would recommend either mustache or inja. While I used mustache successfully in many projects inja has a more modern feel to it
-
How to write reflection for C++
Also, we need to somehow generate code based on the collected information. Template engines like go template, mustache, jinja, etc. are great for this. We'll write only a couple of templates, on which we'll generate hundreds of new source code files. I decided to use inja in this project. It's a sort of C++ port on jinja for Python.
-
Could Jinja scripting can be usefull in database manager?
After some researching, I found inja-library that partially support Jinja-templates and then I've implemented to my app sqlite-gui. But I still doubt whether such a scripting is needed.
-
Hacker News top posts: Feb 4, 2022
Inja: A Template Engine for Modern C++\ (19 comments)
- Inja: A Template Engine for Modern C++
- GitHub - pantor/inja: A Template Engine for Modern C++
- C++ template engine library, similar to jinja for Python
-
Looking for a codegen library that uses C++ for scripting
I've looked into a newer template engine like Inja, but my client isn't quite happy with that either. Inja allows you to write templates that you feed JSON data into:
Ultralight
- Ultralight: Display Web-Content Everywhere
-
Writing a TrueType font renderer
[2] https://ultralig.ht/
- This year in Servo: over 1000 pull requests and beyond
-
Arc browser launches its Windows client in beta
Web rendering would be Blink, with V8 being the JavaScript engine. I believe they have their own UI rendering process.
I know of another company that does something similar for the UI process, but with WebKit instead as the base:
https://github.com/ultralight-ux/ultralight#rocket-dual-high...
-
Ode to the M1
What I'd really like to see with CEF et al, is JS being dropped, in favor of directly controlling the DOM from the host language. Then we could, for example, write a Rust (or Kotlin, Zig, Haskell, etc) desktop application that simply directly manipulated the DOM, and had it rendered by a HTML+CSS layout engine. Folks could then write a React-like framework for that language (to help render & re-render the DOM in an elegant way).
Ultralight (https://ultralig.ht/) looks pretty cool. I think another possible option is Servo (https://github.com/servo/servo) – it was abandoned by Mozilla along with Rust during their layoffs a while back (but the project still seems to have a decent bit of activity). It would be great if some group of devs could revive the project, or a company could fund such a revival.
Eventually, we'll need to reflect on, and explore whether HTML+CSS is really the best way to do layout, and we could maybe perhaps consider proting the Android/iOS layout approach over to desktop.
-
Anselm's Jazz Distributed Infrastructure Framework
I'm curious if the project will be open-source or do you have plans to go the Awesomium/Ultralight route with both open/closed sources and volume licenses? Or do you plan to offer commercial support services like other open source software?
-
Best cross-platform (Win, Mac, Linux) desktop frameworks?
I’m not tied to any language, but it needs to be able to wrap a c++ library. I started with .NET 7 MAUI - no linux support & very mobile focused. Tried out Electron. Wins on ease and usability, but has massive overhead. (Basic “Hello world” executable compiled to over 200mb) I then discovered Ultralight (https://ultralig.ht/). Big win on size, but was last updated 3 years ago.
-
Remember when this was 0% and 70 mb? This is comical.
tauri exists or if you wanted to ultralig.ht
-
Digital Audio Workstation Front End Development Struggles
I agree web stuff is really the best way to develop UIs. Good luck making responsive stuff in C++ for example. The paradigm of HTML, CSS, and JS is extremely powerful and even allows you to use canvas, webgpu, wasm.
There are multiple commercial projects that use web dev paradigm for GUIs:
https://coherent-labs.com/
https://ultralig.ht/
https://sciter.com/
-
what do you think about alternative browser engines?
Nice review, thanks! There are also: Ultralight (based on Webkit), LiteHTML, Tkhtml3 and Lobo Evolution. See also timeline of web engines.
What are some alternatives?
stx-btree - OBSOLETE, contained in https://github.com/tlx/tlx - STX B+ Tree C++ Template Classes -
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
sparsepp - A fast, memory efficient hash map for C++
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
function2 - Improved and configurable drop-in replacement to std::function that supports move only types, multiple overloads and more
qt-ultralight-browser - Ultra-lightweight web browser based on Qt Ultralight webview, powered by Ultralight HTML renderer
lexertl - lexertl: The Modular Lexical Analyser Generator
wry - Cross-platform WebView library in Rust for Tauri.
Hashmaps - Various open addressing hashmap algorithms in C++
ClassicUO - ClassicUO - an open source implementation of the Ultima Online Classic Client.
Justinbobia - The Configurable Math Library
litehtml - Fast and lightweight HTML/CSS rendering engine