Neil Hodgson wrote:
Robert Roessler:

The point that is still concerning me is an
"implementation detail" with OCaml: *interpreted* programs MAY access
their external libraries as .so/.dll files, but *compiled* programs
MUST have everything statically linked...

SO, in the statically-linked case, will just switching active
documents be enough to maintain instance independence with multiple
Scintilla widgets, or is there non-document statically allocated
memory that will be shared in an undesirable way?  Note that I am
happy to share configuration things like fonts, styles, colors, etc.

   Statically linked does not mean one instance. SciTE is statically
linked and uses separate Scintilla instances for the edit pane, output
pane and about box.

Ummm, I take your point about the output pane and about box (although at least in usage, these are "limited" Scintilla instances)... but "SciTE is statically linked"?

I am not getting this one - while the dependence is created at runtime, SciTE [on Windows, anyway] can not run without SciLexer.dll being available to it... so it *is* using it as a DLL, which means there can be substantial non-shared memory used.

But if you are saying that even true static linking between Scintilla and its client does not preclude adequate per-instance separation, cool! :)

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to