- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
scala interpreter safe to embed?
Tue, 2009-04-07, 14:53
Do you know of any potential problems?
Especially if I want to embed multiple interpreters in one process?
No global state that would need to cover with my own ClassLoaders?
I'm thinking about using custom PrintStream to read interpreter's (and interpreted code's) results....
Szymon
Especially if I want to embed multiple interpreters in one process?
No global state that would need to cover with my own ClassLoaders?
I'm thinking about using custom PrintStream to read interpreter's (and interpreted code's) results....
Szymon
Tue, 2009-04-07, 19:17
#2
Re: scala interpreter safe to embed?
On Tue, Apr 07, 2009 at 03:53:11PM +0200, Szymon Jachim wrote:
> Do you know of any potential problems? Especially if I want to embed
> multiple interpreters in one process? No global state that would need
> to cover with my own ClassLoaders? I'm thinking about using custom
> PrintStream to read interpreter's (and interpreted code's) results....
This should be no problem -- and if it is, please report a bug and I
will fix it if it's fixable.
On Tuesday 07 April 2009 09:53, Szymon Jachim wrote:
> Do you know of any potential problems?
> Especially if I want to embed multiple interpreters in one process?
> No global state that would need to cover with my own ClassLoaders?
I have not used multiple interpreters at once, but I have used multiple
compilers in parallel and different interpreters sequentially without
problems.
-Mark