* John Bäckstrand <[EMAIL PROTECTED]> [2006-09-07 21:42:08]:

> >You are of course welcome to suggest ways to decrease the number of
> >threads because - as you have mentioned quite correctly - threads are
> >indeed expensive. Unfortunately in most cases it's either "use a thread"
> >or "write several hundred lines of code and not use a thread."
> 
> I generally loathe threads, I've written several non-blocking C++ 
> applications which are single-threaded. They are both clean (basically 
> event-driven, althouh on a slightly low level), efficient and very 
> easily debuggable (no locking/synchronization problems).
> 
> NIO in Java is a weird beast though, I can do this stuff easily in C++, 
> but NIO is hard to use. I also dont know if NIO is applicable to UDP?

One of the goal of the rewrite was to get rid of NIO related stuffs
because of JVM bugs and bad support of it in freejvms.

-- 
NextGen$. 
---> In a world without fences nor walls - who needs windows and gates ? 

On peut obéïr aux lois en souhaitant qu'elles changent, comme on sert à la 
guerre en souhaitant la paix. 
Merleau Ponty "L'éloge de la philosophie"

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to