On Wed, Mar 28, 2012 at 03:13:01PM -0400, Nick Sabalausky wrote:
[...]
> Some basic things are tied into druntme/phobos. The GC is definitely
> one of them. AIUI, Arrays and AAs have been moving to a druntime-based
> implementation, and the Object class is implemented there.
> 
> Technically, you can use D without druntime/phobos. Hell, druntime
> itself is implemented in D. And I've even done it myself ages ago (
> https://www.semitwist.com/articles/article/view/d-on-gba-nds-progress-thanks-to-oopman
> ) . But you'd be limited to a relatively small C-like subset of the
> langauge (which I'd argue *can* still be worthwhile in cases where C
> is your only other option - like low-power embedded stuff).
[...]

I've been toying with the idea of an AA implementation that doesn't'
need the GC... Basically translate it to work with explicit malloc/free
instead of the GC. But currently I'm already maxed out fixing my AA
replacement for druntime, so I don't think I'll get to that in the near
future.

(It's true that they say about the last 10% of a project needing 90% of
the time... I *thought* my AA implementation was close to being ready to
integrate into druntime, but that last 10% is turning into a huge
project in and of itself. (Several compiler bugs later. ;-) (Hey, at
least I'm helping to weed out dmd bugs! (Gah, I'm starting to Lisp,
better stop now!))))


T

-- 
PNP = Plug 'N' Pray

Reply via email to