Recent

Author Topic: Add Artificial Intelligence features into the Object Pascal Language  (Read 2819 times)

Andrew1020

  • Newbie
  • Posts: 2
I am just casually asking that AI features to be build into the Object Pascal language when the developer team deems fit.


MarkMLl

  • Hero Member
  • *****
  • Posts: 8334
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #1 on: February 12, 2025, 09:21:48 am »
I see absolutely no reason for this to be part of the language.

It can easily be put into a library/package, "well volunteered that man" :-)

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Khrys

  • Full Member
  • ***
  • Posts: 177
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #2 on: February 12, 2025, 09:26:58 am »
What do you mean by "AI features", exactly? Can you be more specific?
What is it that would require support at the language level of all things?

zeljko

  • Hero Member
  • *****
  • Posts: 1723
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #3 on: February 12, 2025, 09:30:05 am »
You have aiassistant package in lazarus (currently Jan is supported).

cdbc

  • Hero Member
  • *****
  • Posts: 1964
    • http://www.cdbc.dk
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #4 on: February 12, 2025, 09:34:17 am »
Hi
Quote
I am just casually asking that AI features to be build into the Object Pascal language when the developer team deems fit.
When I see the sad excuses for 'source-code', that most AI *Gulps up*, I'm thinking NO! To put it bluntly Hell No!
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99

MarkMLl

  • Hero Member
  • *****
  • Posts: 8334
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #5 on: February 12, 2025, 09:58:14 am »
Quote
I am just casually asking that AI features to be build into the Object Pascal language when the developer team deems fit.
When I see the sad excuses for 'source-code', that most AI *Gulps up*, I'm thinking NO! To put it bluntly Hell No!

Again: there is absolutely no reason why something like that should be in the core language. If OP doesn't understand the distinction then he needs to go away and do some reading.

"Code suggestions" could potentially be available as an optional package for the Lazarus IDE, or if not then use something different (Eclipse?).

"Adding an 'AI' interface to a program being written" would obviously be an external library or package: nothing whatsoever to do with the core language EXCEPT that multiline strings would obviously be useful to hold the prompt used to seed the request.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

TRon

  • Hero Member
  • *****
  • Posts: 4154
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #6 on: February 12, 2025, 01:32:10 pm »
I am just casually asking that AI features to be build into the Object Pascal language when the developer team deems fit.
Inside the language, even. tsk. Not wanting to discourage you from expressing your opinion but do you have any idea what you are talking about ?

Which reminds me, just came across got this in my feeds about what using CoPilot seem to be doing to your code-base and the implications that could have for maintainability of the code. Stuff that managers should have a look at instead of FOMO.
Today is tomorrow's yesterday.

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1344
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #7 on: February 12, 2025, 02:05:19 pm »
I am just casually asking that AI features to be build into the Object Pascal language when the developer team deems fit.
Another helpful account has spawned to Remind us that we urgently need to replace ALL pascal programmers with AI  ;D
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

MarkMLl

  • Hero Member
  • *****
  • Posts: 8334
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #8 on: February 12, 2025, 02:27:54 pm »
Another helpful account has spawned to Remind us that we urgently need to replace ALL pascal programmers with AI  ;D

In fairness Joanna, if you checked OP's other posting you'd see that it was a fairly coherent comment about moving away from Delphi when his licence expired and was made in 2023.

Now unfortunately what he's posted today is ill-advised, but it might possibly be because his experience is Turbo Pascal and Delphi rather than FPC/Lazarus and he's never really considered the distinction between language and implementation.

Which is one of your failings as well, so I suggest trying to be just a /little/ bit less confrontational as far as new forum members are concerned. OK?

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

VisualLab

  • Hero Member
  • *****
  • Posts: 639
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #9 on: February 12, 2025, 03:23:30 pm »
What do you mean by "AI features", exactly? Can you be more specific?
What is it that would require support at the language level of all things?

I join the above request. I would really like to know what “building AI into a programming language” is and how it is done. Because I don't understand it. I would just like to ask for a simple explanation. Because at this stage, I imagine it this way: all this "data grinding machinery" (i.e. all these neural networks connected to data transformers) is integrated into the compiler. But I'm probably wrong, because this is a behemoth-software. And what about the database that this machinery uses? Should this also be put into the compiler?



This AI diarrhoea is spreading in ever wider circles. But there will be a crash when the bubble finally bursts :)
« Last Edit: February 12, 2025, 03:59:18 pm by VisualLab »

Curt Carpenter

  • Hero Member
  • *****
  • Posts: 605
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #10 on: February 12, 2025, 05:21:55 pm »
I agree with MarkMLI that the OP may have used "the language" to mean "the programming environment" -- and if that's the case, I think the question of what "AI" features might be built into the environment is an interesting one.  For example:  when the compiler reports an error, AI could perhaps allow it to offer a suggested fix as well (if asked). 

440bx

  • Hero Member
  • *****
  • Posts: 5078
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #11 on: February 12, 2025, 05:43:07 pm »
Maybe there is already some artificial intelligence in FPC.  Those "illegal expression" and "semicolon expected" messages look rather suspicious to me ;)
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

LV

  • Full Member
  • ***
  • Posts: 239
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #12 on: February 12, 2025, 07:12:05 pm »
If the topic means built-in AI features, native support for symbolic reasoning, or optimization for AI applications. Programming languages ​​such as Prolog, Lisp, Wolfram ​​are well-suited for these purposes.
While other languages do not have AI-specific features at the language level but rather rely on libraries and frameworks (e.g., TensorFlow, PyTorch).

This AI diarrhoea is spreading in ever wider circles. But there will be a crash when the bubble finally bursts :)

I shared this phrase with ChatGPT, and it was not offensive; in fact, ChatGPT even agreed with you in some aspects.  :D

Curt Carpenter

  • Hero Member
  • *****
  • Posts: 605
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #13 on: February 12, 2025, 08:27:17 pm »
I don't think so.  Machine learning is demonstrating some real (and commercially viable) value now.  I was there in the first wave of AI euphoria in the late 80's (and helped kill chasing it at the company I was with in those days) -- but something is different this time, thirty+ years later.  My doctor says the impact in medicine, for example, is real.  Early days still.  Even the "chat" LLM systems are reportedly having a material impact on education processes.

MarkMLl

  • Hero Member
  • *****
  • Posts: 8334
Re: Add Artificial Intelligence features into the Object Pascal Language
« Reply #14 on: February 12, 2025, 09:00:09 pm »
I don't think so.  Machine learning is demonstrating some real (and commercially viable) value now.  I was there in the first wave of AI euphoria in the late 80's (and helped kill chasing it at the company I was with in those days) -- but something is different this time, thirty+ years later.  My doctor says the impact in medicine, for example, is real.  Early days still.  Even the "chat" LLM systems are reportedly having a material impact on education processes.

Yes, it /is/ fundamentally different (and I had a university job during the last bubble).

But I believe it is fair to ask ourselves whether the current "spicy pattern matching" really is an adequate substitute for reasoning based on organised ontologies etc. (and if it is, what it tells us about ourselves and potential other forms of intelligent life).

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018