Yeah, you can crash your browser if you execute something similar in 
Silverlight. Gets really hard to figure out when you've got a recursive 
method_missing call =P I was having *fun* with this last night: 
http://twitter.com/jschementi/statuses/809136066. But that's not as serious as 
stack overflowing a shared host =P

~js

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:ironruby-core-
> [EMAIL PROTECTED] On Behalf Of Oleg Tkachenko
> Sent: Monday, May 12, 2008 9:47 AM
> To: [email protected]
> Subject: [Ironruby-core] Try IronRuby in your browser
>
> Hello!
>
> I put together some simple version of IronRuby powered "Try Ruby" [1].
> This is just night hack, I hope to improve it.
>
> Now, the problem is that anybody can crash it with "def f() f() end",
> "f()". I mean StackOverflowException, which is really bad on shared
> ASP.NET hosting.
>
> Any idea if IronRuby can prevent stack overflow? I'm volunteering to
> contribute an implementation if so.
>
>
> [1] http://www.ironruby.info/ir/
> --
> Oleg
>
>
> _______________________________________________
> Ironruby-core mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to