Using overlays to hide initialization code (Developers)
> The web server though is a giant mass of C code. So I figured I'd try a
> close approximation, and use overlays instead. I isolated a lot of the
> initialization code into a separate obj, and then laid out my sections so
> that other code would force it out after it was done. That failed
> miserably ... in theory it worked but the overlay manager ate all of the
> savings.
I don't know watcom but played with Borland and Topspeed overlays.
In both cases a block of memory/address space is allocated as a buffer for overlays. If you use it only once, the buffer is still allocated, i.e. you must have multiple overlays to make it worthwhile?
Complete thread:
- Using overlays to hide initialization code - mbbrutman, 06.08.2026, 07:29 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Using overlays to hide initialization code - mceric, 06.08.2026, 10:27
- Using overlays to hide initialization code - Laaca, 06.08.2026, 11:14
- Using overlays to hide initialization code - Japheth, 06.08.2026, 21:36
- Using overlays to hide initialization code - Oso2k, 06.08.2026, 22:07
- Using overlays to hide initialization code - bretjohn, 06.08.2026, 23:14
- Using overlays to hide initialization code - marcov, 06.08.2026, 23:17
- Using overlays to hide initialization code - mbbrutman, 07.08.2026, 01:15
- Using overlays to hide initialization code - bretjohn, 07.08.2026, 02:02
- Using overlays to hide initialization code - marcov, 07.08.2026, 10:06
- Using overlays to hide initialization code - bretjohn, 07.08.2026, 02:02
Mix view