druntime redesign

dangbinghoo dangbinghoo at gmail.com
Thu May 7 10:16:58 UTC 2020


On Thursday, 7 May 2020 at 06:46:27 UTC, dangbinghoo wrote:
> On Wednesday, 6 May 2020 at 18:56:55 UTC, Denis Feklushkin 
> wrote:
>> On Wednesday, 6 May 2020 at 18:03:40 UTC, Jacob Carlborg wrote:
>>
>>>> [...]
>>>
>>> You cannot. glibc doesn't fully support static linking, not 
>>> even on Linux. For example, DNS lookup does not work/is not 
>>> fully supported in a fully statically linked binary.
>>
>>
>> "any libc" -> "any suitable libc" :-)
>>
>> (picolibc is my choise for this purposes)
>
> for druntime to working with MCU platform, we probably can rely 
> only on [newlib] or even [newlib-nano] style `libC`, and make 
> all other things to OS APIs, although some RTOS has implemented 
> several POSIX api, it's all only a subset of POSIX.
>
> but the embedded programmer will happy if we support 
> newlib-nano + FreeRTOS or NuttX or Zephyr.

sorry, I don't know [newlib-nano] is now called [picolibc]!  ^_^


More information about the Digitalmars-d mailing list