[fpc-pascal] Fwd: What to do to get new users

Hairy Pixels genericptr at gmail.com
Sat Oct 19 14:20:45 CEST 2024


 On Oct 19, 2024 at 3:35:25 PM, Michael Van Canneyt via fpc-pascal <
fpc-pascal at lists.freepascal.org> wrote:

> You are not taking the reasoning to its logical conclusion.
>
> These "new users" will want to have some standard library - the RTL and
> packages.
>
> So the whole rtl/packages needs to be recreated if you introduce this,
> for the reasons that were mentioned by Sven.
> Reasons that were already voiced 20 years ago, by the way.
>
>
Yes all the RTL would need to be redesigned and all the manual frees
removed. I don’t think it’s THAT difficult honestly to make that work, just
loads of precious of time.

The bigger problem though is now everyone is forced to use ARC on new
projects and the old RTL is frozen in time. This is very bad of course and
deal breaker.

This is probably why C++ did smart pointers. Doing those right with Pascal
is even harder than C++ due the predeclared variables. I’ve played with the
management operators and they still have problems, most of all is the
default property which has been discussed for over 5 years with no progress.

So right now if you wanted a low level compiled language to learn and you
want some memory safety you’re still going for C++.

Regards,
    Ryan Joseph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20241019/9288d224/attachment.htm>


More information about the fpc-pascal mailing list