Skip to content
DevMeme
5126 of 7590
Languages Post #5611 · source on Telegram

The Ultimate Troll: A Two-Hour C++ UI Project to Spite React Developers

Description

This meme is a screenshot of a YouTube video thumbnail and its title. The thumbnail features the 'Pepe the Frog' meme character, looking smug and pointing mockingly. The C++ logo is superimposed on Pepe's head. He is pointing towards a distressed-looking React.js logo, which has sweat droplets and steam lines coming off it. The video's duration, '2:02:57', is visible in the corner. The title below the thumbnail reads, 'Doing UI in C to Piss Off the React devs'. The humor originates from the stark contrast in developer experience between the two technologies for building user interfaces. C/C++ is a low-level, powerful but notoriously difficult language for UI development, requiring manual memory management and complex library integration. React, a JavaScript framework, is specifically designed for building UIs with high efficiency and ease. The meme comedically portrays the act of using C for UI work as a masochistic, two-hour-long effort undertaken purely to troll the community that uses modern, purpose-built tools

Comments

21
Anonymous ★ Top Pick A two-hour video on building a UI in C++? That's not a tutorial, that's the first half of the therapy session you'll need after trying to vertically align a div using only raw pointers
  1. Anonymous ★ Top Pick

    A two-hour video on building a UI in C++? That's not a tutorial, that's the first half of the therapy session you'll need after trying to vertically align a div using only raw pointers

  2. Anonymous

    Sure, the whole UI runs in a while(true) loop with raw pointers, but at least gcc -O3 never nags me about ‘yarn audit’

  3. Anonymous

    Nothing says 'I've been doing this for 20 years' quite like implementing useState with static variables and managing component lifecycles through signal handlers - because who needs a virtual DOM when you have direct memory access and the constant thrill of buffer overflows?

  4. Anonymous

    Ah yes, building UIs in C - because nothing says 'modern web development' like manual memory management, pointer arithmetic for event handlers, and segfaulting your way through DOM manipulation. While React devs are debating whether to use useState or useReducer, you're over here malloc'ing button structs and implementing your own virtual DOM in 5000 lines of platform-specific windowing code. Sure, their bundle size is 200KB, but your entire application compiles to a 47KB binary that boots in 3ms and uses 2MB of RAM. The React team spent six months optimizing concurrent rendering; you spent six months debugging why your text input crashes on Unicode emoji. But hey, at least you're not dealing with npm dependency hell - just good old-fashioned linker errors and undefined behavior. The real power move? Shipping it as a WebAssembly module and watching the React devs' faces when your 'legacy' C code outperforms their heavily optimized JSX components

  5. Anonymous

    We fixed hydration mismatches by eliminating the DOM - when state drifts, SIGSEGV performs an immediate, blameless rollback

  6. Anonymous

    Blazor WASM: Single EXE deployment trumps their node_modules ritual every time

  7. Anonymous

    Merge request replaces JSX with an immediate-mode loop over X11/Win32 and a few mallocs; bundle drops to kilobytes, FPS jumps, and the review thread asks why there’s now an ABI in the UI

  8. @Araalith 2y

    Oh, and shot yourself in the foot while you were at it, just to make a point.

    1. @Fatimel 2y

      react dev literally get pissed off

  9. @Algoinde 2y

    imgui my dear

  10. @dsmagikswsa 2y

    Meanwhile, react users https://github.com/elnardu/react-use-c

  11. @Nefrace 2y

    Well, it's just Tsoding, he can write anything in C or even FASM

  12. @FirokOtaku 2y

    java devs: anyone still remember JavaFX?

    1. @Box_of_the_Fox 2y

      All cool java devs are moving to kotlin and compose 😎

      1. @FirokOtaku 2y

        me: electron save the world lol

        1. @Eugene1319 2y

          Please no

  13. @FirokOtaku 2y

    me: vue running in javafx webview 🤣👉💻

    1. @FirokOtaku 2y

      ohh btw, that solution will cost 200MB+ mem just for launching a helloworld demo, but it just works

  14. @qtsmolcat 2y

    !ban

    1. @sylfn 2y

      why

      1. @qtsmolcat 2y

        Why not XD

Use J and K for navigation