The One With D News and Opinions of the Digital Mars D Programming Language

12Oct/092

Rational Lib and Another Demo

Two items that may be of interest to some of you.

First, dsimcha has released a small library for working with rational numbers. It's D2 only and can be seen in the Scrapple trunk. From the announcement:

It's templated to work on any integer type that supports the relevant operators. Usually this would be used with some type of arbitrary precision integer. It can work with fixed-size integers, though overflows would be generated fairly easily when adding several rational numbers with different denominators, or multiplying several without very many common factors.

In other news, some of you may remember that earlier this year a demo written with D won a demoscene competition. The same team has done it again at a different party. And they've released the source of the demo, as well. Here's a direct link to the zip. Congrats, guys!

Comments (2) Trackbacks (0)
  1. Hi Aldacron, thanx for the post !

    Again, this was only possible because of Derelict :)

    You didn’t respond to my mail about derelictified Portaudio, i suppose you are busy.

    Cheers !

  2. Sorry about that. I saw the email and told myself I’d look into it later. And now that you’ve reminded me, later will be sooner.


Leave a comment


No trackbacks yet.