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

Theoretical improvement. #3

Open
commander-trashdin opened this issue Apr 6, 2021 · 3 comments
Open

Theoretical improvement. #3

commander-trashdin opened this issue Apr 6, 2021 · 3 comments

Comments

@commander-trashdin
Copy link

Hello, I'm using this as an advised way to contact you. Do you think Chanl could (in terms of performance) benefit from statically dispatched function system (instead of generics) and compile time generated structs with precise types instead of classes?
Thanks in advance.

@adlai
Copy link
Owner

adlai commented Oct 24, 2022

Apologies for the delayed reply... as you may have noticed, I took some time away from active maintaining of this project.

Do you think Chanl could (in terms of performance) benefit from statically dispatched function system (instead of generics) and compile time generated structs with precise types instead of classes?

Yes! Not only would that improve performance, it also could reduce the surface area of undefined behavior, provided that the replacement for the current CLOS-based implementation would be thoroughly tested... the bugs described in zkat#11 still do exist.

I don't think you and I have communicated before, so I'm not familiar with your background in CL programming; however, I do see from your recent GitHub activity that you are interested in long-term CL work. Are you interesting in collaborating to improve this project?

@commander-trashdin
Copy link
Author

commander-trashdin commented Oct 25, 2022

Wow. I already gave up on recieving a reply to this and even completely forgot about this thread.
Anyway, since you are here...
Here are libraries I and a couple of other people are working on:
https://github.com/digikar99/polymorphic-functions <--- this is the main thing, the aforementioned "statically dispatched function system".
Here is my project that is completely based on it:
https://github.com/lisp-polymorph
Basically trying to rewrite standard library in terms of polymorphic functions. Also add some new stuff that I think it is lacking.
Is there a better way to contact you, so we could discuss this in depth?

@adlai
Copy link
Owner

adlai commented Oct 25, 2022

Is there a better way to contact you, so we could discuss this in depth?

Discussing things of direct influence to the project in public has the advantage of forming publicly readable conversations... because there are several email addresses listed in various git metadata, I'll write to the one listed in your GitHub profile and hope it won't get eaten by Google's amazing spam filter.

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