www.digitalmars.com         C & C++   DMDScript  

D - Modern standard

reply "Vathix" <vathix dprogramming.com> writes:
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.
Dec 08 2003
parent reply J Anderson <REMOVEanderson badmama.com.au> writes:
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
Dec 08 2003
parent Ilya Minkov <midiclub tiscali.de> writes:
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.
Dec 09 2003