home.social

#dlang — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #dlang, aggregated by home.social.

  1. Недавно достиг первого результата в SDL GPU: потестировал меши, трансформации, постпроцессинг свечения - простой, но зрелищный эффект, текстуры и прочее элементарное.

    Вышел регулятор Уатта из эпохи паровых машин. Механизм ходит не слишком ровно, но я доволен. Хотя бы что-то движок уже показывает.

    Есть некоторые проблемы производительности при смешивании старого SDL_Renderer и нового API.

    youtube.com/shorts/wX5A2W_oJI4

    #dlang #sdl #enginedev #graphicsprogramming #программирование #ит

  2. Попытка оптимизировать техноблог, обходясь лишь видеоплощадками - с треском провалилась. Трудоёмкость экспериментов создаёт перерывы в видео, нужно место для девлогов. Приземляемся в Mastodon обратно.

    Фиксируем результат весны 2026. Лучше развился инфоотсек: почти выстроен прототип GUI-тулкита на #SDL (SDL_Renderer + Cairo) и #Dlang. Но SDL GPU в SDL3 заставляет погружаться в 3D. Весной вспоминал OpenGL, аналогией портируя в SDL GPU и HLSL.

    #enginedev #graphicsprogramming #программирование #ит

  3. I’ve been needing something akin to, what I now know to be Java’s ExecutorService, but in my language of choice - D! So I decided to go about it and implement it.

    I’ve written it in such a manner such that is is extendable and new providers (job runners, think “pooled threads”, “serial runners” and so on) can be plugged in easily. For the initial proof of concept I created a SequentialProvider which just consumes tasks and executes them on a single thread in serial, next up is the thread pool version which I will get around to soon enough.

    It’s really been fun to actually play with meta-programming more in D - I had to this time as I had to be able to make using this library as pleasant as possible as I require it for a project of mine - and I don’t want any hassles.

    So there ya go!

    https://deavmi.assigned.network/blog/guillotine/

    #threading #executors #futures #dlang

  4. The latest and greatest: BindBC-bgfx 1.0 is coming out very soon! It features a new API based on bgfx’s C++ API with some slight tweaks to make it match the D style better, so it should be a lot nicer to use than before! :) and yes, it’s still auto-generated so it has full documentation!
    I’ve already converted one of my projects to using it and I’m excited to see everyone else getting to try it!

    #bindbc #dlang #foss #bgfx #programming #programminglanguages

  5. The latest and greatest: BindBC-bgfx 1.0 is coming out very soon! It features a new API based on bgfx’s C++ API with some slight tweaks to make it match the D style better, so it should be a lot nicer to use than before! :) and yes, it’s still auto-generated so it has full documentation!
    I’ve already converted one of my projects to using it and I’m excited to see everyone else getting to try it!