473,563 Members | 2,857 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

linux/windows development scenario

My company is considering a development path in which we develop code on 32
bit Windows machines to run remotely on 64 bit Linux machines.

What could go wrong?
Jul 22 '05 #1
9 1852
John Eric Hanson wrote:
My company is considering a development path in which we develop code on
32 bit Windows machines to run remotely on 64 bit Linux machines.

What could go wrong?

If you use a good X terminal for windows - not much.
Jul 22 '05 #2
John Eric Hanson wrote:
My company is considering a development path in which we develop code on 32 bit Windows machines to run remotely on 64 bit Linux machines.

What could go wrong?


I'd go Cygwin -> X terminals -> Ruby -> Tk

Why C++?

If the answer is speed, I'd write C++-style Ruby, and then profile to see
which modules are the bottlenecks. Then I'd re-write them to use lazy or
early evaluation, extra data stashes, different algorithms, etc.

Then, after exhausting a search for different algorithms, I'd convert the
fastest ones from Ruby into C++ objects bound to Ruby.

But if you don't need speed, you don't need any of that.

--
Phlip
http://www.xpsd.org/cgi-bin/wiki?Tes...UserInterfaces
Jul 22 '05 #3
On Fri, 13 Feb 2004 16:01:34 GMT, "John Eric Hanson" <er**@newyorklo gic.com> wrote:
My company is considering a development path in which we develop code on 32
bit Windows machines to run remotely on 64 bit Linux machines.

What could go wrong?


Everything, but mostly you will always break the deadlines and deliver an
inferior product. Best advice is to fire the management. But, difficult.

Btw., you're way off-topic in comp.lang.c++.

This answer crossposted to comp.programmin g with follow-up to comp.programmin g.

Jul 22 '05 #4
The code is already written in C++ and is run in both Windows and Linux.
Speed is important.

Going forward we are considering continuing development in Windows, but
running on remote, 64 bit Linux machines. The program when run in
'production mode' (on large datasets) may exceed the 1 to 2MB of RAM
available on the development machines as well so complete testing need to be
done remotely. We don't expect any issues from scaling up though as data
subsets are analogous to the whole.

We do have a large number of 32 bit NT, XP and Linux machines that will
continue to be running lower priority code, both existing and new, so the
scenario is one in which there may be possible drawbacks in migrating the
development platform to 64 bit as well. I'm simply trying to evaluate which
scenario is likely to be more problematic: Windows development in a 32 bit
environment for deployment on 64 bit Linux system or Windows development in
a 64 bit environment for deployment on both 32 and 64 bit, Windows and Linux
environments.

Thanks again,

Eric
"Phlip" <ph*******@yaho o.com> wrote in message
news:6F******** **********@news svr16.news.prod igy.com...
John Eric Hanson wrote:
My company is considering a development path in which we develop code on

32
bit Windows machines to run remotely on 64 bit Linux machines.

What could go wrong?


I'd go Cygwin -> X terminals -> Ruby -> Tk

Why C++?

If the answer is speed, I'd write C++-style Ruby, and then profile to see
which modules are the bottlenecks. Then I'd re-write them to use lazy or
early evaluation, extra data stashes, different algorithms, etc.

Then, after exhausting a search for different algorithms, I'd convert the
fastest ones from Ruby into C++ objects bound to Ruby.

But if you don't need speed, you don't need any of that.

--
Phlip
http://www.xpsd.org/cgi-bin/wiki?Tes...UserInterfaces

Jul 22 '05 #5
"John Eric Hanson" <er**@newyorklo gic.com> wrote in message news:<yx******* ************@tw ister.nyroc.rr. com>...
My company is considering a development path in which we develop code on 32
bit Windows machines to run remotely on 64 bit Linux machines.

What could go wrong?


I don't know what could go wrong but there may be some slight bugs;
they can as well not be :)

BTW: Why do you want to have a 64bit Linux? What's wrong with the good
ol'32bit?
Jul 22 '05 #6
Ian
John Eric Hanson wrote:
My company is considering a development path in which we develop code on 32
bit Windows machines to run remotely on 64 bit Linux machines.

What could go wrong?

A windows virus :)

Why not just develop on Linux?

Ian

Jul 22 '05 #7

"Chris Mantoulidis" <cm****@yahoo.c om> wrote in message
news:a8******** *************** ***@posting.goo gle.com...
"John Eric Hanson" <er**@newyorklo gic.com> wrote in message

news:<yx******* ************@tw ister.nyroc.rr. com>...
My company is considering a development path in which we develop code on 32 bit Windows machines to run remotely on 64 bit Linux machines.

What could go wrong?


I don't know what could go wrong but there may be some slight bugs;
they can as well not be :)

BTW: Why do you want to have a 64bit Linux? What's wrong with the good
ol'32bit?


The general consensus among us is that we'd experience performance gains in
both operations on doubles and in having more RAM easily accessible. We
will verify this in practice first, but the short of it is we are expecting
some performance gains with the 64 bit chips.

