Hacker News new | past | comments | ask | show | jobs | submit login

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.




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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: