adlai / chanl

experimental of unmaintained. you need any thing?
https://github.com/zkat/chanl
Other
0 stars 0 forks source link

Theoretical improvement. #3

Open commander-trashdin opened 3 years ago

commander-trashdin commented 3 years ago

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 commented 2 years ago

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/chanl#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 commented 2 years ago

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 commented 2 years ago

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.

adlai commented 1 month ago

re: https://github.com/mdbergmann/cl-gserver/issues/94#issuecomment-2402205666

possible names evoking the appropriate violation of any unwritten static prejudices...