Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2024 01:40:47 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Cy Schubert <Cy.Schubert@cschubert.com>
Cc:        Jan Knepper <jan@digitaldaemon.com>, Mark Delany <x9k@charlie.emu.st>, freebsd-hackers@freebsd.org
Subject:   Re: Rust: kernel vs user-space
Message-ID:  <Ztjh773c6Rwo6BTQ@kib.kiev.ua>
In-Reply-To: <20240904221522.63E0366@slippy.cwsent.com>
References:  <0.2.0-final-1725440949.866-0xb4bb20@qmda.emu.st> <78BC157F-6E30-49C4-931D-9EB539BD0322@digitaldaemon.com> <20240904221522.63E0366@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 04, 2024 at 03:15:22PM -0700, Cy Schubert wrote:
> In message <78BC157F-6E30-49C4-931D-9EB539BD0322@digitaldaemon.com>, Jan 
> Kneppe
> r writes:
> > D
> >
> > www.dlang.org
> 
> The problem with D is data structure definitions need to also be mirrored 
> (duplicated) in D. For example, when 64-bit inodes were implemented D 
> failed to build and generate any code. The reason for this was 
> ufs/ufs/inode.h now defined 64-bit inodes while the D representation as 
> provided by the D language were still 32-bit. I had opened an issue with 
> upstream regarding this. To this day they still haven't figured out how to 
> implement 64-bit inodes on newer FreeBSD systems while maintaining 32-bit 
> inode backward compatibility on older FreeBSD systems (as FreeBSD 
> implemented this using ifunc).

Rust is same.  It still uses pre-ino64 bindings for both stdlib and libc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Ztjh773c6Rwo6BTQ>