This is just daydreaming right now.... but I was wondering if there are 
any fundamental flaws in my logic?

At the bottom of this email I have listed what appears to be the 
dependencies for FLTK. It seems they are all in C and could be accessed 
via the FFI.

FLTK is small but is still 90,305 SLOC, so it would be a huge task to 
port all the code to factor but if this was done I was thinking that it 
might give the community something to build on. It sounds like factors 
ability to reuse code is even greater then C++ so perhaps the factor 
version would be smaller too and factor coroutines might work well 
within a gui toolkit. It might be trivial for people to add new widgets 
later.

Any thoughts? -Patrick

----------------->

      13 #include <math.h>
      16 #include <ctype.h>
       1  code1 {\#include <stdio.h>}
           1  code3 {\#include <string.h>} modal visible
       1 #include "aim.h"
       1 #include <carbon/carbon.h>
       1 #include <direct.h>
       1 #include <dlfcn.h>
       1 #include "eventnames.h"
            1 #include "fastarow.h"
       1 #include "freglut_teapot_data.h"
       1 // #include <gl/gl.h>
       1 #include <libgen.h>        // dirname(3)
       1 #include <limits.h>
       1 #include "mediumarow.h"
       1 #include <objidl.h>
       1  #include "print_panel.cx"
       1 #include "print_panel.h"
       1 #include <setjmp.h>
       1 #include <shlobj.h>
       1 #include "slowarow.h"
       1 // #include "src/cgdebug.h"
       1 // #include <stdio.h>
       1 #include <stdio.h>        // debuging
       1 #include <sys/stat.h>        // stat(2)
       1 #include <sys/types.h>        // stat(2)
       1 #include "tile.xpm"
       1  // #include <uid/uid.h>
       1 #include <wchar.h>
       1 #include "xutf8/mk_wcwidth.c"
       2 #include <ole2.h>
       2 #include <pthread.h>
       2 #include <shelapi.h>
       2 #include <sys/time.h>
       2 #include <windows.h>
       2 #include <x11/extensions/xdbe.h>
       3 #include <unistd.h>
       3 #include <x11/xft/xft.h>
      41 #include <config.h>
       4 #include <time.h>
       5 #include <erno.h>
      64 #include <stdlib.h>
       6 #include <stdarg.h>
       6 #include <sys/stat.h>
       8 #include <sys/types.h>
       9 #include <string.h>


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to