Our current concern is in ameliorating any possible issues that might be
involved in the development environment. Particularly as they involve the
platform and tools we currently use (Visual C++ on XP machines).
Jul 22 '05 #8
> The general consensus among us is that we'd experience performance gains in
both operations on doubles and in having more RAM easily accessible. We
will verify this in practice first, but the short of it is we are expecting
some performance gains with the 64 bit chips.
Yeah there will be some extra performance...
Our current concern is in ameliorating any possible issues that might be
involved in the development environment. Particularly as they involve the
platform and tools we currently use (Visual C++ on XP machines).


Let me get this straight. From what you've said till now, you are
writting C++ on 32 bit Windows that you want to run under 64bit Linux?
If you want to make a program just for Linux, then MAKE it in Linux as
well. But if you want to use that code for Win32 and Linux 32bit as
well and Linux 64 bit, here's a suggestion:

Make the program in Windows, compile it and you got your Win32 program
Copy the code to Linux (32bit) make the appropriate changes (e.g. some
API calls) and compile it and you got your Linux 32bit code.
For a 64bit code, you'd want a 64bit compiler. I don't know if there
are any, so you better search. If you find one do what you did
earlier.

However, the 64bit code MAY have some bugs if you run it on a 32bit
PC. So I suggest you don't do that. 32bit code runs fine on 64bit PCs.

It's your call though ;)

BTW: This is kind of off topic in comp.lang.c++ . You'd be better off
in some other newsgroup (e.g. linux newsgroup or w/e else)

cmad
Jul 22 '05 #9
On 13 Feb 2004 22:52:58 -0800, cm****@yahoo.co m (Chris Mantoulidis)
wrote:
For a 64bit code, you'd want a 64bit compiler. I don't know if there
are any, so you better search. If you find one do what you did
earlier.


The Intel compiler, AFAIK, can generate either 32 bit or 64 bit code.
Also, there are Windows and Linux versions of this compiler, so I
think it would be a logical choice.

I'm assuming that the program will need to run on 64-bit Intel
machines ...
--
Bob Hairgrove
No**********@Ho me.com
Jul 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
1968
by: Nick Mudge | last post by:
I currently have Windows XP, but I am thinking of changing my operating system to linux because all i want to do is web development with PHP, MySQL and Apache. Does anybody recommend the best linux version for web developement? Also, what is the best way to transfere the files that I want to keep from windows XP onto Linux? I know that...
4
2806
by: Jhuola Hoptire | last post by:
Just installed J2RE 1.4.2 on a Linux server. I am very knew to the POSIX world. I couldn't dig-up much in the docs or via google about the following: 1 - Is there a standard way to make sure users (all, or some) can "reach" java? eg one could presumably create a java.sh or aliases ... Where is the standard Linux directory to put such a...
383
11887
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft struggled mightily to win that battle -- creating a poor man's DBMS, a broken email server and various other /application/ servers to try and crack the Internet and IS markets. In the case where they...
0
4523
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager Express Edition v1.3.2 Win, IBM Tivoli System Automation v1.2.0 Linux, IBM Tivoli Workload Scheduler Virtualized Data Centers v8.2 , other IBM...
57
3655
by: B.r.a.d.l.e.y | last post by:
A client has moved a back-end data file to a Linux machine instead of Windows. It now will only let one user log in at a time and gives some sort of "admin file not found" error. My first thought was permissions to create the LDB file but they swear this is correct. (read/write access for MDB & MDW files, read/write/create access in...
1
1916
by: Rosny | last post by:
From the article http://software.newsforge.com/software/05/01/27/170244.shtml?tid=132&tid=75&tid=131&tid=13 "Flickr runs on MySQL, the most popular open source database, and it has from the beginning. Today Flickr has around a quarter of a million users and serves around 5,000 pages per minute, generating about 100,000 database queries. " ...
3
5718
by: Bruno LIVERNAIS | last post by:
Hi, We are currently installing a DB2 V9 ESE on a Linux server (RHEL4U4-x86_64). Installation runs successfully on each node. Database user environment is OK and the instance is well created. To be sure, we've started the database with db2start =successfull. And then shut it down again successfully too. The tricks appears when we switch...
20
7749
by: macca | last post by:
Hi, I just started a new web developer job (my first actually) and the machine they gave me to use is a Mac. Two days in and I'm running a Win XP environment on my Mac at work (using VMWare), firstly so I can use my favourite text editor (ConTEXT) which is only available for windows and secondly because I've never used a Mac before. But...
15
2809
nathj
by: nathj | last post by:
Hi there, I thought I'd start this discussion in the Cafe/Lounge as it's not really work related at this stage. I've recently installed Linux Ubuntu on my laptop as dual boot option. This is great and frankly I love it. There are only 2 things holding me back from using this in preference to Windows: 1. VPN 2. Development IDE
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7638
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7948
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.