This is a discussion on Re: Help with Chosing Hardware / Software - ASM x86 ASM 370 ; In article <4619A7FC.firstname.lastname@example.org> you wrote: > [-- text/plain, encoding 7bit, charset: us-ascii, 108 lines --] > > I acquired an addiction to sieving for prime numbers about 25 years > ago, but never became aware of all the work that ...
In article <4619A7FC.email@example.com> you wrote:
> [-- text/plain, encoding 7bit, charset: us-ascii, 108 lines --]
> I acquired an addiction to sieving for prime numbers about 25 years
> ago, but never became aware of all the work that others are doing
> until a few searches of google turned up so many interesting items
> over the past 5 years.
> So I have 2 questions:
> (a) Can anyone who has experience with FORTRAN / X86 coding
> or C / X86 coding suggest a group of products that are public domain
> (all the prime number sieving is a hobby after all) and require little
> (b) Are there any gotchas that I am not aware of hidden within the
> above information? I have been running under W98SE for the last
> 5 years and the previous 5 years starting in 1992 I ran under W95.
> While I can't say that I enjoy Windows, I am able to run the emulator
> which allows me to still have the fun and challenges I continue to
> enjoy with PDP-11 software - in particular to find bugs and make
> enhancements to the PDP-11 operating system as well as to write
> some multi-precision routines that handle 512 bit integers and floating
> point numbers with 512 bit integer portions and 512 bit fractions.
> They seem to help when I need extra precision to calculate other
> values associated with prime numbers such as zeta functions and
> logarithmic integrals. On the other hand, UBASIC seems to also
> do equally as well with a total precision of about 1250 decimal
> places which can be totally on the left side of the decimal point
> or totally on the right side - which helps when some of the numbers
> are VERY large.
> Please try and also answer questions (a) and (b) even if you
> got side-tracked and discuss other aspects. The actual X86
> code is NOT in question at this point, ONLY the operating
> system for a Pentium 4 (does Windows XP slow down
> execution so much) along with which compiler / X86 assembler
> might support me the best.
> Sincerely Yours,
> Jerome Fine
There is an ASM Integerated programming enviroment for Linux called
Linux will give you 2GB of program/data space in a flat memory model
The ASM IDE package includes how-to info on making Linux system calls from
For X86 Linux/DOS/Windows, try 'www.ml1compiler.org' For a basic like
macro language that compiles directly to asm sourcecode. It's a macro
compiler that allows custom command design and optimization. It compiles
to the ASM of your choice, (you write the macros) or to X86 asm (macros
included). The compiler comes with the NASM assembler which uses the
simple Intel syntax and leaves out all 'offset(label)' type stuff. NASM
has no type checking, which allows you to do whatever you like without
having to trick the assembler into assembling it. The ML1 compiler has
user defineable type checking, and it calls NASM for assembly. The
compiler includes system routines for DOS (all sourcecode) which can be
re-programmed for any OS. It's free.