Skip to content
0:00 / 0:00

#html5#cppcon#gui

Embrace Modern Technology: Using HTML 5 for GUI in C++ - Borislav Stanimirov - CppCon 2019

CppCon

189K subscribers • 103 videos on Hallway • Conference channel

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Borislav Stanimirov
  • Linked in the descriptionCppCon/CppCon2019
  • May be out of date. Uploaded 7 years ago, in an area where tools change fast.
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

66K views7 years ago1 recommendation

Web developmentProgramming languagesC++Vue, Svelte, Angular and othersHow browsers work

Borislav Stanimirov discusses the benefits and approaches of using HTML5 and web browsers as graphical user interfaces for native C++ applications.

CppCon.org — Discussion & Comments: reddit.com/r/cpp/ — Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2019 — HTML 5 is likely the most widely used development stack in history. Because of this, there is an abundance of development tools and resources, and, more importantly, experts. HTML 5 is all about multimedia presentation. It's designed to allow any look and feel with ease. Modern browsers are among the most sophisticated pieces of software ever produced. It's hard to compete with what they achieve in terms of performance, security and stability. HTML 5 is for web pages... ... or is it? This talk introduces using HTML 5 as a graphical user interface framework for C++ native applications. In it we will explore several approaches and discuss their pros and cons. We will present several examples and demos which can help you start working on your own HTML 5 GUI right away. — Borislav Stanimirov ViewRay Software Engineer Bulgaria Borislav has been a C++ programmer for 15 years. In the past 11 he has been programming video games. He has worked on C++ software for all kinds of platforms: desktops, mobile devices, servers, and embedded. His main interests are software architecture and design, and programming languages. — Videos Filmed & Edited by Bash Films: BashFilms.com Work at Hudson River Trading (HRT): tinyurl.com/safxfctf

Why it's here

1 person recommends this

What people say. Shared as a helpful resource on using web browsers as a GUI layer for C and C++ applications.

u/AlbertShown88in r/C_Programming • Recommends

Did you hear about using a web browser as GUI using C99? Borislav Stanimirov explained at C++ Conference 2019 how beneficial it is to use the web browser as GUI. The result is pretty good! Take a look at the implementation in the WebUI open-source project. // WebUI Minimal Example // https://github.com/webui-dev/webui #include "webui.h" void my_function(webui_event_t* e) { // The button MyID gets clicked! } int main() { int my_window = webui_new_window(); webui_bind(my_window, "MyID", my_function); webui_show(my_window, "<html>...</html>"); webui_wait(); return 0; }

u/AlbertShown88in r/C_Programming • Mentions

On “Did you hear about using a web browser as GUI using C99?”

I 100% agree with you if it was the case, but thankfully, it's not the case. This is why I jumped to be an active contributor since I discovered this project a while ago. The idea behind this project is relatively new and genius. You should see this video for more details. WebUI is very simple. Let's say you want to start a new GUI C project. The first thing you do is googling which GUI library you should use. Let's say you pick up Qt, so before you start coding your C application, you start by learning Qt UI first. Then, when you finish, your end-users need to install the Qt runtime to use your C application. While if you choose to use WebUI, you embed some HTML code in your project, an…