Opinions on Cygwin?

This is a discussion on Opinions on Cygwin? within the Tech Board forums, part of the Community Boards category; As far as a cross platform programming goes, whats your opinion on writing your threading, sockets, etc. (everything except graphics) ...

  1. #1
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254

    Opinions on Cygwin?

    As far as a cross platform programming goes, whats your opinion on writing your threading, sockets, etc. (everything except graphics) using POSIX functions and such, and then using cygwin to compile it under windows? Are there any serious disadvantages?
    Programming Your Mom. http://www.dandongs.com/

  2. #2
    Disrupting the universe Mad_guy's Avatar
    Join Date
    Jun 2005
    Posts
    258
    CYGWIN is kind of it's own platform, it has a crapload of DLLs and such that you use to get into Windows-esque POSIX functions. It's a pretty nice environment really, and I don't think it's too hard to port an authentic NIX application to CYGWIN (I base this on the fact that a lot of very popular UNIX tools (such as ..........X, IRSSI, and practically every single standard tool that exists) are normally found with "CYGWIN binary" amongst' all the .rpm files and such, instead of "Win32 binary")
    operating systems: mac os 10.6, debian 5.0, windows 7
    editor: back to emacs because it's more awesomer!!
    version control: git

    website: http://0xff.ath.cx/~as/

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,892
    But to be honest, I wouldn't write new applications for it. The Cygwin DLL is meant to provide a POSIX environment under Win32, but it jumps through a few hoops to do so. Programming the POSIX API tends to be inefficient.
    I'd rather use a portable runtime (APR, NSPR, ...) from the start.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #4
    Registered User Jaqui's Avatar
    Join Date
    Feb 2005
    Posts
    416
    Quote Originally Posted by CornedBee
    But to be honest, I wouldn't write new applications for it. The Cygwin DLL is meant to provide a POSIX environment under Win32, but it jumps through a few hoops to do so. Programming the POSIX API tends to be inefficient.
    I'd rather use a portable runtime (APR, NSPR, ...) from the start.
    or use the wxwidgets toolset, which will generate platform specific makefile targets and code generation for all platforms that you want the application to run under.

    allows a code once and have portability ease of development.
    Quote Originally Posted by Jeff Henager
    If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. NetBeans + Cygwin driving me insane
    By Del75 in forum C++ Programming
    Replies: 4
    Last Post: 08-17-2008, 05:03 AM
  2. cygwin sshd weird behavior
    By jEssYcAt in forum Tech Board
    Replies: 6
    Last Post: 05-19-2008, 02:05 PM
  3. Problems with compiling code in cygwin
    By firyace in forum C++ Programming
    Replies: 4
    Last Post: 06-01-2007, 08:16 AM
  4. cygwin vs win32 help
    By dynomyte in forum C++ Programming
    Replies: 9
    Last Post: 05-12-2006, 01:02 AM
  5. Cygwin Server
    By osal in forum Networking/Device Communication
    Replies: 0
    Last Post: 03-07-2005, 11:58 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21