Skip to content

Commit 385a210

Browse files
committed
Delphi is an example of prior art.
1 parent 8005182 commit 385a210

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

text/0000-dll-kind.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ No alternatives are currently known other than the status quo.
8181
# Prior art
8282
[prior-art]: #prior-art
8383

84-
No native languages are known of that allow link time linking to symbols from dlls withot import libraries. Please note that this is distinct from runtime loading of dlls.
84+
Many non-native languages have the ability to import symbols from dlls, but this uses runtime loading by the language runtime and is not the same as what is being proposed here.
85+
86+
Delphi is a native language that has the ability to import symbols from dlls without import libraries.
8587

8688
# Unresolved questions
8789
[unresolved]: #unresolved-questions
@@ -96,4 +98,6 @@ With the features described in this RFC, we would be one step closer towards a f
9698

9799
If that were to happen, we'd no longer need to pretend the pc-windows-gnu toolchain is standalone, and we'd be able to stop bundling MinGW bits entirely in favor of the user's own MinGW installation, thereby resolving a bunch of issues such as [rust-lang/rust#53454](https://github.com/rust-lang/rust/issues/53454).
98100

101+
A future extension of this feature would be the ability to optionally lazily load such external functions, since Rust would naturally have all the information required to do so.
102+
99103
Also users would stop complaining about having to install several gigabytes of VC++ just to link their Rust binaries.

0 commit comments

Comments
 (0)