Repository navigation
Future support for igc (MPS GC) #68
gerd-moellmann
started this conversation in
Show and tell
Replies: 6 comments 1 reply
|
Will look forward to hearing how it works out. |
0 replies
|
@jdtsmith The diffs are a bit large, but only because I had to change the type of some members from, for instance, |
1 reply
|
JD Smith ***@***.***> writes:
Once you have settled and if you agree, I'd like to get another
experimental branch with MPS support.
Are you garbage collecting anything created in the GUI thread? I
thought the ObjC/Clang handled all that? And if so, I'm not clear on
why any changes specific to emacs-mac would be needed. Probably I'm
missing something obvious.
The feature/igc branch contains admin/igc.org, which might help
understanding igc/MPS better. The original is here:
https://github.com/gerd-moellmann/emacs-with-cl-packages/blob/cl-packages/admin/igc.org
In short, MPS is a copying collector. Lisp objects like frames, windows
etc. change their address when copied. Keeping a struct frame *
somewhere in a mac data structure is therefore not a good idea.
It's a bit more complicated than that, therefore I'd suggest to read
igc.org. And it has cost me a lot of nerves to write, mainly for a
certain maintainer, so it's worth to read. (Or maybe not, it didn't help
much :-)).
WRT to porting to a emacs-mac branch. I'm okay with it, but to be fair,
I must remind you of my "no maintenance + no agenda" stance. I could
port to something analogous to feature/igc + mac, so that you could
merge with feature/igc.
Also fair is probably to mention that I don't believe that feature/igc
will land. For reasons you might have observed on emacs-devel.
Or maybe it's a good idea if you first compare the mac files in my repo
with the ones in your master+mac, to get an impression; see the repo
above (caution: I'm force-pushing spmetimes), because porting always
somes some work,
|
0 replies
|
Any updates on how IGC has been working with mac, @gerd-moellmann? |
0 replies
|
JD Smith ***@***.***> writes:
Any updates on how IGC has been working with mac, @gerd-moellmann?
Works very well for me 👍
|
0 replies
|
JD Smith ***@***.***> writes:
Any updates on how IGC has been working with mac, @gerd-moellmann?
Forgot something: Helmut Eller is now maintainer of feature/igc, and is
currently trying to integrate MPS into Emacs (see bug#79346).
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
FYI @jdtsmith: I've now merged
emacs-macinto my fork, i.e. it is now current master + emacs-mac + my stuff.The
macversion cannot use igc (--with-mps) at the moment, which is simply because that is not yet implemented. I'll do that, but at a bit slower pace because I need to read/check the whole mac code for that.All reactions