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








Ilya Minkov <midiclub tiscali.de>