Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by d-lisp

1 month ago

> dangling pointers to raw memory that [are not] cleaned

How do you feel about building special constructs to automatically handle these ?

3 comments

d-lisp

Reply

reactordev  1 month ago

I totally can but my gripe is about not wanting to.

  • brabel  1 month ago

    c3 has a @pool annotation that makes a block use an arena to allocate, that should help since all memory is freed upon exiting the block.

    • reactordev  1 month ago

      That is dope

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities