‹ BackHN Continuity

Thread

Modern Object Pascal Introduction for Programmers

204 points · 90 comments · birdculture

  1. theamk · · focus · HN ↗
    > 5.1. Remember to free the class instances

    > The class instances have to be manually freed, otherwise you get memory leaks.

    manual memory management in 2026?

    1. andsoitis · · focus · HN ↗
      > > 5.1. Remember to free the class instances > > The class instances have to be manually freed, otherwise you get memory leaks. > manual memory management in 2026?

      Depends on compiler &amp; runtime. If you pick Oxygene, for example, you get GC etc. <a href="https:&#x2F;&#x2F;www.remobjects.com&#x2F;elements&#x2F;oxygene&#x2F;language" rel="nofollow">https:&#x2F;&#x2F;www.remobjects.com&#x2F;elements&#x2F;oxygene&#x2F;language

    2. pjmlp · · focus · HN ↗
      See the euphoria towards Zig, Jai, Odin,...
      1. rzmmm · · focus · HN ↗
        And rust...
        1. pjmlp · · focus · HN ↗
          Whilw there is a certain hype, Rust has affine types to prevent use after free, based on Cyclone type system, which AT&amp;T was researching as C replacement, contrary to the list above.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.