Minimalistic Phobos?
Sean Kelly
sean at f4.ca
Fri Oct 27 06:53:21 PDT 2006
Sean Kelly wrote:
> Chris Nicholson-Sauls wrote:
>> Fredrik Olsson wrote:
>>> I am looking into using D for an embedded system, for this GDC for
>>> ARM, and some tweaking of Phobos needed.
>>>
>>> For this I find most of the functionality in Phobos is kind of
>>> superfluous. So my question is, what are the bare minimum needed to
>>> get D up and running? And would it not be a good idea to move this
>>> from std.* to say core.* or equivalent?
>>>
>>>
>>> // Fredrik Olsson
>>
>> You could take a look at Ares to get a good idea. The only ones I
>> know for sure are module 'object' and package 'std.internal'. Giving
>> the required runtime code its own 'core' package (or whatever name)
>> isn't a bad idea.
>
> A few other modules needed offhand:
>
> std.thread
> std.asserterror
> std.cover (for -cov, not used by gdc)
> std.moduleinit
> std.outofmemory
> std.switcherror
> std.syserror
Oops, I think syserror is for converting system errors to strings and is
not an error handler itself. This one shouldn't be necessary after all.
Sean
More information about the Digitalmars-d
mailing list