🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.asm
Article #1

Re: Making a C compiler in Rust

#1
From: Dave Yeo
Date: Fri, 25 Sep 2026 02:31
27 lines
3561 bytes
Alexander Schreiber wrote:
> Dave Yeo <dave.r.yeo@gmail.com> wrote:
>> Johann 'Myrkraverk' Oskarsson wrote:
>>> The major reason to write a compiler in C, is of course the ability to
>>> bootstrap the compiler with someone else's C compiler.  That's a major
>>> issue for some programming languages, such as Rust, which do not have a
>>> compiler for OS/2.
>>>
>>> I added comp.os.os2.programmer.misc to this discussion.  Is there some-
>>> one there who would want a Rust compiler for OS/2?  I don't know.  Nor
>>> do I know if it's possible to port rustc to OS/2, Warp or otherwise.
>> Yes, OS/2 needs a Rust compiler, hoping the upcoming port of GCC 16.x
>> includes it but not sure.
>> The problem with Rust is our limited 32 bit address space. Even some
>> modern C++ code stretches the limits with one process using up to 2GB+
>> of ram, so need to do make -j1 sometimes. Need Warp v4.5+ to access the
>> memory above 1 GB as well.
> Oh, the 512MB per process address space limit in OS/2 finally got fixed?

Yes, Warp v4.5 (Warp v4+fixpak 13, earlier in the server) added the high 
memory arena which can be up to about 2.5GB giving up to about 3 GB of 
address space. 16 bit code is still limited to addressing the low memory 
arena and you need a recent kernel from Arca Noae to load DLL's in the 
high arena without certain bugs. ArcaOS is an OEM version of OS/2. New 
hardware often has too much PCI address space as well leaving systems 
with as little as 1.5GB of address space.
Dave
Technical Details
Message-ID: <t2ltS.52568$m72.51818@fx33.iad>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer05.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx33.iad.POSTED!not-for-mail
References: <110a9pp$ckmk$6@dont-email.me> <jwvbjdd5gx3.fsf-monnier+comp.lang.lisp@gnu.org> <110nf0q$3vra6$3@dont-email.me> <87y0gg62cx.fsf@nightsong.com> <110rfqf$142ot$1@dont-email.me> <111ne5o$vsm3$3@dont-email.me> <111pbk6$36pi7$1@dont-email.me> <111sb7u$3ua8h$7@dont-email.me> <8fj54lpvg7v6mhi9r9u39tpojbjage8br4@4ax.com> <87mrwdyt0t.fsf@nightsong.com> <1127cho$34rpg$3@dont-email.me> <112o4aa$cpek$2@dont-email.me> <87jyqdtumj.fsf@gmail.com> <tYQaS.4286$ZjVb.2337@fx12.ams4> <87bjbn2nhs.fsf@safunu.org> <114j8kl$34k3s$1@dont-email.me> <YlabS.636$s8Z7.262@fx09.ams4> <8733wtuwti.fsf@gmail.com> <D1RhS.105827$pS.21221@fx16.ams4> <87ik53nnbc.fsf@nightsong.com> <y65iS.361236$BAea.126985@fx01.ams4> <87ecfrnih9.fsf@nightsong.com> <Lj7rS.540147$hGY7.515568@fx16.ams4> <NrbtS.3487$zU_d.972@fx45.iad> <slrn11baivd.24s3k.als@mordor.angband.thangorodrim.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer05.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx33.iad.POSTED!not-for-mail
Subject: Re: Making a C compiler in Rust
Newsgroups: comp.lang.lisp,comp.lang.c,comp.lang.asm,alt.lang.asm,comp.os.msdos.programmer,comp.lang.misc,comp.emacs,comp.os.os2.programmer.misc,sci.crypt
References: <110a9pp$ckmk$6@dont-email.me>
 <jwvbjdd5gx3.fsf-monnier+comp.lang.lisp@gnu.org>
 <110nf0q$3vra6$3@dont-email.me> <87y0gg62cx.fsf@nightsong.com>
 <110rfqf$142ot$1@dont-email.me> <111ne5o$vsm3$3@dont-email.me>
 <111pbk6$36pi7$1@dont-email.me> <111sb7u$3ua8h$7@dont-email.me>
 <8fj54lpvg7v6mhi9r9u39tpojbjage8br4@4ax.com> <87mrwdyt0t.fsf@nightsong.com>
 <1127cho$34rpg$3@dont-email.me> <112o4aa$cpek$2@dont-email.me>
 <87jyqdtumj.fsf@gmail.com> <tYQaS.4286$ZjVb.2337@fx12.ams4>
 <87bjbn2nhs.fsf@safunu.org> <114j8kl$34k3s$1@dont-email.me>
 <YlabS.636$s8Z7.262@fx09.ams4> <8733wtuwti.fsf@gmail.com>
 <D1RhS.105827$pS.21221@fx16.ams4> <87ik53nnbc.fsf@nightsong.com>
 <y65iS.361236$BAea.126985@fx01.ams4> <87ecfrnih9.fsf@nightsong.com>
 <Lj7rS.540147$hGY7.515568@fx16.ams4> <NrbtS.3487$zU_d.972@fx45.iad>
 <slrn11baivd.24s3k.als@mordor.angband.thangorodrim.de>
From: Dave Yeo <dave.r.yeo@gmail.com>
User-Agent: OS2zilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101
 SeaMonkey/2.53.23
MIME-Version: 1.0
In-Reply-To: <slrn11baivd.24s3k.als@mordor.angband.thangorodrim.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 27
Message-ID: <t2ltS.52568$m72.51818@fx33.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Fri, 25 Sep 2026 02:31:53 UTC
Date: Thu, 24 Sep 2026 19:31:52 -0700
X-Received-Bytes: 3162