3 ms·
SBCL seems pretty actively developed. A proposal for coroutines implementation appeared recently and AFAIK it is being actively discussed and improved upon.
by praptak 7mo ago
SBCL seems pretty actively developed. A proposal for coroutines implementation appeared recently and AFAIK it is being actively discussed and improved upon.
- geospeck 7mo agoDo you have a link to the proposal and the discussion? I am quite interested to see the implementation details. Thanks!
- Antibabelic 7mo agoHere's an SBCL coroutines talk at the European Lisp Symposium from 2024: https://www.youtube.com/watch?v=S2nVKfYJykw https://www.youtube.com/watch?v=S2nVKfYJykw
- praptak 7mo agoYeah, so I believe that this proposal kind of petered out at proof of concept phase but the author of the one being discussed references it.
- yacin 7mo agoit came up in the SBCL mailing list as well, and its author has been commenting there as well. seems like it has some legs! would be a very nice feature to have.
- praptak 7mo agoIt's on the devel mailing list: https://sourceforge.net/p/sbcl/mailman/sbcl-devel/thread/CAF5LJ4AQp54Ze8orw1O9W4buvXp4N8uG%3DOEv0bfvjRe1JSYXug%40mail.gmail.com/#msg59302350 https://sourceforge.net/p/sbcl/mailman/sbcl-devel/thread/CAF...
- atgreen 7mo agoI'm the author. https://atgreen.github.io/repl-yell/posts/sbcl-fibers/ https://atgreen.github.io/repl-yell/posts/sbcl-fibers/
- ivanb 7mo agoThis is fantastic! Godspeed.
- gibsonf1 7mo agoIncredible! Is this ready for at scale production use?
- atgreen 7mo agoNo. I have yet to propose the patches formally. The SBCL maintainers are reviewing the high-level proposal (on my blog) first. You can try the implementation, however. There's a pointer to the repo/branch on my blog. I need to build a proper benchmarking framework and publish some real numbers that people can reproduce before I am confident enough to submit the patches for review. Let me know if you try it out. I would love some feedback (via github)
- TurboHaskal 7mo agoAnd arena support, and a parallel GC... there's always something exciting and promising coming up. The proprietary implementations are also quite good.
- pjmlp 7mo agoTo note that you will find arena like stuff on old Lisps, like those from Xerox, TI and Genera.
- cardanome 7mo agoArena support would make it amazing for game dev. Yes please!
- vindarel 7mo agoTo be clear, we can talk in present tense: https://github.com/sbcl/sbcl/blob/master/doc/internals-notes/arena-allocation.txt https://github.com/sbcl/sbcl/blob/master/doc/internals-notes... discussion (2023): https://news.ycombinator.com/item?id=38052564 https://news.ycombinator.com/item?id=38052564