Discussion:
32 Bit or 64 Bit ?
Peter Jakobsson
2017-01-17 09:02:54 UTC
Permalink
Hi

Subject says it all. Should one compile with 32 bit or 64 Bit version ?

What’s the point of one over the other (on the respective Mac & Windows platforms) ? They both seem to be exactly the same size.

Is it just that you can have a bigger cache with 64 ? Why would one want to stick with 32 bit ? Desktop applications ?

Regards

Peter

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-***@lists.4D.com
***************************************************
i***@mettre.de
2017-01-17 09:30:30 UTC
Permalink
Post by Peter Jakobsson
Subject says it all. Should one compile with 32 bit or 64 Bit version ?
What’s the point of one over the other (on the respective Mac & Windows platforms) ? They both seem to be exactly the same size.
Is it just that you can have a bigger cache with 64 ? Why would one want to stick with 32 bit ? Desktop applications ?
32-bit 4D will not accept 64-bit component.
So I compile for both, 32- and 64-bit



Regards
O r t w i n Z i l l g e n
---------------------------------------------
Mühlenstraße 35 • 38 685 Langelsheim
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-***@lists.4D.com
**************************
Pat Bensky
2017-01-17 10:29:12 UTC
Permalink
I am pretty sure I read that 4DWrite Pro requires the 64-bit version, but I
can't find that reference now ...
Post by Peter Jakobsson
Post by Peter Jakobsson
Subject says it all. Should one compile with 32 bit or 64 Bit version ?
What’s the point of one over the other (on the respective Mac & Windows
platforms) ? They both seem to be exactly the same size.
Post by Peter Jakobsson
Is it just that you can have a bigger cache with 64 ? Why would one want
to stick with 32 bit ? Desktop applications ?
32-bit 4D will not accept 64-bit component.
So I compile for both, 32- and 64-bit
Regards
O r t w i n Z i l l g e n
---------------------------------------------
Mühlenstraße 35 • 38 685 Langelsheim
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
**********************************************************************
--
*************************************************
CatBase - The Database Publishing Solution
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-***@lists.4D.com
************************************
Timothy Penner
2017-01-17 17:26:35 UTC
Permalink
I am pretty sure I read that 4DWrite Pro requires the 64-bit version, but I can't find that reference now ...
Actually the opposite is true; the legacy 4D Write only works in 4D 32 bit, while 4D Write Pro works in both 4D 32 bit and 4D 64 bit.
Is it just that you can have a bigger cache with 64 ?
This is a big one, but it's not just the cache, it's the overall application memory (which includes cache and everything else, such as blobs in memory for example).
With 32 bit you are limited to 2^32 bytes or 4 Gigabytes of application memory, while in 64 bit you are limited by your hardware (the theoretical limit is 2^64 or 16 Exabytes).

Another reason people would be interested in 64 bit would be the new preemptive multiprocessing of 4D v16:
http://doc.4d.com/4Dv16/4D/16/Preemptive-4D-processes.300-3036340.en.html
Should one compile with 32 bit or 64 Bit version ?
If you are talking about compiling a component or structure then I suggest you turn on the option to compile for both (multi-target compilation) so your structure/component works for both 32 bit and 64 bit.

If you are talking about building a merged application then remember that on Windows the 64 bit edition of 4D Developer Edition and 4D Volume Desktop is currently in Preview and should only be used for development. They will be made final in upcoming R-Releases:
http://forums.4d.fr/Post/EN/18904187/1/18904188#18904188
http://download.4d.com/Documents/Products_Documentation/LastVersions/Line_16/VIntl/4D_v16_0_ReleaseNotes.pdf

The following document about changing from 32 bit to 64 bit may also be helpful:
http://livedoc.4d.com/4Dv16/help/Title/en/page8826.html

====
Benefit from 64-bit features See the differences
In particular:
* The 64-bit architecture pushes back database cache limits. Improve your database's performances simply by using a larger cache.
Adopt powerful 64-bit features such as preemptive processes, animated form objects, or new printing features.
Build your applications with 4D Runtime Volume License 64-bit..
Use final 64-bit versions of 4D Server on Win and Mac OS - refer to the Using 4D Server 64-bit version (OS X) and Using 4D Server 64-bit version (Windows) sections
* New Quick report editor, compatible with reports created using previous versions. See Label editor (64-bit).
* New Label editor, compatible with label files created using previous versions. See Quick reports (64-bit).
* Create graphs using an Object type parameter with the GRAPH command.
====

-Tim
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-***@lists.4D.com
***************
Peter Jakobsson
2017-01-17 20:12:57 UTC
Permalink
Many thanks Ortwin, Pat and Timothy for the very informative replies.

I’m a bit clearer on the priorities now !

Best Regards

Peter
Post by Pat Bensky
I am pretty sure I read that 4DWrite Pro requires the 64-bit version, but I
32-bit 4D will not accept 64-bit component.
So I compile for both, 32- and 64-bit
I am pretty sure I read that 4DWrite Pro requires the 64-bit version, but I can't find that reference now ...
Actually the opposite is true; the legacy 4D Write only works in 4D 32 bit, while 4D Write Pro works in both 4D 32 bit and 4D 64 bit.
Is it just that you can have a bigger cache with 64 ?
This is a big one, but it's not just the cache, it's the overall application memory (which includes cache and everything else, such as blobs in memory for example).
With 32 bit you are limited to 2^32 bytes or 4 Gigabytes of application memory, while in 64 bit you are limited by your hardware (the theoretical limit is 2^64 or 16 Exabytes).
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-***@lists.4D.com
*********************************************
Charles Miller
2017-01-17 20:20:27 UTC
Permalink
Post by Timothy Penner
Post by Timothy Penner
Actually the opposite is true; the legacy 4D Write only works in 4D 32
bit, while 4D Write Pro works in both 4D 32 bit and 4D 64 bit.
Hi Tim,

We are planning on built client server mac and windows clients. Volume
desktop we are using is 32 bit is there anything I need to know about 4D
write as I was hoping to build with 64 server to take advantage of more
memory as our data file is > 200 Gig

Thanks and regards

Chuck
--
-----------------------------------------------------------------------------------------
Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
Informed Solutions, Inc.
Brookline, MA 02446 USA Registered 4D Developer
Providers of 4D, Sybase & SQL Sever connectivity
http://www.informed-solutions.com
-----------------------------------------------------------------------------------------
This message and any attached documents contain information which may be
confidential, subject to privilege or exempt from disclosure under
applicable law. These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution, disclosure,
printing, copying, storage, modification or the taking of any action in
reliance upon this transmission is strictly prohibited. Delivery of this
message to any person other than the intended recipient shall not
compromise or waive such confidentiality, privilege or exemption
from disclosure as to this communication.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:4D_Tech-***@lists.4D.com
**********************************************
Loading...