Open in app

Sign In

Write

Sign In

Timur Gafarov
Timur Gafarov

4 Followers

Home

About

Jun 18, 2022

Almighty Alias

Alias is my favorite keyword in D! I never cease to be amazed of how many things it does. In D, almost anything can be aliased, and there are even some features that are only possible through aliasing. Simplest use case of alias is defining an alternative name for a…

Dlang

3 min read

Almighty Alias
Almighty Alias
Dlang

3 min read


Jan 11, 2022

Game UI with Nuklear: Part 1

User interface is an important aspect of any game, be it a simple main menu with a few buttons, or a complex multi-window monster with charts and formatted text. …

Dlang

5 min read

Game UI with Nuklear: Part 1
Game UI with Nuklear: Part 1
Dlang

5 min read


Dec 26, 2021

Metaprogramming with Alias Sequences

Templates and compile-time execution in D form a basis for metaprogramming — building programs that generate another programs. This can be done in numerous ways, including mixins, template mixins, and of course templates by themselves. But there is another powerful metaprogramming tool that is not so widespread due to its…

Dlang

3 min read

Metaprogramming with Alias Sequences
Metaprogramming with Alias Sequences
Dlang

3 min read


Jun 24, 2021

WebGPU is the Future of Graphics Development, in D as Well

WebGPU, as you might already know, is a future Web standard for low-level graphics and compute API. It will allow browser-based apps to interact with GPU in a modern way, using explicitly defined pipelines and an immutable state. …

Dlang

4 min read

WebGPU is the Future of Graphics Development, in D as Well
WebGPU is the Future of Graphics Development, in D as Well
Dlang

4 min read


Mar 3, 2021

GitHub Actions and D

For several years I used Travis CI and AppVeyor for running integration tests of my projects, and recently decided to switch to Actions — cloud-based CI/CD service integrated into GitHub. Actions has many industry-standard features such as matrix builds, containers and artifacts. It provides great platform support including Linux, macOS…

Dlang

3 min read

GitHub Actions and D
GitHub Actions and D
Dlang

3 min read


Feb 12, 2021

dlib: Past, Present and Future

As you may know, my main D project is dlib, a general purpose library for D language. It contains such functionality as linear algebra objects, computational geometry algorithms, I/O streams and filesystem abstraction, image and audio processing. dlib has rather interesting early history which is rooted in my old C++…

Dlang

4 min read

dlib: Past, Current and Future
dlib: Past, Current and Future
Dlang

4 min read


Mar 28, 2020

Const-correctness in D

const qualifier is familiar to everyone, it is present in many modern C-like languages and used in many different contexts. In the most general sense, it means an immutable variable that can only be initialized once. …

Dlang

4 min read

Dlang

4 min read


Mar 1, 2020

Getting started with D

Contrary to common belief, I think that D is a perfect first language to learn by a complete beginner of native programming. D has its roots in C/C++ realm, but its syntax is clean, modern and friendly. D doesn’t require deep knowledge of computer architecture to start writing programs. …

Dlang

4 min read

Getting started with D
Getting started with D
Dlang

4 min read


May 3, 2019

DUB Tricks

DUB is a standard package manager and build automation system for D. Before DUB appeared in 2012, everyone in D community used different build tools — such as classic Make, DSSS, CDC, xfBuild and custom build scripts, including those written in D itself. I used my own, called Cook, which…

Programming

4 min read

Programming

4 min read


Dec 11, 2018

Alternative Memory Management in D

D is a garbage collected language, and unfortunately this fact hinders its adoption by majority of game developers. Indeed, GC is not a helper for us. Writing effective and predictable real-time applications require full control over dynamic memory allocation and freeing. Games usually preallocate all the data in advance, and…

Programming

4 min read

Programming

4 min read

Timur Gafarov

Timur Gafarov

4 Followers

Computer graphics developer

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech