Re: [Haskell-cafe] Rewriting a Python application to Haskell

2006-09-02 Thread Bulat Ziganshin
Hello basvandijk, Friday, September 1, 2006, 6:38:43 PM, you wrote: > 2) Also, we use pySerial [4] for serial communication with the > detector. Is there something like that for Haskell or is it easy to make it > yourself? i never hear about such library for Haskell. you can use ffipkg utility

Re: Re[2]: [Haskell-cafe] Rewriting a Python application to Haskell

2006-09-02 Thread Duncan Coutts
On Sat, 2006-09-02 at 11:00 +0400, Bulat Ziganshin wrote: > Hello Neil, > > Friday, September 1, 2006, 6:47:12 PM, you wrote: > > > I have no idea about wxHaskell and STM, but I found out that hard way > > that Gtk2Hs + threads = bad idea. No, no, Gtk2Hs + threads = great idea :-) It's just tha

Re[2]: [Haskell-cafe] Rewriting a Python application to Haskell

2006-09-02 Thread Bulat Ziganshin
Hello Neil, Friday, September 1, 2006, 6:47:12 PM, you wrote: > I have no idea about wxHaskell and STM, but I found out that hard way > that Gtk2Hs + threads = bad idea. Duncan Coutts, gtk2hs author, writes the same and proposed solution - use dedicated thread to execute all graphics commands an

Re: [Haskell-cafe] Rewriting a Python application to Haskell

2006-09-01 Thread Neil Mitchell
Hi 1) I would like to know if its difficult to use wxHaskell and STM side by side and if there are any issues I need to know about. I have no idea about wxHaskell and STM, but I found out that hard way that Gtk2Hs + threads = bad idea. Depending on the machine I used, I got a wide class of un

[Haskell-cafe] Rewriting a Python application to Haskell

2006-09-01 Thread basvandijk
Hello, The company I work for [1] develops highly sensitive trace gas detectors. We also develop software that is used to control these detectors from a PC or laptop. With this software a user can setup an experiment, execute it and analyse and visualise the data in real-time. While executing,