Issue 24289 - Adopt the "rund" tool as a much faster alternative to "rdmd"
Summary: Adopt the "rund" tool as a much faster alternative to "rdmd"
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-19 13:16 UTC by Siarhei Siamashka
Modified: 2023-12-19 13:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Siarhei Siamashka 2023-12-19 13:16:59 UTC
Right now the performance of "rdmd" is much worse than the performance of "go run" when invoked to run a freshly edited source file in a script-like fashion.

But https://github.com/dragon-lang/rund/ is able to reduce the performance gap and make D language much more attractive and competitive.

I propose to add "rund" to https://github.com/dlang/tools/ and distribute it as a standard part of the DMD compiler binary releases. Also update the documentation at https://dlang.org/rdmd.html to recommend "rund" instead of "rdmd".

Or alternatively update the "rdmd" tool itself to address its performance problems. Essentially consider bringing back the reverted https://github.com/dlang/tools/pull/271

Extra links:
* https://forum.dlang.org/thread/fqziujkpdbivsqxsgszu@forum.dlang.org
* https://forum.dlang.org/thread/tgpvmzbhlxljwpqmbufu@forum.dlang.org