import std.stdio;
class employee {
void work() {
writeln("I am employee");
}
}
class manager: employee {
void work() {
writeln("I am manager");
}
}
void main() {
employee e1 = new manager;//here
e1.work();
On Monday, August 29, 2011 04:50:09 hhaammaadd wrote:
> import std.stdio;
> class employee {
> void work() {
> writeln("I am employee");
> }
> }
>
> class manager: employee {
> void work() {
> writeln("I am manager");
>
Christian Köstlin Wrote:
> after some optimizing i got better, but was still way slower than c++.
> so i started some small microbenchmarks regarding fileio:
> https://github.com/gizmomogwai/performance in c++, java and d2.
>
> christian
Hello!
Thanks for you effort in putting this together!