← All projects
Project record1 mention
Originally shared on Hacker News

Porting WebKit to Fil-C

This project ports WebKit, specifically the JavaScriptCore JavaScript engine, to Fil-C, a memory-safe C compiler. JavaScriptCore currently builds in the JSCOnly configuration but panics on startup, primarily because JSC makes extensive use of uintptr_t to carry pointers, which triggers Fil-C's safety checks.

Last shared
01 / The problem

What it addresses

JavaScriptCore builds but panics on start, with most panics stemming from JSC's extensive use of uintptr_t as a carrier of pointers.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Porting WebKit to Fil-C

    This project ports WebKit, specifically the JavaScriptCore JavaScript engine, to Fil-C, a memory-safe C compiler. JavaScriptCore currently builds in the JSCOnly configuration but panics on startup, primarily because JSC makes extensive use of uintptr_t to carry pointers, which triggers Fil-C's safety checks.

    Problem: JavaScriptCore builds but panics on start, with most panics stemming from JSC's extensive use of uintptr_t as a carrier of pointers.

    Posted by @pizlonator · Original source ↗

    Source text · @pizlonator · · Source ↗

    Porting WebKit to Fil-C Current status: JavaScriptCore builds in the JSCOnly config and panics on start. JSC has extensive use of uintptr_t as a carrier of pointers and that's what most of the panics are about