"Michel Fortin" <[email protected]> wrote in message news:[email protected]... > On 2011-04-04 21:46:08 -0400, "Nick Sabalausky" <[email protected]> said: > >> "Michel Fortin" <[email protected]> wrote in message >> news:[email protected]... >>> On 2011-04-04 19:55:44 -0400, Adam Ruppe <[email protected]> >>> said: >>> >>>> The reason I wrote it was that I really miss the simplicity of DOS >>>> programming, where with just a few lines of inline asm, you have >>>> a dead-simple video buffer to play with. >>> >>> Indeed. Today you generally have to pile up a lot of GUI code just to be >>> able to draw a square; all the simplicity is lost and portability is >>> hard. >> >> Even with SDL's D bindings? > > Don't know. What is the minimal code you have to write to open a window > and draw a square with SDL? >
I'm not really sure. I've been sinking in the web-dev quicksand/firepits so long I've never really had a chance to actually use SDL in D, and I don't remember any of SDL's API. > Also, you have to download the library and link to it and keep the dynamic > library around with the compiled program, which is some more hassle. > > But you're right that SDL comes pretty close. >
