On Tue, 2007-04-03 at 16:32 +0400, Artem Gr wrote:
> >> Do you have the GHC installed?
> >>     
> >
> > Yes.
> >   
> 
> I meant on the Sourceforge.
> You propose to run the tests off-site?

Tests cannot be run on Sourceforge.

The tests are run on my boxes, Rosella and Pelican.
Shootout tests are run offsite too.

I'd like to collect results from others, but so far no
one has volunteered any. I haven't tried with MSVC++ tests.

Be nice to have result for other processors.

> > Felix uses variants, not exceptions. Same as C, except you 
> > can't forget to test the error code :)
> 
> That's not the point. Stack trace and exceptions are two different 
> things. (You can take the current stack trace without throwing an 
> exception, for example, at least in Java, C++ and Perl). You have the 
> program doing something and then - bah - there is an unexpected 
> situation. You /goto/ to the "catch block", but before that, you take 
> the stack trace in order to look /into the past/ of what just happend 
> and led to the error.

Yep. I understand. It's possible in principle to trace heaped
spaghetti stack frames inside Felix, since they're sure to have 
Felix RTTI (which include the type name etc).

The machine stack can't be traced by Felix, any more than
you can get one in C: if you want a snapshot of the stack
at some point you have to use a debugger like gdb or 
Visual Studio: Felix generates C++ code.

>  What is the 
> point of all that multythreading with gotos, if in a complicated 
> program, upon an error, you can't really fathom how to fix it without 
> much program refactoring and hand-tracing?

Well two points: I personally do not use debuggers, stack traces,
or any other debugging aids .. I use print statements.

Still other people like that stuff. Felix is in a better position
than many other systems, in that we can instrument the generated
code .. for example, to record function entry/exit. 

So many things could be done .. but it takes developer effort
to actually implement these things.


-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to