Am Wed, 12 Feb 2014 03:50:58 +0000 schrieb "Mike" <n...@none.com>:
> On Tuesday, 11 February 2014 at 22:21:32 UTC, ed wrote: > > On Tuesday, 11 February 2014 at 22:01:01 UTC, bearophile wrote: > > > > I think the transition to D in the embedded world would be > > quicker if it were possible to obtain a minimal D language that > > produces the smallest binaries possible. > > > > How about a 56 byte hello world [1]. Small binaries are already > possible with GDC (and maybe LDC too). If you want structs and > static classes, you only need a 20 line object.d file for GDC > [2]. This is proving to be quite a suitable replacement for C in > my current experiments. > > Mike > > [1] > https://github.com/JinShil/D_Runtime_ARM_Cortex-M_study/wiki/1.1---Hello,-World! > [2] > https://github.com/JinShil/D_Runtime_ARM_Cortex-M_study/blob/structs/source/object.d That's an awesome proof of concept. -- Marco