Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libobjc2 is out of date #432

Open
davidchisnall opened this issue May 28, 2024 · 4 comments
Open

libobjc2 is out of date #432

davidchisnall opened this issue May 28, 2024 · 4 comments

Comments

@davidchisnall
Copy link

After a period where I thought we were done, we've had a flurry of development in libobjc2. Features since your last import include:

  • Support for direct methods (needs a newer clang, I think you have a new-enough one).
  • RISC-V support
  • PowerPC support for block trampolines.
  • Fast-path alloc-family methods (mostly a code-size reduction, can be a speedup too)
  • The legacy GC stuff is gone.
  • Several bug fixes including a couple of data corruption and one deadlock
@mszoek
Copy link
Collaborator

mszoek commented May 28, 2024

Awesome! I'll pull the changes! We have clang 18 now... should be ok?

@davidchisnall
Copy link
Author

Yup, 18 is fine. With older clang, noting breaks, but if you do -fobjc-runtime=gnustep-2.1 you’ll get the 2.0 behaviour. The runtime is backwards compatible, so that just means the generated code will be (slightly) slower and larger, but it will still work.

@davidchisnall
Copy link
Author

I’m not sure if you’re doing anything with Swift, but there’s also an open PR to (optionally) use the Swift blocks runtime instead of our own, which would probably help a bit if you are.

@mszoek
Copy link
Collaborator

mszoek commented May 30, 2024

Swift is definitely planned so that should be really helpful.

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

No branches or pull requests

2 participants