Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Hardware - Troubleshooting and Discussion > Mac Notebooks > Running Microsoft C++ and Java on an ibook

Running Microsoft C++ and Java on an ibook
Thread Tools
Fresh-Faced Recruit
Join Date: Feb 2004
Status: Offline
Reply With Quote
May 19, 2004, 04:19 AM
 
hey guys
i was wondering if i could run Microsoft Visual basic, Visual C++ and Java on an ibook?
     
Mac Elite
Join Date: Apr 2000
Location: Los Angeles, CA
Status: Offline
Reply With Quote
May 19, 2004, 07:27 AM
 
MS VisualC++ is only for Microsoft Windows, but you can run Java applications on your Mac. Among the Java IDEs you might be considering are Eclipse and Apple's own XCode.

While you can program in C++ on the Mac, you won't be able to use APIs like the Microsoft Foundation Code, or things similar to that. If you intend to do cross-platform programming, I think Glade/GTK+ may do, though you will still run into the "requires library x to be installed" problem.

Otherwise, there's always RealBASIC...
     
Mac Elite
Join Date: Oct 2003
Location: Richmond,Va
Status: Offline
Reply With Quote
May 19, 2004, 12:40 PM
 
You could always try Virtual PC. It's slow but might be worth a try. Anybody have experience running Visual Basic and Visual C++ under VPC?
     
Senior User
Join Date: Sep 2000
Location: Noo Yawk
Status: Offline
Reply With Quote
May 24, 2004, 05:30 PM
 
Originally posted by discotronic:
You could always try Virtual PC. It's slow but might be worth a try. Anybody have experience running Visual Basic and Visual C++ under VPC?
Bump. Good question, maybe throw ASP.NET in there for good measure too, with the MS Visual apps under VPC.
     
Forum Regular
Join Date: Sep 2002
Location: The land of evil: Redmond
Status: Offline
Reply With Quote
Jun 1, 2004, 01:56 PM
 
Java works really well but I have to warn you, it is slooow on a mac. Running just eclipse is enough to bring my powerbook to a near halt at times. It is slower than an equivalent speed pentium 3. For example, my pentium 3 733 pc performs the same as my powerbook in java.
12" PB 867 *Retired :( *
2.2 Ghz 15" Macbook Pro
     
Forum Regular
Join Date: Nov 2002
Status: Offline
Reply With Quote
Jun 3, 2004, 07:43 AM
 
Gwad! Visual Basic? Masochist!

Metrowerks Codewarrior C++ compiler for Macintosh is a good option as there is also a Windoze version. When i bought mine about 3 years ago now, the PC version was included in the package at no cost. Supports Java too.

Apple provides OSX Java development tools as a free download. Java is *intergal* to OSX, meaning there is no virtual machine to install.

BTW I *most highly super, duper* recommend BBEdit for a code editor. www.barebones.com It's designed to integrate w/ compilers, and specifically Metrowerks it does.
     
Mac Elite
Join Date: May 2003
Location: Somewhere
Status: Offline
Reply With Quote
Jun 3, 2004, 05:52 PM
 
Originally posted by Altair:
Java works really well but I have to warn you, it is slooow on a mac. Running just eclipse is enough to bring my powerbook to a near halt at times. It is slower than an equivalent speed pentium 3. For example, my pentium 3 733 pc performs the same as my powerbook in java.
Why would Java on the Mac be any slower than Java on Windows? Java is Java.
iMac 24" 2.8 Ghz Core 2 Extreme
500GB HDD
4GB Ram
Proud new Owner!
     
Mac Enthusiast
Join Date: Nov 2001
Location: California
Status: Offline
Reply With Quote
Jun 3, 2004, 11:02 PM
 
Originally posted by hldan:
Why would Java on the Mac be any slower than Java on Windows? Java is Java.
I was wondering the same thing. I also don't get Altair's comparison.
12" Powerbook 1.5GHz/SuperDrive, 1.25GB Ram, 80GB HD, Airport Extreme, Mac OS X 10.4.11 Tiger
iBook (Late 2001)600MHz/Combo, 640MB RAM, 20GB HD, Airport, Mac OS X 10.3.9 Panther — web server
     
Junior Member
Join Date: May 2004
Location: GTA, Ontario, Canada
Status: Offline
Reply With Quote
Jun 4, 2004, 09:14 AM
 
Originally posted by hldan:
Why would Java on the Mac be any slower than Java on Windows? Java is Java.
Because of differences in how the JVM is written / optimized for the processor.
     
Forum Regular
Join Date: Sep 2002
Location: The land of evil: Redmond
Status: Offline
Reply With Quote
Jun 4, 2004, 12:29 PM
 
Originally posted by hldan:
Why would Java on the Mac be any slower than Java on Windows? Java is Java.
Basically the windows virtual machine is highly optimized while the osx one hasn't been very optimized yet. I imagine the next version of java will be much faster than the current one.
12" PB 867 *Retired :( *
2.2 Ghz 15" Macbook Pro
     
Registered User
Join Date: Oct 2003
Status: Offline
Reply With Quote
Jun 5, 2004, 03:00 AM
 
Originally posted by hldan:
Why would Java on the Mac be any slower than Java on Windows? Java is Java.
Indeed, its the virtual machine.

I compared c programs on my powerbook and my thinkpad Pentium M 1.6Ghz under Linux. They run at nearly the same speed.

But the java implementation of Apple needs more optimization. It went better and better from 10.0 to 10.3. Now it roughtly reached the point where it is as fast as the old os 9 vm.

But that does not mean that java is not doing well on os x. I prefer writing my code on my powerbook (better than under Linux and mmmmmmuuuch better than under Windows). Apple integrated java nearly perfectly into their os. Looks like a native program if the developer wants.

For me OS X is the best platform for java (if this is allowed to say for a language that is made to run everywhere)
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:57 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2