caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: OCaml + GTK vs F# on Windows
       [not found] <20070618091949.0237DBC76@yquem.inria.fr>
@ 2007-06-21  9:42 ` David Allsopp
  0 siblings, 0 replies; 2+ messages in thread
From: David Allsopp @ 2007-06-21  9:42 UTC (permalink / raw)
  To: caml-list

> Folks,
>
> I need to reboot my translator as a Windows app. I would like to know  
> how well is LablGTK supported on Windows (specially with Glade) and  
> whether this is advisable if Windows is my only target platform.
>
> F# is the other option that I see but will require porting my parser  
> from Dypgen back to Yacc, among other things. Not a big deal since  
> I'm not using functors or any advanced features of OCaml but still  
> work to do.
>
> What's your opinion?
IMHO GUI apps knocked together quickly using toolkits such as GTK tend to
look hideous under Windows (although slightly better than AWT apps did in
the early days of Java!). ocamlbrowser is a "good" example (I'm talking
about appearance here, not functionality, cross-platform compatibility,
etc!!). If Windows is your only platform, I'd use a Windows-only toolkit as
otherwise you end up with "lowest common denominator" feature support (or
badly emulated controls). Of course, it helps to be sure that you're
definitely "Windows-only" :o)

> What option would you recommend and why?
There're a couple of stub wrappers for Win32 API functions for writing GUIs
on the hump but that's a bit hardcore (not to mention time consuming) if
you've never done that before - I would have thought that splitting your app
into logic written in O'Caml (as it already is) and control written in F#
giving you full access to the .NET GUI Library only for the required parts
of your app were the way forward...

HTH,


David

PS For developing Windows apps, there're some books on the subject of GUI
design - e.g. http://tinyurl.com/3d72qn The setup program for Richard Jones'
XP Hello World, for example, breaks the recommendation for not having
Windows 3.11 style Remove links in Start Menu groups and Desktop Icons
[p.294] ;o)... though at least it gives the option not install the desktop
icon.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* OCaml + GTK vs F# on Windows
@ 2007-06-18  8:36 Joel Reymont
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Reymont @ 2007-06-18  8:36 UTC (permalink / raw)
  To: caml-list

Folks,

I need to reboot my translator as a Windows app. I would like to know  
how well is LablGTK supported on Windows (specially with Glade) and  
whether this is advisable if Windows is my only target platform.

F# is the other option that I see but will require porting my parser  
from Dypgen back to Yacc, among other things. Not a big deal since  
I'm not using functors or any advanced features of OCaml but still  
work to do.

What's your opinion?

What option would you recommend and why?

	Thanks, Joel

--
http://topdog.cc      - EasyLanguage to C# translator
http://wagerlabs.com  - Blog






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-21  9:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20070618091949.0237DBC76@yquem.inria.fr>
2007-06-21  9:42 ` OCaml + GTK vs F# on Windows David Allsopp
2007-06-18  8:36 Joel Reymont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).