Re: A modern programming language for FreeBSD: Swift

From: Jordan Gordeev <jgopensource_at_proton.me>
Date: Sun, 15 Jun 2025 10:59:17 UTC
On Saturday, 14 June 2025 at 17:06, Konstantin Belousov <kostikbel@gmail.com> wrote:

> On Sat, Jun 14, 2025 at 01:06:40PM +0000, Jordan Gordeev wrote:
> 
> > * support for dynamic linking (incl. to libc for isolating generated code from changes to the userland–kernel interface)
> 
> 
> What specifically do you mean there?
> 
> Does swift run over the C runtime, or like Go, it implements its own
> runtime directly interacting with kernel syscalls?

Swift programs rely on libc for their system calls. The Swift program calls a function in libc and libc does the call into the kernel.

Best regards,
Jordan Gordeev