Skip to content

Include SDC GC#2

Open
kinke wants to merge 9 commits into
masterfrom
newgc
Open

Include SDC GC#2
kinke wants to merge 9 commits into
masterfrom
newgc

Conversation

@kinke

@kinke kinke commented Nov 14, 2024

Copy link
Copy Markdown
Collaborator

No description provided.

@kinke kinke force-pushed the newgc branch 6 times, most recently from e386a30 to 4617e35 Compare November 14, 2024 20:16
@kinke

kinke commented Nov 14, 2024

Copy link
Copy Markdown
Collaborator Author

Alright, the install package seems fine. The new GC is opt-in via e.g. --DRT-gcopt=gc:sdc:

$ cat hello.d
void main() {
    import std.stdio;
    writeln("Hello world!");
    auto dummyAlloc = new int; // drag in the GC
}
$ dmd hello.d
$ ./hello
Hello world!
$ ./hello --DRT-gcopt=gc:sdc
Hello world!
using SDC GC!

@kinke

kinke commented Nov 14, 2024

Copy link
Copy Markdown
Collaborator Author

Tagged: https://github.com/symmetryinvestments/dmd-umbrella/releases/tag/v2.110.0-sym3-newgc1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants