Hacker News new | ask | show | jobs
by shadowofneptune 1270 days ago
Object Pascal has two magic types, dynamic arrays and AnsiStrings. These are automatically reference counted. Objects and classes have to be managed by hand, yes.

In general, expect a lot more compiler magic out of Pascal, a lot of concepts were hacked into the Borland compilers over time.

1 comments

So, it's closer to C++ wrt safety, not Go or Rust.
That is accurate, yes. Borland C++ and Delphi share the same component library and are interoperable.