frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

I'm posting this from a memory safe web browser

34•pizlonator•5h ago
Hi everyone! I'm posting this from a memory safe browser: WebKitGTK MiniBrowser compiled with Fil-C, plus all dependencies compiled with Fil-C

Still dealing with a tail of bugs, some of which look like overzealous optimizations leading to loss of pointer capability (leading to a filc panic). But it works well enough that I can say "hi" on here.

Comments

modeless•5h ago
I'd totally use a memory safe browser even if it made all the C++ code 4x slower. Execution time of C++ code is far from a bottleneck in the perceived speed of a web browser these days. I guess the main downside would be the lack of a JIT for JavaScript. Would it ever be possible to extend Fil-C's safety guarantees to a JIT compiler? I'm not sure how that would work.
pizlonator•5h ago
I’ve thought about the JIT a lot. JSC’s JITs are dear to my heart :-)

Best idea so far is that Fil-C exposes an abstract and memory safe JIT API that severely restricts what you can do and pessimizes codegen but enforces the Fil-C capability model in some kind of easily validated way.

You could imagine then growing the power of that API and adding optimizations while maintaining a proof of correctness in Lean or Rocq or whatever.

I think where it ends is something that looks like PCC if you squint:

- JSC JITs would generate abstract machine code via an API while also making calls that provide proofs that Fil-C checks are not needed

- Fil-C runtime converts the abstract machine code to actual machine code while checking the proof

- The proof checker is itself proved correct in lean or rocq

Sounds like a lot of work to get there. Also, sounds like a very fun thing to build :-)

Ask HN: Gmail spam filtering suddenly marking everything as spam?

206•goopthink•1d ago•122 comments

Why is cursor / Claude Code is so bad at generating readmes?

2•yakshithk_•48m ago•1 comments

I'm posting this from a memory safe web browser

34•pizlonator•5h ago•2 comments

Ask HN: What's the current best local/open speech-to-speech setup?

251•dsrtslnd23•2d ago•61 comments

Ask HN: What are the most significant man-made creations to date?

13•George97•12h ago•22 comments

Ask HN: Do you have any evidence that agentic coding works?

455•terabytest•5d ago•451 comments

Tell HN: 2 years building a kids audio app as a solo dev – lessons learned

136•oliverjanssen•4d ago•77 comments

Ask HN: How to reach out to a commenter under an old submission (nick_m)?

4•jsumn•12h ago•4 comments

Ask HN: Have we confused efficiency with "100% utilization"?

27•nickevante•1d ago•19 comments

Ask HN: What usually happens after a VC asks for a demo?

12•stijo•1d ago•6 comments

Ask HN: May an agent accept a license to produce a build?

26•athrowaway3z•1d ago•47 comments

Ask HN: Why are so many rolling out their own AI/LLM agent sandboxing solution?

32•ATechGuy•5d ago•14 comments

Ask HN: Career transition question – assistance, MLOps guidance

4•Pierre_Esteves•1d ago•0 comments

Ask HN: Why does the number of datasets on data.gov vary so much?

8•akudha•1d ago•4 comments

Ask HN: Revive a mostly dead Discord server

20•movedx•5d ago•28 comments

Ask HN: Thinking about memory for AI coding agents

7•hoangnnguyen•1d ago•9 comments

Ask HN: What are some good unintuitive statistics problems?

6•ronbenton•1d ago•7 comments

Ask HN: Rust and AI builders interested in local-first, multi-agent systems?

3•cajazzer•1d ago•8 comments

Ask HN: How to redeem a gift card without risking lock-out?

6•magnetic•1d ago•6 comments

Ask HN: Weekend Social: Top two programming languages and what they can borrow?

3•susam•1d ago•7 comments

Ask HN: Do you "micro-manage" your agents?

7•xinbenlv•2d ago•8 comments

Coding assistants are slow. So we multitask

4•brunaxLorax•1d ago•8 comments

Locked out of my GCP account for 3 days, still charged, can't redirect domain

14•lifeoflee•2d ago•4 comments

Ask HN: Which common map projections make Greenland look smaller?

19•jimnotgym•5d ago•17 comments

Ask HN: Does DDG no longer honor "site:" prefix?

19•everybodyknows•3d ago•6 comments

Ask HN: Best practice securing secrets on local machines working with agents?

9•xinbenlv•3d ago•12 comments

Ask HN: How do you AI code from your phone?

7•splitbrain•1d ago•2 comments

Ask HN: How do you authorize AI agent actions in production?

6•naolbeyene•3d ago•5 comments

Ask HN: LLMs for new job categories?

7•aavci•2d ago•4 comments

Ask HN: Does "Zapier for payment automation" exist?

8•PL_Venard•4d ago•15 comments