c.im is one of the many independent Mastodon servers you can use to participate in the fediverse.
C.IM is a general, mainly English-speaking Mastodon instance.

Server stats:

2.9K
active users

#vala

4 posts3 participants0 posts today
Glitchy Pixel<p>I was thinking of moving the <a href="https://mastodon.gamedev.place/tags/sdl3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl3</span></a> <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a> vapis onto ether sourcehut or codeberg...</p><p>I mean if the main objective is to really divest as much as possible from big tech, github must be one of those.</p><p>I was thinking to leave codeberg for public projects and pay of sourcehut for private repos. Makes sense in general.</p><p>I would probably leave a github mirror for the vapis for the sake of availability, but in the end just trying to divest as much as possible from US hosted tech.</p><p><a href="https://mastodon.gamedev.place/tags/sdl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl</span></a> <a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a></p>
Glitchy Pixel<p>Muahahaha! Working on the <a href="https://mastodon.gamedev.place/tags/sdl3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl3</span></a> <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a> Vapis</p><p>So, after changing a bunch of things in the vapis, pulling my hair understanding the SDL3 GPU (is this one of the easy ones? by the gods!), and ensuring things are actually working in the vapi.</p><p>But I finally did it. I got the SDL TTF GPU test program work on vala! It needs a ton of cleanup and put in comments, but it works!!! 🎉.</p><p>It took me a while because Graphics are hard to grasp, and also real life. I'll upload it as soon as I can. <a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/sdl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl</span></a></p>
Alex<p>Just made real list widget with ability to reorder items! Animations included! Used <a href="https://mastodon.social/tags/libadwaita" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>libadwaita</span></a> Tab widgets as a reference <a href="https://mastodon.social/tags/Gtk" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Gtk</span></a> <a href="https://mastodon.social/tags/Vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vala</span></a></p>
Monoka<p>Share of programming languages used by <a href="https://mastodon.social/tags/GTK3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GTK3</span></a> / <a href="https://mastodon.social/tags/GTK4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GTK4</span></a> applications (2025-03-16):</p><p>28% <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a><br>21% <a href="https://mastodon.social/tags/Vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vala</span></a><br>20% <a href="https://mastodon.social/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a><br>17% <a href="https://mastodon.social/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a><br>06% <a href="https://mastodon.social/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a>++ <a href="https://mastodon.social/tags/Cplusplus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Cplusplus</span></a><br>06% <a href="https://mastodon.social/tags/gjs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gjs</span></a> <a href="https://mastodon.social/tags/Javascript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Javascript</span></a><br>04% Other: <a href="https://mastodon.social/tags/Csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Csharp</span></a> <a href="https://mastodon.social/tags/Go" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Go</span></a> <a href="https://mastodon.social/tags/Lua" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lua</span></a> <a href="https://mastodon.social/tags/Haskell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Haskell</span></a> <a href="https://mastodon.social/tags/Swift" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Swift</span></a> <a href="https://mastodon.social/tags/Typescript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Typescript</span></a> <a href="https://mastodon.social/tags/Crystal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Crystal</span></a> <a href="https://mastodon.social/tags/Swift" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Swift</span></a> <a href="https://mastodon.social/tags/D" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>D</span></a> <a href="https://mastodon.social/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a></p><p>63% use GTK4 (90% of them use <a href="https://mastodon.social/tags/libadwaita" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>libadwaita</span></a>), while still 37% use GTK3</p><p>Method: Source [1] lists 543 awesome <a href="https://mastodon.social/tags/gtk" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gtk</span></a> (3/4) <a href="https://mastodon.social/tags/opensource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opensource</span></a> applications and their <a href="https://mastodon.social/tags/programminglanguage" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programminglanguage</span></a></p><p>[1] <a href="https://github.com/valpackett/awesome-gtk" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/valpackett/awesome-</span><span class="invisible">gtk</span></a></p><p><a href="https://mastodon.social/tags/GTK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GTK</span></a> <a href="https://mastodon.social/tags/FLOSS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FLOSS</span></a> <a href="https://mastodon.social/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> <a href="https://mastodon.social/tags/Programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Programming</span></a> <a href="https://mastodon.social/tags/Gnome" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Gnome</span></a> </p><p><span class="h-card" translate="no"><a href="https://floss.social/@GTK" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>GTK</span></a></span> <span class="h-card" translate="no"><a href="https://floss.social/@gnome" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>gnome</span></a></span></p>
Jeff Fortin T.<p>Can I get a <span class="h-card" translate="no"><a href="https://mastodon.social/@vala_lang" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>vala_lang</span></a></span> FLOSS hacker interested in this fine newcomers-difficulty-level UX issue to solve in <a href="https://mastodon.social/tags/gitg" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gitg</span></a>?</p><p>I tried starting to fix it myself a year ago and couldn't figure out how to get past my initial attempt to check the horizontal vs vertical orientation of the layout. I could try again (if I'm desperate enough), but would need a pair programming session with a <a href="https://mastodon.social/tags/Vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vala</span></a> enthusiast… or such an enthusiast could probably solve it by themselves in half an hour: <a href="https://gitlab.gnome.org/GNOME/gitg/-/issues/424#note_2008428" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gitlab.gnome.org/GNOME/gitg/-/</span><span class="invisible">issues/424#note_2008428</span></a></p>
Vala<p>Someone wants to fix a very simple, but really obvious and important issue on our website <a href="https://vala.dev" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">vala.dev</span><span class="invisible"></span></a>? Only little web dev skills required! 😉</p><p>Low contrast issues are always so easy to overlook and have a really big impact, but hopefully not so long anymore! 😁</p><p>And here is the issue:<br><a href="https://github.com/vala-lang/vala-www/issues/226" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/vala-lang/vala-www/</span><span class="invisible">issues/226</span></a></p><p><a href="https://mastodon.social/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a></p>
Glitchy Pixel<p>Woot! Managed to compile and run the first GPU sample in <a href="https://mastodon.gamedev.place/tags/sdl3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl3</span></a> and <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a> </p><p>It took me a while to fix some structs and stuff in the binding and understand better ownership of everything in vala, especially when pasing things like structs to arrays and whatnot.</p><p>But at least it works now! Not sure about leaks but oh well, I'll check later.</p><p>I'm going to rest now and later clean it all up and upload to the repo, but feel accomplished in making it work. 😀 </p><p><a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/sdl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl</span></a> <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a></p>
Glitchy Pixel<p>I'm getting clobbered trying to implement the <a href="https://mastodon.gamedev.place/tags/sdl3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl3</span></a> <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a> bindings GPU samples. I'm adapting/stealing them from TheSpyDog's SDL GPU samples github.</p><p>Not a graphics programmer and relatively new to vala, so its been interesting.</p><p>Was getting a crash and I forgot that I can debug the executables with GDB on terminal, which is nice.</p><p>Ran GDB, one look at the stack and the line of code and the solution was obvious lol. This happens because I'm a caveman and I rarely use a debugger.</p><p><a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/sdl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl</span></a></p>
Glitchy Pixel<p>A bunch of more news! From the <a href="https://mastodon.gamedev.place/tags/sdl3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl3</span></a> <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a> bindings workshop! </p><p>SDL_ttf has been implemented! 🎉 </p><p>I even added a simple example that shows fallback emoji fonts!</p><p>This needs more examples though to really show how to use SDL_ttf on Vala with better feature like test engines, GPU and more.</p><p>Check it out here: <a href="https://github.com/edwood-grant/sdl3-vapi" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/edwood-grant/sdl3-v</span><span class="invisible">api</span></a></p><p><a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/sdl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl</span></a> <a href="https://mastodon.gamedev.place/tags/bindings" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bindings</span></a> <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a></p>
Jim Nelson<p>What a nice surprise this morning—over ten years ago, I led the team that built Geary as a new lightweight email client for the Linux desktop. Happy to see that it's still going strong and finding new users.</p><p><a href="https://www.zdnet.com/article/this-is-the-best-linux-email-client-ive-found-and-ive-tested-them-all/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">zdnet.com/article/this-is-the-</span><span class="invisible">best-linux-email-client-ive-found-and-ive-tested-them-all/</span></a></p><p><a href="https://mastodon.archive.org/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> <a href="https://mastodon.archive.org/tags/Vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vala</span></a> <a href="https://mastodon.archive.org/tags/Email" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Email</span></a> <a href="https://mastodon.archive.org/tags/FreeSoftware" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeSoftware</span></a></p>
Neustradamus :xmpp: :linux:<p><a href="https://mastodon.social/tags/Dino" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Dino</span></a> 0.4.5 has been released (<a href="https://mastodon.social/tags/XMPP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>XMPP</span></a> / <a href="https://mastodon.social/tags/GTK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GTK</span></a> / <a href="https://mastodon.social/tags/GTK3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GTK3</span></a> / <a href="https://mastodon.social/tags/Vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vala</span></a> / <a href="https://mastodon.social/tags/OMEMO" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OMEMO</span></a> / <a href="https://mastodon.social/tags/VideoCall" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>VideoCall</span></a> / <a href="https://mastodon.social/tags/Jingle" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Jingle</span></a> / <a href="https://mastodon.social/tags/JingleXMPP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JingleXMPP</span></a> / <a href="https://mastodon.social/tags/MultipartyJingle" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MultipartyJingle</span></a> / <a href="https://mastodon.social/tags/Muji" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Muji</span></a> / <a href="https://mastodon.social/tags/MujiXMPP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MujiXMPP</span></a>) <a href="https://dino.im/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">dino.im/</span><span class="invisible"></span></a></p>
Glitchy Pixel<p>Folks! Finally! I have published the <a href="https://mastodon.gamedev.place/tags/sdl3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl3</span></a> <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a> bindings! I'm a bit scared, I have never released bindings to the public. <a href="https://github.com/edwood-grant/sdl3-vapi" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/edwood-grant/sdl3-v</span><span class="invisible">api</span></a></p><p>There are samples, some tests have been made, and some paltry docs can be generated.</p><p>Is this perfect? Not at all, is likely having tons of problems somewhere within many calls I haven't tested at all.</p><p>But it's usable, at least for the basic SDL3 samples. Any contributions, issues, PR, whatever your mind can think of are very welcome.</p><p><a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/sdl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl</span></a></p>
Vala<p><span class="h-card" translate="no"><a href="https://mastodon.social/@NekoCWD" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>NekoCWD</span></a></span> <span class="h-card" translate="no"><a href="https://fosstodon.org/@postmarketOS" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>postmarketOS</span></a></span> another super-useful <a href="https://mastodon.social/tags/Vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vala</span></a> program for mobile! Where is the next one? We can't wait! 😆</p>
Vala<p>You already contributed to <a href="https://mastodon.social/tags/Vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vala</span></a>?<br> - Code<br> - Bindings<br> - Documentation<br> - User Support<br> - Issue triaging<br> - Reviewing merge requests<br> - Testing nightly version<br> - Social Media and advocacy</p><p>Any of the above? (Or something else we forgot) If yes and its more than one time, consider applying for a <a href="https://mastodon.social/tags/GNOME" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GNOME</span></a> Foundation membership! It is not difficult!</p><p><a href="https://mastodon.social/tags/contribute" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>contribute</span></a> <a href="https://mastodon.social/tags/opensource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opensource</span></a></p>
Glitchy Pixel<p>The writing of the whole <a href="https://mastodon.gamedev.place/tags/sdl3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl3</span></a> Vapi for <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a> is done!</p><p>Now, is it working? Well I started to port the SDL3 examples browser to find out.</p><p>There were some snags about truly learning about CCode attributes (oh, so that's why SimpleType and Compact exist! Or my favorite: I forgot to put has_type_id=false everywhere!)</p><p>But the goods news is that the render examples are all complete! I need to check more stuff and finish the current samples but it's very close to release!</p><p><a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/sdl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl</span></a></p>
~/phranck :antifa:<p>I'm more and more tired to look for jobs in <a href="https://nerdculture.de/tags/software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>software</span></a> <a href="https://nerdculture.de/tags/development" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>development</span></a> for Apple devices. I've been toying with <a href="https://nerdculture.de/tags/Vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vala</span></a> for a while to develop software for <a href="https://nerdculture.de/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a>. It would be really great if there were job offers in this direction that would give me the opportunity to ‘learn by doing’.</p><p><a href="https://nerdculture.de/tags/FediHire" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FediHire</span></a> <a href="https://nerdculture.de/tags/SoftwareDevelopment" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SoftwareDevelopment</span></a></p>
Glitchy Pixel<p>Got news! The <a href="https://mastodon.gamedev.place/tags/sdl3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl3</span></a> <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a> VAPI is going well!</p><p>Only two files left to translate: SDL_audio.h and SDL_gpu.h admittedly the newer stuff. I feel this is getting close to finally release it somewhere.</p><p>Is it perfect? No way, it's highly likely borked in places. But it's a start to begin fixing things and receive help from more capable people 😀.</p><p>Not sure where to put this... I know Gnome has a GitLab… or maybe just on GitHub? Not sure about it.</p><p>Anyway, feeling good about this one. </p><p><a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/sdl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl</span></a></p>
Glitchy Pixel<p>In my work creating the <a href="https://mastodon.gamedev.place/tags/SDL3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SDL3</span></a> bindings for <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a>, I noticed for example stdinc.h. It's huge! And some of it makes little sense to adapt to <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a>.<br>I understand the goal, and it's to provide a full translation of the standard c library so you can compile SDL even in places where there is no std. Thus to bring truly full portability.<br>But it makes little sense in vala. It already has glibc behind. But then what would be a really necessary addition? It can be complex to do it right. 1/2<br><a href="https://mastodon.gamedev.place/tags/sdl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl</span></a> <a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a></p>
Glitchy Pixel<p>So I managed to use callbacks on <a href="https://mastodon.gamedev.place/tags/sdl3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl3</span></a> and <a href="https://mastodon.gamedev.place/tags/Vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Vala</span></a>, but it's weird.</p><p>You basically have to manually add CCode on your own if you want to use SDL_MAIN_USE_CALLBACKS.</p><p>It makes more sense to use SDL_MAIN_HANDLED and then invoke SDL_EnterAppMainCallbacks (enter_app_main_callbacks in vala) yourself to add your custom callbacks. Feels easier and looks less awkward.</p><p>When I release this vapi on the open, this would probably a part where help on how to make this nice would be very useful.</p><p><a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/sdl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl</span></a></p>
Glitchy Pixel<p>Woot! Managed to run the first example of <a href="https://mastodon.gamedev.place/tags/SDL3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SDL3</span></a> with my <a href="https://mastodon.gamedev.place/tags/vala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>vala</span></a> vapi.</p><p>I'm going faster than I was expecting. The translation is pretty one-to-one without any vala-isms for now (except syntax). But as it is, things are working ok 😋.</p><p>I might slow down a bit this week due to real life work gig. But I'm happy I managed to repro the first example.</p><p>By the way, I'm using standard main loop, not callbacks. I'll probably focus on making the callback system work whenever I have time.</p><p><a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/sdl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sdl</span></a></p>