Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #10932
| From | mhx@iae.nl (Marcel Hendrix) |
|---|---|
| Subject | Re: Does ?DO force DO to become bloated? |
| Newsgroups | comp.lang.forth |
| Message-ID | <18931498998435@frunobulax.edu> (permalink) |
| Date | 2012-04-05 21:10 +0200 |
| References | <m208x3.krr@spenarnc.xs4all.nl> |
| Organization | Wanadoo |
Albert van der Horst <albert@spenarnc.xs4all.nl> writes Re: Does ?DO force DO to become bloated? > In article <LI6dnfCxLNT4FeHSnZ2dnUVZ_oqdnZ2d@supernews.com>, > Elizabeth D. Rather <erather@forth.com> wrote: >>Windows system calls are pretty messy, but that's not Forth's problem. >>I'll try to look up the longest definition in a SwiftX kernel and get >>back to you on that. > I have finally come around looking in detail into Windows system calls. > They are actually much less messy than the DOS interrupt 21 was, > where you never knew which register were safe, or information > was returned in cpu-flags. > Now it is more straight forward. You put things on the stack. Then you > jump to a subroutine (that is actually in the memory space.) After the > call you remove things from the stack. (OK, sometimes they do it for > you). This positive attitude strongly suggests that you haven't looked at the 64-bit ABIs yet. Of course, they differ for Windows, Linux, and OSX. Once you start using 32bit Windows calls, be prepared that your users will not like deep changes when they move from a 32 to a 64 bits OS. Making a Forth program independent from the cell size is not a big deal (for 32/64 bit), but it can't be done without extra words that better are standardized first. One of the pitfalls is that offsets and sizes of OS structures are kept 32bit, even on a 64bit OS, except when they aren't. -marcel
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar
Does ?DO force DO to become bloated? "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-03-30 18:40 -0400
Re: Does ?DO force DO to become bloated? "Elizabeth D. Rather" <erather@forth.com> - 2012-03-30 13:24 -1000
Re: Does ?DO force DO to become bloated? Hans Bezemer <the.beez.speaks@gmail.com> - 2012-03-31 20:56 +0200
Re: Does ?DO force DO to become bloated? "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-04-01 06:06 -0400
Re: Does ?DO force DO to become bloated? "Elizabeth D. Rather" <erather@forth.com> - 2012-04-01 07:57 -1000
Re: Does ?DO force DO to become bloated? Hans Bezemer <the.beez.speaks@gmail.com> - 2012-04-02 19:14 +0200
Re: Does ?DO force DO to become bloated? "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-04-03 06:02 -0400
Re: Does ?DO force DO to become bloated? BruceMcF <agila61@netscape.net> - 2012-03-31 12:32 -0700
Re: Does ?DO force DO to become bloated? Josh Grams <josh@qualdan.com> - 2012-03-30 23:46 +0000
Re: Does ?DO force DO to become bloated? "Elizabeth D. Rather" <erather@forth.com> - 2012-03-30 20:58 -1000
Re: Does ?DO force DO to become bloated? "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-03-31 03:31 -0400
Re: Does ?DO force DO to become bloated? "Elizabeth D. Rather" <erather@forth.com> - 2012-03-31 08:25 -1000
Re: Does ?DO force DO to become bloated? BruceMcF <agila61@netscape.net> - 2012-03-31 12:02 -0700
Re: Does ?DO force DO to become bloated? "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-04-03 06:01 -0400
Re: Does ?DO force DO to become bloated? "Elizabeth D. Rather" <erather@forth.com> - 2012-04-03 08:38 -1000
Re: Does ?DO force DO to become bloated? "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-04-04 05:24 -0400
Re: Does ?DO force DO to become bloated? "Elizabeth D. Rather" <erather@forth.com> - 2012-04-04 07:44 -1000
Re: Does ?DO force DO to become bloated? Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-04-05 11:51 +0000
Re: Does ?DO force DO to become bloated? mhx@iae.nl (Marcel Hendrix) - 2012-04-05 21:10 +0200
Re: Does ?DO force DO to become bloated? "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-04-05 09:33 -0400
Re: Does ?DO force DO to become bloated? "Elizabeth D. Rather" <erather@forth.com> - 2012-04-05 08:12 -1000
Re: Does ?DO force DO to become bloated? BruceMcF <agila61@netscape.net> - 2012-04-04 07:23 -0700
Re: Does ?DO force DO to become bloated? "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-04-05 09:50 -0400
Re: Does ?DO force DO to become bloated? BruceMcF <agila61@netscape.net> - 2012-04-05 12:26 -0700
Re: Does ?DO force DO to become bloated? "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-03-31 03:29 -0400
Re: Does ?DO force DO to become bloated? Josh Grams <josh@qualdan.com> - 2012-03-31 09:58 +0000
Re: Does ?DO force DO to become bloated? segher <segher@kernel.crashing.org> - 2012-03-31 04:21 -0700
Re: Does ?DO force DO to become bloated? BruceMcF <agila61@netscape.net> - 2012-03-31 07:19 -0700
Re: Does ?DO force DO to become bloated? Hans Bezemer <the.beez.speaks@gmail.com> - 2012-03-31 15:29 +0200
Re: Does ?DO force DO to become bloated? "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-03-31 20:28 -0400
Re: Does ?DO force DO to become bloated? BruceMcF <agila61@netscape.net> - 2012-03-31 19:48 -0700
Re: Does ?DO force DO to become bloated? BruceMcF <agila61@netscape.net> - 2012-03-31 07:43 -0700
csiph-web