View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000267 | luatex | feature request | public | 2009-09-12 13:56 | 2009-11-18 16:55 |
Reporter | Hans Hagen | Assigned To | Taco | ||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | suspended | ||
Target Version | subproject (> v 1) | Fixed in Version | 0.45.0 | ||
Summary | 0000267: reminder: explore impact of main loop in coroutine | ||||
Description | now that we have the code in c we can look into the possibility to use coroutines to switch between lua and tex there are several possible solutions for this: - turn main loop into a callback which gives a lot of freedom but also moves fetching tokens etc to the lua end (can be slow) - use a predefined main coroutine where the fetch (unless overloaded) is handled at the tex end this need some thinking and testing esp since we don't want to slow down luatex as result of using a few coroutine switches (as most can be done without anyway) | ||||
Tags | No tags attached. | ||||
|
First, I want to rewrite main_control so that it becomes a function dispatcher instead of a large case statement. That is a lot of work, but it would make writing new primitives much easier as well as improve the readability of the code a lot, because it allows registering the handler functions via de internal primitive() function. |
|
The reorganization of main_control() should be done first, otherwise we run the risk of having to throw away lots of code when we finally do get around to cleaning up main_control. |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-09-12 13:56 | Hans Hagen | New Issue | |
2009-09-12 13:59 | Hans Hagen | Summary | explore impact of main loop in coroutine => reminder: explore impact of main loop in coroutine |
2009-11-04 17:29 | Taco | Note Added: 0000322 | |
2009-11-09 15:02 | Taco | Status | new => resolved |
2009-11-09 15:02 | Taco | Resolution | open => suspended |
2009-11-09 15:02 | Taco | Assigned To | => Taco |
2009-11-09 15:02 | Taco | Note Added: 0000329 | |
2009-11-09 15:02 | Taco | Target Version | => subproject (> v 1) |
2009-11-18 16:54 | Taco | Fixed in Version | => 0.45.0 |
2009-11-18 16:55 | Taco | Status | resolved => closed |