Thread overview | |||||
---|---|---|---|---|---|
|
December 08, 2003 Modern standard | ||||
---|---|---|---|---|
| ||||
A modern standard could be added. Things such as dynamic modules (dll/so) and sockets are supported by modern operating systems and could have their own standard interface. To see if your compiler supports it, a MODERN version statement could be used, or something in std.compiler. version(MODERN) { import std.modern.sockets; ... } else { /* get a better OS please :) */ static assert(0); } I could possibly do one for sockets, I have been planning on doing it for some time. |
December 08, 2003 Re: Modern standard | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vathix | Vathix wrote:
>A modern standard could be added. Things such as dynamic modules (dll/so)
>and sockets are supported by modern operating systems and could have their
>own standard interface. To see if your compiler supports it, a MODERN
>version statement could be used, or something in std.compiler.
>
>
>version(MODERN)
>{
> import std.modern.sockets;
> ...
>}
>else
>{
> /* get a better OS please :) */
> static assert(0);
>}
>
>
>I could possibly do one for sockets, I have been planning on doing it for
>some time.
>
>
>
What happens in 10 years time? Will modern still be modern?
-Anderson
|
December 09, 2003 Re: Modern standard | ||||
---|---|---|---|---|
| ||||
Posted in reply to J Anderson | J Anderson wrote:
> What happens in 10 years time? Will modern still be modern?
Call it millenium standard. :) Don't worry, almost everything called "millenuim" would be vastly outdated by the time the issue actually raises up.
|
Copyright © 1999-2021 by the D Language Foundation