Elektrine lite

← Feed

@mxchara@cyberpunk.lol

2026-10-22 18:00 UTC

oh I found something even better. again, #Wayland sample code to display ONE FUCKING WINDOW https://gaultier.github.io/blog/wayland_from_scratch.html#rendering-a-frame-the-red-rectangle it's over 700 lines long

Replies (5)

  • @zzt@mas.to 2026-10-22 18:03

    @mxchara@cyberpunk.lol every time my eyes focus on how horrible wayland is, a bunch of wayland people fill my replies with how my eyes are lying and all of this is normal

    Open ##5202232

  • @navi@social.vlhl.dev 2026-10-22 18:21

    @mxchara@cyberpunk.lol from scratch here is a barebones wire protocol impl, x11 without libxcb would be basically the same the issue with libwayland is the lack of helpers, it lacks it as most users are toolkits, or people with their own helpers, and one of the reasons i'm making my own libs too

    Open ##5308182

  • @cap_ybarra@beige.party 2026-10-22 19:00

    @mxchara@cyberpunk.lol i remember when i saw how much non-MFC c++ code it was to make one window in Windows 3.1/95 and imagining how much better it would be the future.

    Open ##5308185

  • @daemonspudguy@app.wafrn.net 2026-10-22 22:13

    @mxchara@cyberpunk.lol Clearly this was optimized for the audience that believes more lines of code means more productivity.

    Open ##5308194

  • @mxchara@cyberpunk.lol I'm pretty sure even the windows API doesn't require *this* much boilerplate for a window with nothing in it

    Open ##5308196