[Issue 24299] The dmd's command line option "-run" should prefer dynamic linking with the Phobos library by default
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 23 19:12:38 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24299
--- Comment #1 from Siarhei Siamashka <siarhei.siamashka at hotmail.com> ---
For comparison, here's a similar test with Go (~143 ms):
```Go
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
```
$ go version
go version go1.21.4 linux/amd64
$ echo " " >> helloworld.go && time go run helloworld.go
hello world
real 0m0.143s
The status quo is that `go run` is significantly faster today and getting
closer to its 143 ms should be a target for `dmd -run` as well.
--
More information about the Digitalmars-d-bugs
mailing list