A 'lazy' compilation mode to make writting multiplatform code easier without having to clutter the project

ryuukk_ ryuukk.dev at gmail.com
Wed Feb 22 14:27:01 UTC 2023


Odin for example has a feature to make platform specific modules 
easier to deal with, it's quite useful

```
//+build windows
//+private
package sync

import "core:time"
import win32 "core:sys/windows"
```

https://github.com/odin-lang/Odin/blob/master/core/sync/primitives_windows.odin#L1


More information about the Digitalmars-d mailing list