At Tue, 8 Jan 2002 02:57:48 +0100, Wolfgang Jährling wrote: > I want to write translators in the Ruby programming language, so I thought > about what would need to be done to achive this.
I'm very happen to see a Ruby guru here. ;) > - Ruby is not threadsave. When using Ruby and POSIX threads, the Ruby > interpreter crashs badly. IMHO, Ruby should be blamed here. Ruby needs not to be multithreaded, but it should take it into account to be used with a multithreaded environment. Probably as you know, that problem appears not only on the Hurd (e.g. also with multithreaded applications such as Apache 2.0). > - The first one might be seen as a quick hack by some people, but it's the > way one usually extends Ruby. One would write a wrapper for libtrivfs, one > for libnetfs and so on. Is it possible to use SWIG for Hurd libraries? As the libraries are quite large, it would be easier to maintain wrappers with SWIG than to write everything in C. This might enable to share code with Perl extensions for Hurd. > - The second way would be to extend MiG (or flick or something > else). I think it wouldn't be so hard to write a MiG-to-SWIG converter. Thanks, Okuji ============================================================== Are you enbugging Free Software? <URL:http://www.enbug.org/> _______________________________________________ Help-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-hurd