Thread overview
Modern standard
Dec 08, 2003
Vathix
Dec 08, 2003
J Anderson
Dec 09, 2003
Ilya Minkov
December 08, 2003
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
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
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.