dice.camp is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon server for RPG folks to hang out and talk. Not owned by a billionaire.

Administered by:

Server stats:

1.5K
active users

#lua

4 posts4 participants0 posts today
Pico/Retro<p>A little <a href="https://mastodon.gamedev.place/tags/Lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a> snippet implementing a camera context stack for <a href="https://mastodon.gamedev.place/tags/Pico8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pico8</span></a>:</p><p><a href="https://www.lexaloffle.com/bbs/?tid=150527" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">lexaloffle.com/bbs/?tid=150527</span><span class="invisible"></span></a></p>
Hyde 📷 🖋 :debian:<p>How to I take <a href="https://lazybear.social/tags/notes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>notes</span></a> in 2025! </p><p>Many <a href="https://lazybear.social/tags/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a> tricks combined with <a href="https://lazybear.social/tags/fzf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fzf</span></a>, <a href="https://lazybear.social/tags/Lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a>, and <a href="https://lazybear.social/tags/Neovim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Neovim</span></a> of course!</p><p> <a href="https://lazybear.social/tags/blog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blog</span></a> <a href="https://lazybear.social/tags/fediverse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fediverse</span></a> <a href="https://lazybear.social/tags/mastodon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mastodon</span></a> <a href="https://lazybear.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://lazybear.social/tags/terminal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>terminal</span></a> <a href="https://lazybear.social/tags/editor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>editor</span></a> <a href="https://lazybear.social/tags/plaintext" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>plaintext</span></a> <a href="https://lazybear.social/tags/zettelkasten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>zettelkasten</span></a> </p><p> <a href="https://lazybear.social/tags/100DaysToOffload" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>100DaysToOffload</span></a> : 078/100</p><p><a href="https://lazybea.rs/hitn-2025" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lazybea.rs/hitn-2025</span><span class="invisible"></span></a></p>
Neo-Rodneyite ✍🏿📖<p>This is reasonable for a <a href="https://todon.eu/tags/Lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a> package searcher, no?</p><p>For the nosy <a href="https://git.sr.ht/~jacky/livtet/tree/feature/plugin-declared-resources/item/crates/livtet-lua/src/builtin/mod.rs#L16-34" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">git.sr.ht/~jacky/livtet/tree/f</span><span class="invisible">eature/plugin-declared-resources/item/crates/livtet-lua/src/builtin/mod.rs#L16-34</span></a></p>
Hyde 📷 🖋 :debian:<p>How to create a floating terminal in <a href="https://lazybear.social/tags/Neovim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Neovim</span></a> with a couple of lines in <a href="https://lazybear.social/tags/Lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a> </p><p> <a href="https://lazybear.social/tags/blog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blog</span></a> <a href="https://lazybear.social/tags/fediverse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fediverse</span></a> <a href="https://lazybear.social/tags/mastodon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mastodon</span></a> <a href="https://lazybear.social/tags/vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vim</span></a> <a href="https://lazybear.social/tags/terminal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>terminal</span></a> <a href="https://lazybear.social/tags/editor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>editor</span></a> </p><p> <a href="https://lazybear.social/tags/100DaysToOffload" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>100DaysToOffload</span></a> : 077/100</p><p><a href="https://lazybea.rs/nvim-ft" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lazybea.rs/nvim-ft</span><span class="invisible"></span></a></p>
Gergely "Bane of the Crawlers" Nagy<p><a href="https://iocaine.madhouse-project.org/howto/getting-started/" rel="nofollow noopener" target="_blank">Getting started with iocaine</a> is now online.</p><p>From nothing to running iocaine + Caddy with <code>ai.robots.txt</code>'s <code>robots.json</code> and a few metrics as a starting point.</p><p>Contains <a href="https://come-from.mad-scientist.club/tags/roto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Roto</span></a>, <a href="https://come-from.mad-scientist.club/tags/lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a>, and <a href="https://come-from.mad-scientist.club/tags/fennel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fennel</span></a> - and a few tests too, for each.</p>
Pete Jones<p>Noob question for <a href="https://hcommons.social/tags/lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lua</span></a> folks...</p><p>I'm playing around with old Advent of Code challenges to learn to program with Lua in general (rather than using it just for configuring Neovim) and I'm finding it awkward to work interactively because of how the "local" keyword works differently in files and in the REPL.</p><p>Because I'm a beginner (and probably because I'm an R user) it's really helpful for me to work through the solutions with an interactive REPL session open next to my script. But then I can't send the code directly to REPL to check my work because local assignments in the top level of the file don't work in the REPL. </p><p>I realise I can get around this by declaring them as globals instead but that feels contrary to idiomatic Lua.</p><p>Is there a workflow solution for this? Or do Lua users just not use this kind of interactive "send to REPL" workflow when developing their scripts?</p><p><a href="https://hcommons.social/tags/lualang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lualang</span></a></p>
Thomas 'Maria' Helzle<p><span class="h-card" translate="no"><a href="https://mathstodon.xyz/@ngons" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ngons</span></a></span> Yeah, it is an absolutely fantastic update that opens so many doors.<br>Also Redux as a VST3 having these things built in and Midi Out makes it so much more powerful.<br>Yay! 🙂 </p><p>Have been playing with it all day yesterday...</p><p><a href="https://mathstodon.xyz/tags/renoise" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>renoise</span></a> <a href="https://mathstodon.xyz/tags/tracker" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tracker</span></a> <a href="https://mathstodon.xyz/tags/livecoding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>livecoding</span></a> <a href="https://mathstodon.xyz/tags/lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lua</span></a> <a href="https://mathstodon.xyz/tags/tidal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tidal</span></a> <a href="https://mathstodon.xyz/tags/cycles" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cycles</span></a> <a href="https://mathstodon.xyz/tags/vst" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vst</span></a></p>
Kyzrati<p>Yay, there will be another new tutorial option to follow this year as well, in a brand new roguelike engine in Lua/LÖVE. Meet prism: <a href="https://old.reddit.com/r/roguelikedev/comments/1luwg70/prism_an_mitlicensed_roguelike_engine/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">old.reddit.com/r/roguelikedev/</span><span class="invisible">comments/1luwg70/prism_an_mitlicensed_roguelike_engine/</span></a><br><a href="https://mastodon.gamedev.place/tags/lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lua</span></a> <a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/tutorial" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tutorial</span></a></p>
Ori :v_demigirl: :emotional_support_demon:<p>Ig ori will now have to lean <a href="https://woem.men/tags/lua" rel="nofollow noopener" target="_blank">#lua</a> to turn a bunch of function definitions in the form of json into a usabe <a href="https://woem.men/tags/nvim" rel="nofollow noopener" target="_blank">#nvim</a><span> plugin....<br>If anyone has some good resources on </span>​:neovim:​ plugin development I'll gladly take these</p>
Csepp 🌢<p><a href="https://merveilles.town/tags/TIL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TIL</span></a> that <a href="https://merveilles.town/tags/ZFS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ZFS</span></a> has an embedded <a href="https://merveilles.town/tags/Lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a> interpreter. :neofox_book_owo:</p>
Boris<p>:moon_and_star: I missed this interview with Max Yari one of the <span class="h-card" translate="no"><a href="https://mastodon.gamedev.place/@openmw" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>openmw</span></a></span> developers. Give it a read! The physics mod is really well done: <a href="https://www.youtube.com/watch?v=5klixjQGopU" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=5klixjQGop</span><span class="invisible">U</span></a></p><p>You can check out the implementation here: <a href="https://github.com/MaxYari/OpenMWLuaPhysics" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/MaxYari/OpenMWLuaPh</span><span class="invisible">ysics</span></a></p><p><a href="https://ashlande.rs/tags/GameDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GameDev</span></a> <a href="https://ashlande.rs/tags/Games" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Games</span></a> <a href="https://ashlande.rs/tags/Morrowind" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Morrowind</span></a> <a href="https://ashlande.rs/tags/OpenMW" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenMW</span></a> <a href="https://ashlande.rs/tags/Physics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Physics</span></a> <a href="https://ashlande.rs/tags/Lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a> <a href="https://ashlande.rs/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a></p>
AchieGameDev<p>The Vods are also slowly up on YouTube if you are interesting in me rambling and being dumb for 1,5 hours</p><p><a href="https://www.youtube.com/watch?v=Yfi3-a-62rU" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=Yfi3-a-62r</span><span class="invisible">U</span></a></p><p><a href="https://mastodon.gamedev.place/tags/indiedev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>indiedev</span></a> <a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/pixelart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pixelart</span></a> <a href="https://mastodon.gamedev.place/tags/lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lua</span></a> <a href="https://mastodon.gamedev.place/tags/love2d" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>love2d</span></a></p>
AchieGameDev<p>Particles and Mushrooms? 🎇🍄</p><p>Heck yes, we worked some more on the game recently and we got some basics down for actual game development. Still mostly learning, but one step forward at a time!</p><p><a href="https://mastodon.gamedev.place/tags/indiedev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>indiedev</span></a> <a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/pixelart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pixelart</span></a> <a href="https://mastodon.gamedev.place/tags/lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lua</span></a> <a href="https://mastodon.gamedev.place/tags/love2d" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>love2d</span></a></p>
Hibipix CuratorNight time in Lofoten, Norway<br> Photo by Federico Di Dio<br> <br> Source: <a href="https://unsplash.com/photos/snow-covered-mountain-during-night-time-QI6DitsEmsI" rel="nofollow noopener" target="_blank">https://unsplash.com/photos/snow-covered-mountain-during-night-time-QI6DitsEmsI</a><br> <a href="https://hibipix.com/discover/tags/norway?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#norway</a> <a href="https://hibipix.com/discover/tags/norvege?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#norvege</a> <a href="https://hibipix.com/discover/tags/noruega?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#noruega</a> <a href="https://hibipix.com/discover/tags/night?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#night</a> <a href="https://hibipix.com/discover/tags/nuit?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#nuit</a> <a href="https://hibipix.com/discover/tags/photodenuit?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#photodenuit</a> <a href="https://hibipix.com/discover/tags/nacht?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#nacht</a> <a href="https://hibipix.com/discover/tags/moon?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#moon</a> <a href="https://hibipix.com/discover/tags/lune?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#lune</a> <a href="https://hibipix.com/discover/tags/lua?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#lua</a> <a href="https://hibipix.com/discover/tags/mond?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#mond</a> <a href="https://hibipix.com/discover/tags/nature?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#nature</a> <a href="https://hibipix.com/discover/tags/naturelovers?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#naturelovers</a> <a href="https://hibipix.com/discover/tags/landscape?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#landscape</a> <a href="https://hibipix.com/discover/tags/sublimelandscape?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#sublimelandscape</a> <a href="https://hibipix.com/discover/tags/nightphoto?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#nightphoto</a> <a href="https://hibipix.com/discover/tags/nightphotography?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#nightphotography</a> <a href="https://hibipix.com/discover/tags/paysage?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#paysage</a> <a href="https://hibipix.com/discover/tags/stars?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#stars</a> <a href="https://hibipix.com/discover/tags/sky?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#sky</a> <a href="https://hibipix.com/discover/tags/nightsky?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#nightsky</a> <a href="https://hibipix.com/discover/tags/nightskyspectacle?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#nightskyspectacle</a> <a href="https://hibipix.com/discover/tags/mountains?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#mountains</a> <a href="https://hibipix.com/discover/tags/montagne?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#montagne</a>
Gergely "Bane of the Crawlers" Nagy<p>I'm on a bit of a roll lately, and have released <a href="https://come-from.mad-scientist.club/tags/iocaine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iocaine</span></a> version <a href="https://git.madhouse-project.org/iocaine/iocaine/releases/tag/iocaine-2.4.0" rel="nofollow noopener" target="_blank">2.4.0</a> just a few moments ago.</p><p>This does not bring <em>that</em> many significant changes as 2.3.0 did, but it does introduce <a href="https://come-from.mad-scientist.club/tags/lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a> and <a href="https://come-from.mad-scientist.club/tags/fennel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fennel</span></a> as languages you can script its decision making with, on top of <a href="https://come-from.mad-scientist.club/tags/roto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Roto</span></a>, which was introduced in 2.2.0.</p><p>While these languages run slower than Roto, they're still <em>very</em> fast, and are not going to be a bottleneck - they do provide a more familiar language to write the decision making in!</p><p>Oh, and metrics can now be persisted across restarts.</p>
travisshears<p>Baltro was made with Lua and Love2d! Such a good game. Love it. </p><p>Also shows the power of Love2d. I&#39;m enterintaining the idea of using fennel to write some Lisp -&gt; Lua creative coding stuff. </p><p><a href="https://localthunk.com/blog/balatro-timeline-3aarh" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">localthunk.com/blog/balatro-ti</span><span class="invisible">meline-3aarh</span></a></p><p><a href="https://fennel-lang.org/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">fennel-lang.org/</span><span class="invisible"></span></a></p><p><a href="https://dice.camp/tags/baltro" class="mention hashtag" rel="tag">#<span>baltro</span></a> <a href="https://dice.camp/tags/lua" class="mention hashtag" rel="tag">#<span>lua</span></a></p>
Gergely "Bane of the Crawlers" Nagy<p>In other <a href="https://come-from.mad-scientist.club/tags/iocaine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iocaine</span></a> news, I'm doing some final polishing on <a href="https://come-from.mad-scientist.club/tags/lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a> scripting support, to make it as convenient as <a href="https://come-from.mad-scientist.club/tags/roto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Roto</span></a>.</p><p>Right now, there's a differenc between how Lua and Roto scripts are loaded: with Roto, one needs to give a path to a directory, and <code>pkg.roto</code> will be loaded from there, and any <code>import</code>s will be relative to that directory.</p><p>With Lua, one gives iocaine a <em>file</em> path, and - currently - needs to set up the <code>package.path</code> search path manually.</p><p>So here's what I'll do: I'll make iocaine require a directory for Lua too, and it will add it to <code>package.path</code>, and will <code>require("main")</code>. The required module will also have to return a table with at least a <code>decide</code> key, and an optional <code>run_tests</code> key. This will simplify finding the functions to run, and will greatly reduce the number of special cases.</p>
Hibipix CuratorFull moon in a wintery Småland, Sweden.<br> Photo by Magnus Östberg <br> <br> Source: <a href="https://unsplash.com/photos/brown-and-white-wooden-house-near-trees-under-blue-sky-during-night-time-AKLmn_MSAbA" rel="nofollow noopener" target="_blank">https://unsplash.com/photos/brown-and-white-wooden-house-near-trees-under-blue-sky-during-night-time-AKLmn_MSAbA</a><br> <a href="https://hibipix.com/discover/tags/sweden?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#sweden</a> <a href="https://hibipix.com/discover/tags/pixelfedsweden?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#pixelfedsweden</a> <a href="https://hibipix.com/discover/tags/winter?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#winter</a> <a href="https://hibipix.com/discover/tags/hiver?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#hiver</a> <a href="https://hibipix.com/discover/tags/inverno?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#inverno</a> <a href="https://hibipix.com/discover/tags/house?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#house</a> <a href="https://hibipix.com/discover/tags/housing?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#housing</a> <a href="https://hibipix.com/discover/tags/maison?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#maison</a> <a href="https://hibipix.com/discover/tags/casa?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#casa</a> <a href="https://hibipix.com/discover/tags/moon?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#moon</a> <a href="https://hibipix.com/discover/tags/fullmoon?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#fullmoon</a> <a href="https://hibipix.com/discover/tags/lune?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#lune</a> <a href="https://hibipix.com/discover/tags/lua?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#lua</a> <a href="https://hibipix.com/discover/tags/forest?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#forest</a> <a href="https://hibipix.com/discover/tags/snow?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#snow</a> <a href="https://hibipix.com/discover/tags/nege?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#nege</a> <a href="https://hibipix.com/discover/tags/neve?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#neve</a> <a href="https://hibipix.com/discover/tags/countryside?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#countryside</a> <a href="https://hibipix.com/discover/tags/rural?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#rural</a>
Giacomo TesioWhile it has its own issues, there are several good reasons why my favourite <a href="https://snac.tesio.it?t=programminglanguage" class="mention hashtag" rel="nofollow noopener" target="_blank">#ProgrammingLanguage</a> <i>in the real world</i> is <a href="https://snac.tesio.it?t=c" class="mention hashtag" rel="nofollow noopener" target="_blank">#C</a>.¹<br><br>Why not <a href="https://snac.tesio.it?t=go" class="mention hashtag" rel="nofollow noopener" target="_blank">#Go</a>?<br>Because it's from <a href="https://snac.tesio.it?t=google" class="mention hashtag" rel="nofollow noopener" target="_blank">#Google</a>.<br><br>Why not <a href="https://snac.tesio.it?t=csharp" class="mention hashtag" rel="nofollow noopener" target="_blank">#Csharp</a> or <a href="https://snac.tesio.it?t=fsharp" class="mention hashtag" rel="nofollow noopener" target="_blank">#Fsharp</a>?<br><a href="https://snac.tesio.it?t=microsoft" class="mention hashtag" rel="nofollow noopener" target="_blank">#Microsoft</a>.<br><br>Why not <a href="https://snac.tesio.it?t=rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#Rust</a> or <a href="https://snac.tesio.it?t=zig" class="mention hashtag" rel="nofollow noopener" target="_blank">#Zig</a>?<br><a href="https://snac.tesio.it?t=llvm" class="mention hashtag" rel="nofollow noopener" target="_blank">#LLVM</a> (aka <a href="https://snac.tesio.it?t=apple" class="mention hashtag" rel="nofollow noopener" target="_blank">#Apple</a> &amp; friends).<br><br>Ultimately, most of languages I avoid like the plague are controlled by <a href="https://snac.tesio.it?t=bigtech" class="mention hashtag" rel="nofollow noopener" target="_blank">#BigTech</a> one way or another.<br><br>C is simple enough to get several alternative compilers based on useful standards.² ³<br><br><br>¹ In theory I still prefer <a href="https://snac.tesio.it?t=oberon07" class="mention hashtag" rel="nofollow noopener" target="_blank">#Oberon07</a>, but when I want to code something useful I still use C instead to lower the entry barrier for other devs, because there are too many incompatible implementations of the compiler and "standard" library.<br><br>² Ok, <a href="https://snac.tesio.it?t=python" class="mention hashtag" rel="nofollow noopener" target="_blank">#Python</a>, <a href="https://snac.tesio.it?t=scheme" class="mention hashtag" rel="nofollow noopener" target="_blank">#Scheme</a> and <a href="https://snac.tesio.it?t=lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#Lua</a> have similar qualities, but for the tools I write I usually prefer binary executables with no runtime.<br><br>³ No, <a href="https://snac.tesio.it?t=c" class="mention hashtag" rel="nofollow noopener" target="_blank">#C</a>++ is <a href="https://harmful.cat-v.org/software/c++/I_did_it_for_you_all" rel="nofollow noopener" target="_blank">not an option</a>. 😉<br>
Gergely "Bane of the Crawlers" Nagy<p>Today, I'm writing tests. Originally, I planned to write a bunch of tests in Rust to exercise the request handlers, but that felt like a huge pain in the backside, and would've involved a lot of repetition and boilerplate.</p><p>Then, I figured: I'll write the tests in <a href="https://come-from.mad-scientist.club/tags/roto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Roto</span></a> and <a href="https://come-from.mad-scientist.club/tags/lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a>! Test the things from that side. Much less boilerplate, but still a lot of repetition.</p><p>Instead, I'll be writing a test suite to verify the decisions of a request handler. I'll run it for both engines, <a href="https://come-from.mad-scientist.club/tags/roto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Roto</span></a> and <a href="https://come-from.mad-scientist.club/tags/lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lua</span></a>. I will still have to write the scripts twice, but I will only write the verification once.</p>