Running windows under virtual box for software development - performance issues? - windows

So I have a question about what system I should use to do some C# development. In my course this year at least half of my courses require me to be using Windows specific programs i.e visio, MSSQL, C# etc. I know there are alternatives but I would like to stick to these. I'm wondering about two choices and wanted to know what people could suggest - I am more concerned with performance issues. I have a Macbook Pro and I could run windows 7 on it under virtualbox where I could give it 4gb of ram. Remember I would need windows open a lot with potentially multiple programs running. I also have a desktop gaming rig from a year ago which is much more grunty and am contemplating just using that instead where I could run windows natively. I would prefer to use the mac, but really what I wanted to know is if anyone else uses windows under vb with 4gb of ram dedicated to it with no performance issues?

It depends on what type development do you want to do ? If you will develop desktop,web,console application 4gb ram will work fine for you but if you develop mobile projects or games it will be a problem future times. I have co-worker friend who using MacBook Air and developing C# programs he is using two OS one of them is orginal MacBook OS other one W8 if you have 2 section HDD you can create another OS on your notebook. I think best solution for this stuiation is setup Windows 8 to your computer.

Related

How to limit PC performance to test software

I am developing a .NET application, and have the luxury of doing this on a fairly powerful desktop PC. I want to ensure it runs okay on PCs with much lower spec, but I don't have spare machines kicking around and can't really afford to buy them. Is there any way to simulate a lower-spec PC on my current PC, to get a feel for how the software might run?
Any help or advice would be very much appreciated.
*My PC is Windows 7 Ultimate 64-bit with 8-core Intel i7 and 16GB RAM.
You could install VMWare and install any OS you want, with any hardware specs you want, provided that they don't exceed your current working hardware of course.
Keep in mind that VMWare is just a virtualization layer. It emulates an OS but you are still running your code on the same i7.
http://www.asp.net/mobile/device-simulators Here is an example of several Visual Studio plug-ins that emulate devices. You can also install Windows 8 and run hyper-v. It's great for this kind of thing.

Is there anyway for me to create windows 8 apps(for PC and Mobile devices) on mac

I use Mac OSX. I now want to try and develop an app on windows 8 for the Imagine Cup.
But i dont want to switch back to windows.
Is there any way to develop apps for windows 8 from mac?
Preferably free option....
The only available way is to use Virtual Machine because one cannot develop Windows 8 Modern UI app(Windows Store app) even with lower version of windows than windows 8. There are many virtual machines are available for free. Virtualbox maybe a good start.
www.techspot.com/guides/503-windows-8-virtual-machine ,A Tutorial to create vm of windows 8.
Assuming that windows phone is the platform you chose to develop app, again you need windows to create windows phone app.
Kick start your windows phone app development here .
I actually use VMWare on a Mac to do all of my Win32 development on Windows 7 and VS2010.
You will need:
a powerful mac (i7)
lots of RAM (I have 8G, I wish I had 16G)
a 7200rpm HDD or SSD.
With that, it's really great for me. I've been doing this for a few months now without a single kernel panic or blue screen at all.
Note: You cannot really develop for WP7 using this sort of configuration. The WP7 simulator uses VirtualBox, which either runs extremely slowly or not at all in other VMs, based on our experience. Will need a real Windows machine for that ^_^
It's a workable scenario. Good luck!

Virtual Machine: Windows 7 on Ubuntu 11 or Ubuntu 11 on Windows 7?

I wanted to begin with Android development. I intend to pursue it as a hobby and it is not my main job as a student. I use softwares like Matlab, COMSOL, MS Office, etc. on my current Windows PC. Therefore I needed isolation between my experimental projects and actual work.
For that I am going to format my pc and re-install the OS. I have two options:
1. To install Ubuntu first and then install Windows 7 on top of it (using VirtualBox).
2. Or similarly install Windows 7 first and then install Ubuntu on its top.
From a safety standpoint, it's my guess, that it's advisable to make my work OS (Win7) the base OS and then install my experimental OS (Ubuntu 11) on top. But please answer my following question purely from the standpoint of performance. Which is better: (Win + Virtual Ubuntu) or (Ubuntu + Virtual Win)? To frame it better I would ask, which is likely to be faster: a given random high performance software operating on Virtual Ubuntu (with Win base) or the same software operating on Virtual Win (with Ubuntu base)? Assume that the randomly picked high performance software has been designed to function on both operating systems (e.g. Matlab).
P.S.: Also if you know a better alternative to VirtualBox, please let me know.
From my experience Virtualbox performs quite good. For optimal performance and compatibility, you have to install additional packages though (i.e. for accessing USB drives etc, I guess you will need that anyway for android development). So, just use the system you want to use in your everyday work as the base and run the other one in virtualbox. For me, that's Ubuntu. For you it seems like Windows would be the natural choice.
However I don't really see the need to isolate on the operating system level at all. It's quite common to have different softwares for different tasks running on the same computer, on the same system. Why do you think that would be a problem?

