🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Dave Yeo Fri, 25 Sep 2026 02:31
Re: Making a C compiler in Rust
#1
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads