Thread: What laptop to buy for programming??

  1. #1
    Registered User noririco's Avatar
    Join Date
    Nov 2013
    Posts
    90

    What laptop to buy for programming??

    I know most of computers will be fine, but maybe you have offfers ?
    can I put LINUX, WINDOWS and MAC on the same computer and change with a button ?

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    You could install Windows and then use a virtualization software like VMware or VirtualBox and run GNU/Linux off that. That's what I, for one, do anyway.
    Devoted my life to programming...

  3. #3
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Quote Originally Posted by noririco View Post
    I know most of computers will be fine, but maybe you have offfers ?
    can I put LINUX, WINDOWS and MAC on the same computer and change with a button ?
    Currently, the only way you can toggle between OSes so easily is via virtualization (as GReaper mentioned) or a KVM switch.

    The best way to have multiple OSes on one machine if you intend to seriously use both, is by putting them on separate HDDs, so if you this is what you really want, look for a laptop with/supporting multiple HDDs.

    EDIT: On second thought, finding a laptop with a second bay can be hard, and a little pricey.
    Last edited by Yarin; 12-02-2013 at 08:19 PM.

  4. #4
    misoturbutc Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    1,787
    Quote Originally Posted by Yarin View Post
    The best way to have multiple OSes on one machine if you intend to seriously use both, is by putting them on separate HDDs, so if you this is what you really want, look for a laptop with/supporting multiple HDDs.
    What's wrong with one HDD and partitions?

  5. #5
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    Well, partitions kind of suck; the drive can only be formatted one way and all the OSes you would want to install on one HDD would need to understand said format. Windows is pretty picky, the last time I checked.

  6. #6
    misoturbutc Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    1,787
    Quote Originally Posted by whiteflags View Post
    Well, partitions kind of suck; the drive can only be formatted one way and all the OSes you would want to install on one HDD would need to understand said format. Windows is pretty picky, the last time I checked.
    I don't quite understand that. One of my drives has 4 partitions: ext4, NTFS, ZFS and UFS (currently unused).

    Edit: Just noticed there is a swap partition active on that drive as well. Also, partitions are not an OS feature but a BIOS feature aren't they?
    Last edited by Hodor; 12-02-2013 at 09:05 PM.

  7. #7
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    What software did you use to make the partitions?

  8. #8
    misoturbutc Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    1,787
    Quote Originally Posted by whiteflags View Post
    What software did you use to make the partitions?
    fdisk

  9. #9
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    Ah, so you installed *nix first. That makes a difference because if you install windows first, the process is basically very different.

  10. #10
    misoturbutc Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    1,787
    Quote Originally Posted by whiteflags View Post
    Ah, so you installed *nix first. That makes a difference because if you install windows first, the process is basically very different.
    My laptop came with Windows pre-installed and I installed linux (dual boot) after. I used gparted to reclaim diskspace (I shrunk the NTFS partition) and then created new partitions in the space I created using plain old fdisk; it was just as easy (well, I thought it was easy anyway) ;-)

    Edit: On a different note, I love the 1920x1080 panel on my laptop and I struggle to use the lower resolution displays now.
    Last edited by Hodor; 12-02-2013 at 09:14 PM.

  11. #11
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    Note that windows comes with Disk management that also allows you to shrink partitions.

  12. #12
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by Shakti View Post
    Note that windows comes with Disk management that also allows you to shrink partitions.
    Which fails to work if the disk has a gpt scheme(tried in win7, no idea about win8), or if the partitions you need to manipulate are not supported by Windows.
    I agree with Yarin about installing different OS`s in different disks instead of partitions.
    In my desktop, I have a 120gig SSD that is formatted to btrfs and has gummiboot to boot the Linux kernel directly.
    Trying to get Windows cooperating with that turned out to be impossible.
    So, making an NTFS partition on another disk was the easiest way out.

  13. #13
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by whiteflags View Post
    Ah, so you installed *nix first. That makes a difference because if you install windows first, the process is basically very different.
    This makes no sense.
    Each partition can have a different filesystem - it makes absolutely no difference. The only problem is the bootloader. Windows won't boot anything non-Windows. Having multiple hard drives won't solve this problem in any way. Using a Linux bootloader can fix that problem, however. So I fail to understand the problem with partition here that multiple hard drives can solve?
    Also, yes, Windows partition tools suck: you are better off with 3rd party tools. Easeus has a free partitioning tool for Windows that's good.
    As for multiple hard drives, it is possible to get an external hard drive. Most modern BIOSes support booting from USB.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  14. #14
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by Elysia View Post
    . The only problem is the bootloader. Windows won't boot anything non-Windows. Having multiple hard drives won't solve this problem in any way. Using a Linux bootloader can fix that problem, however. So I fail to understand the problem with partition here that multiple hard drives can solve?
    The problem is that Linux bootloaders also suck for modern technologies.
    (They are great and work automagically for old motherboards using bios)
    So, I have found it to be easier to let each OS control the whole disk.

  15. #15
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by manasij7479 View Post
    The problem is that Linux bootloaders also suck for modern technologies.
    I see. Well, I can understand that since I've had my share of troubles with them, too.
    In a perfect world, newer would always be better, but alas, in our reality, it isn't always so. It's a shame.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My new Laptop
    By Mario F. in forum A Brief History of Cprogramming.com
    Replies: 22
    Last Post: 06-05-2008, 12:24 PM
  2. Old laptop
    By Dark_Phoenix in forum Tech Board
    Replies: 7
    Last Post: 02-25-2008, 07:26 PM
  3. programming laptop
    By tuurb046 in forum Tech Board
    Replies: 26
    Last Post: 01-02-2008, 02:41 AM
  4. Concerning my Laptop...
    By Akhil in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 01-09-2004, 02:31 PM
  5. New Laptop
    By tyler in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 05-04-2002, 07:56 PM