XNA Windows Phone Simulator on 'Mac-Windows' vs. regular Windows

I installed my .net stuff recently on a Mac, i.e. preinstalled a version of Windows 7 before using Bootcamp. Does anyone have an explanation, why the Windows Phone 7 Simulator is so slow, compared to a Simulator installed on a 'regular' Windows system when deploying a target onto it?
Performance overhead might be caused because of the non-nativity of the hardware platform you are running it on. The emulator itself has a set of requirements - if these aren't met then you should expect serious drops in performance and stability (in case it starts).
When you're comparing the performance "Regular Windows", do you mean on another machine (PC)? If so, it could be down to hardware differences - (Graphics card, processor speed, less RAM, slower hard disk).
It could also be down to drivers - I don't know much about the Mac hardware, but it's possible Windows drivers aren't as good for hardware that's more commonly used by Macs.

Advice for Delphi Development on a Mac? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I've started developing with Delphi on the Mac and thought I would share my observations and see if anyone else had any advice or tips for Mac development with Delphi.
A while back I had some comment discussion about Delphi development on a Mac. It was in the comments of an answer to another question. With the passing of some months, I thought it might be worth writing up a quick summary for anyone thinking about switching VM host.
Overall OS X + VMware makes a very nice development platform for making Delphi apps.
Platform
MacBook Pro 17" 2.93GHz Core 2 Duo. OS X Leopard
VMware Fusion 2.0.5
Vista + Delphi 2007
Observations
moving an existing PC development environment is straight forward. VMware
can build a VM from a physical PC, or as I did, build it from a TrueImage backup. Existing host VMS's can just be copied across.
there is obviously a performance hit using a VM, but it's not really that noticeable. I'd say speed is at least as fast as my previous HP 2.1GHz Core 2 Duo
get plenty of RAM. 4GB or 8 if you can afford it. 4GB is quite usable
Delphi building a fair-sized app goes fine in a 1.5GB VM
allocate only 1 core to the VM - it's faster
use a virtual hard drive for the guest OS. It's much faster than running the guest from a BootCamp partition
the MBP has two video subsystems, NVidia 9400M and 9600M GT. Using the faster 9600M gives a much smoother experience when VMware is running
VMware Fusion doesn't have the WDDM driver needed to enable Aero. If your app has Aero features you want to test, you'll need to make a separate BootCamp Windows installation to try out the Aero features
the ctrl key vs command key of Windows and OS X will probably be quite annoying with the default settings. VMware let's you control key mappings, so you can set it so the Win vs Mac differences are minimised. You'll probably also want to tweak the keyboard and mouse settings in System Preferences
the Mac function keys (Expose etc) conflict step on the Delphi. The Mac function keys can be disabled in the VMware preferences.
if you are using a MBP, there are no PgUp, PgDn, Home and End keys. Apple got a bit too minimalist here. You get these keys using Fn or Cmd modifiers. There are irritating inconsistencies between some apps
two-finger scrolling on the MBP trackpad is a thing of beauty
if you don't have multiple monitors, putting Windows full-screen in a Space works pretty well
if you use Time Machine for backups, it will backup the entire VM (unless you have it broken into smaller files). You can make this more manageable by creating a snapshot. Time Machine will then only backup the much smaller change file. That file will gradually grow - delete the snapshot and make a new one (doing a backup first, of course :-)
Mac is a nice user experience, but it's not magic - they have their wtf moments too
What are you Delphi Development with Mac tips and advice? Thanks!
You can also try wxForms for Delphi from TwinForms.com
For making native Mac apps you might want to check out Lazarus. Its a bit like the older Delphis (which personally i prefer than to the newer Visual Studio looking interface) but its quite good and used in production environments.

Resources