Posts tagged with »D«

The State of LDC on Windows

LDC is one of the three major D compilers. It uses the same frontend as DMD, the reference implementation of the language, but leverages LLVM for optimization and code generation. While it has been stable on Linux and OS X for quite some time… Read more

Purity in D

Programming language design is a controversial topic, but in light of current challenges regarding both hardware trends and maintainability, several concepts originating in the functional programming world are being rediscovered as universally helpful… Read more

Thrift now officially supports D!

Thrift is a cross-language serialization and RPC framework, originally developed for internal use at Facebook, and now an Apache Software Foundation project. I started implementing support for the D programming language during Google Summer of Code 2011… Read more

getaddrinfo cross-platform edge case behavior

An often-needed piece of functionality in network programming is to resolve human-readable host or port names to their numerical equivalent, for example in order to pass the latter to operating system socket APIs. The getaddrinfo function fills this role on POSIX and Windows. Apart from some flags, it accepts…… Read more

D/Thrift: Performance and other random things

This week, I will try to keep the post short, while still informative – I spent way too much time being unproductive due to hard to track down bugs already to be in the mood for writing up extensive ramblings. So, on to the meat of the recent changes (besides the usual little cleanup commits here and there)… Read more

D/Thrift: Non-Blocking Server, Async Client, and more

First of all, the usual apologies for publishing this post later than I originally planned to. No, seriously, drafting a solid asynchronous client implementation ended up being a lot more work than I originally anticipated, but I wanted to discuss my ideas in this… Read more

D/Thrift: Docs, Servers, Tests

Dear Reader, Let me apologize for not being terribly motivated to write a blog post right now, but I was lucky enough to catch the flu last week with temperatures between 25 °C and 35 °C outside, and while the fever has gone by now, I am still depleting my… Read more

D/Thrift: Compact, JSON protocols, performance

Another week of my Google Summer of Code project passed by, and so you are reading another status update. I am not including any core D development-related news this time, first because I didn't… Read more

D/Thrift GSoC: Growing the library

First, let me apologize for not posting an update last week – I had a busy time, but regardless I will try to let you know about the state of affairs regularly in the future. Now, what were I working on? I updated… Read more

D/Thrift GSoC: First results

The first week of my Thrift project as part of the D programming language Google Summer of Code is over, and I am happy to be able to share some first results. If you are not sure what I am talking about yet… Read more

Random D development news

During the last couple of weeks, I didn't really find time to update this blog. Nevertheless, however, I was able to spare some time for work on a couple open source projects related to the D programming language. But first, let me quickly summarize some other awesome news… Read more

SWIG 2.0.2 with D support released

Yesterday, SWIG 2.0.2 has been released. Along with various bug fixes for the other supported languages, this is the first release to officially support the D programming language. As always, … Read more

Breaking name changes in SWIG/D

Sorry if this notice might come a bit late for some of you, but a few days ago, I have committed a breaking change to D support in SWIG trunk. It was needed to bring the names used in the D module in line with the C# one,… Read more

Announcing: D support in SWIG

In a nutshell, SWIG is a »glue code« generator, allowing you to access C/C++ libraries from various target languages, including C#, Go, Java, Ruby, Python … and, since I merged my work into SWIG trunk a few days ago, also the D programming language, both version 1 and 2.… Read more

The Joys of OPTLINK

As you might know, DMD/Windows (the reference compiler for the D programming language) does not use the standard COFF format for the object files it generates, but the fairly obscure OMF instead. This fact itself causes quite a number of annoyances… Read more

Setting up GDC and Tango on Linux x86

Currently, there are three more-or-less working compilers for the D programming language (version 1): The oldest and most mature one is DMD, short for Digital Mars D Compiler, the official reference implementation by Walter Bright, the creator of D. It has grown reasonably stable… Read more

Installing DMD, LDC, Tango and DSSS on (K)Ubuntu Jaunty

For quite a while now, I am using the D programming language, version 1 (I have not looked at D2 yet, it is said to be still rather unstable). Even though I like it very much for its syntactical quality and the language itself is reasonably mature,… Read more

Strange segfaults when compiling with GDC

Use -no-export-dynamic to prevent segfaults in external libraries when linking with GDC. More to come soon…