On Thursday, 7 May 2015 at 09:55:11 UTC, Kagamin wrote:
On Tuesday, 5 May 2015 at 02:26:28 UTC, Mike wrote:
Porting to a New Platform
******************************
The platform-agnostic code in "d" delgates implementation
details to the platform-specific code using `extern(C) extern
_d_sys_name` "system calls" (for lack of a better term).
You plan to have a sizable API without type safety? Why PAL is
not good?
The "ports" folder in this experiment is essentially the platform
abstraction layer. However, it's resolved at link-time. What do
you suggest: A reserved module/package implementing a standard
interface that is imported at compile-time? I could do that.
Mike