#dlang — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #dlang, aggregated by home.social.
-
Недавно достиг первого результата в SDL GPU: потестировал меши, трансформации, постпроцессинг свечения - простой, но зрелищный эффект, текстуры и прочее элементарное.
Вышел регулятор Уатта из эпохи паровых машин. Механизм ходит не слишком ровно, но я доволен. Хотя бы что-то движок уже показывает.
Есть некоторые проблемы производительности при смешивании старого SDL_Renderer и нового API.
https://www.youtube.com/shorts/wX5A2W_oJI4
#dlang #sdl #enginedev #graphicsprogramming #программирование #ит
-
Попытка оптимизировать техноблог, обходясь лишь видеоплощадками - с треском провалилась. Трудоёмкость экспериментов создаёт перерывы в видео, нужно место для девлогов. Приземляемся в Mastodon обратно.
Фиксируем результат весны 2026. Лучше развился инфоотсек: почти выстроен прототип GUI-тулкита на #SDL (SDL_Renderer + Cairo) и #Dlang. Но SDL GPU в SDL3 заставляет погружаться в 3D. Весной вспоминал OpenGL, аналогией портируя в SDL GPU и HLSL.
-
I spent a year of my life making an ASN.1 compiler in D
https://bradley.chatha.dev/blog/dlang-propaganda/asn1-compiler-in-d/
#HackerNews #ASN1Compiler #DLang #Programming #YearOfCode #TechJourney
-
A mix of neat and not-so-neat stuff 🫤:
“10 Features Of D That I Love”, Bradley Chatha (https://bradley.chatha.dev/blog/dlang-propaganda/features-of-d-that-i-love/).
Via HN: https://news.ycombinator.com/item?id=44445877
On Lobsters: https://lobste.rs/s/msjy28/10_features_d_i_love
#Programming #D #DLang #ProgrammingLanguages #Syntax #Listicle #Raves
-
#OpenD is a fork of #D by Adam Ruppe, et al 😥:
https://forum.dlang.org/thread/beykokf[email protected]?page=1
https://dpldocs.info/this-week-in-d/Blog.Posted_2024_01_01.html
https://dpldocs.info/this-week-in-d/Blog.Posted_2024_01_08.html
It doubles down on the #GarbageCollection. 😐
-
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
SequentialProviderwhich 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!
-
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
-
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