Recent

Author Topic: Winter is coming (AI-assisted coding and its influence on Free Pascal)  (Read 15926 times)

cpicanco

  • Hero Member
  • *****
  • Posts: 662
  • Behavioral Scientist and Programmer
    • Portfolio
As a community that want to survive for long and long years to come, I was wondering if Free Pascal feels it is being threatened by the avalanche of productivity promised by other ecosystems that already are really integrated with AI-assisted coding.

Currently, I am aware of two sorts of AI-assisted coding:

1) Gihub Copilot and alike, that is auto-completion with steroids and

2) GPT's like coding. A promise that people will, very soon, be able to use natural language to implement software solutions and full applications connected to generative AI's.

Some business people are turning the use of AI-assisted tools mandatory. Some are even threatining to fire people that don't known how to use it.

So, what do you think?

Raise your hand if you would like to have AI-assisted tools integreated to the Free Pascal workflow and Lazarus workflow.
« Last Edit: December 20, 2023, 04:47:30 am by cpicanco »
Be mindful and excellent with each other.
https://github.com/cpicanco/

440bx

  • Hero Member
  • *****
  • Posts: 5294
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #1 on: December 15, 2023, 12:26:52 am »
I'm probably difficult but, personally, I much prefer real intelligence than artificial intelligence.

I think Einstein's observation about things being infinite should be applied to AI as well.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

cpicanco

  • Hero Member
  • *****
  • Posts: 662
  • Behavioral Scientist and Programmer
    • Portfolio
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #2 on: December 15, 2023, 12:28:12 am »
I would like to share with you some concrete examples of AI-Assisted coding in my own current main project.

I need to run some psychological experiments and I am writing a  software for presenting slides with shapes and media using Lazarus and Free Pascal. I feel my self doing some complicated stuff a lot more faster than some years ago. For example, without generative AI, I would not be able to write a real time sound recorder with thread support in a couple of days. If you are a really fluent and skilled programmer, you may think it is trivial. But I am not a professional programmer.

I spent the last week coding some data analysis and graphication with matplotlib using VSCode, Python, and MySQL. I was really surprised to see that all my routine problems with matplotlib and SQL were being promptly solved by GitHub copilot or ChatGPT.

So, as you can see, I am coding in two different ecosystems: Python and Free Pascal/Lazarus. For reasons I cannot clearly explain, I still prefer Pascal's sintax over Python's sintax. But I cannot neglet the difference in speed. With python you do stuff much faster, specially when you known what you are doing and have AI-assisted coding tools available.

« Last Edit: January 27, 2025, 12:39:47 am by cpicanco »
Be mindful and excellent with each other.
https://github.com/cpicanco/

cpicanco

  • Hero Member
  • *****
  • Posts: 662
  • Behavioral Scientist and Programmer
    • Portfolio
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #3 on: December 15, 2023, 12:53:28 am »
So, just found out that Delphi have some open source stuff here:

https://www.youtube.com/watch?v=Li3CP9PtI1I
Be mindful and excellent with each other.
https://github.com/cpicanco/

TRon

  • Hero Member
  • *****
  • Posts: 4365
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #4 on: December 15, 2023, 01:03:53 am »
Some business people are turning the use of AI-assisted tools mandatory. Some are even threatining to fire people that don't known how to use it.
My boss will fire the whole team if there is even a suspicion of someone in the team having used any AI assistant. It is a legal nightmare.

2 cents and just saying.

Today is tomorrow's yesterday.

swwei

  • Newbie
  • Posts: 3
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #5 on: December 15, 2023, 05:07:38 am »
I challenge if A.I. could develop a total new  O.S.!

dbannon

  • Hero Member
  • *****
  • Posts: 3348
    • tomboy-ng, a rewrite of the classic Tomboy
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #6 on: December 15, 2023, 11:47:07 am »
Long time ago, when i did my ComSci degree, we were told that in the life cycle of software, on average, 33% of the programmer's time (ie the cost) was spent initially designing and writing it, the remainder was maintaining it, finding day zero bugs, adding end user requests, porting to new platforms etc.

I see AI being quite helpful in that initial stage, yes, perhaps it can do a good part of the initial writing, but not much of the initial designing. And almost none of the debugging / extending. Obviously that will change over time but some parts will always be harder for AI to help than others.

I can just imagine it, "hey AI, I want you to find this bug, here, I will fax you the source code....".

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

Thaddy

  • Hero Member
  • *****
  • Posts: 16940
  • Ceterum censeo Trump esse delendam
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #7 on: December 15, 2023, 01:07:48 pm »
As it stands there are multiple ways to interpret AI
E.g. models like those from chatGPT are modelled after REAL intelligence, not after paradigms that factor out humans.  So what factor is artifical?
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

440bx

  • Hero Member
  • *****
  • Posts: 5294
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #8 on: December 15, 2023, 01:32:35 pm »
So what factor is artifical?
One among many, the total inability of A.I to _analyze_ a problem.

A.I can provide you with a copy of Andrew Wiles proof of Fermat's Last Theorem but, it is unable to derive a _new_ proof of even the simplest mathematical theorems which means, A.I is as dumb as a rock (but if you believe Einstein then maybe A.I is a form of real intelligence - or lack thereof <chuckle>.)

When A.I shows it has acquired the ability to improve itself _and_ independently making the decision to improve itself (IOW, not someone asking it to do it) then and only then, it will be reasonable to suspect there is actually a trace of intelligence there.

(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

Thaddy

  • Hero Member
  • *****
  • Posts: 16940
  • Ceterum censeo Trump esse delendam
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #9 on: December 15, 2023, 01:59:09 pm »
The counter proof is easy: humans invented it, so by proxy it is not artificial.
Merry Christmas everyone. (Off to the snow, I hope)
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

440bx

  • Hero Member
  • *****
  • Posts: 5294
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #10 on: December 15, 2023, 02:07:02 pm »
The counter proof is easy: humans invented it, so by proxy it is not artificial.
You should work for a company that sells artificial flavors... they are not artificial because ...

Too bad we can't include that axiom in Euclid's Elements.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

loaded

  • Hero Member
  • *****
  • Posts: 860
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #11 on: December 15, 2023, 02:21:03 pm »
Morpheus:   “You take the blue pill, the story ends, you wake up in your bed and believe whatever you want to believe. You take the red pill, you stay in wonderland, and I show you how deep the rabbit hole goes.”
–The Matrix

The Battle of Artificial and Real Intelligence  ;D

Artificial Intelligence, like other programming tools, can make things easier, but I think it can never replace Morpheus.  :)
Check out  loaded on Strava
https://www.strava.com/athletes/109391137

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12195
  • FPC developer.
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #12 on: December 15, 2023, 03:05:43 pm »
As it stands there are multiple ways to interpret AI
E.g. models like those from chatGPT are modelled after REAL intelligence, not after paradigms that factor out humans.  So what factor is artifical?

A chosen and vetted subset of impressions rather than "random, deal with it!"

cpicanco

  • Hero Member
  • *****
  • Posts: 662
  • Behavioral Scientist and Programmer
    • Portfolio
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #13 on: December 15, 2023, 06:54:08 pm »
A.I can provide you with a copy of Andrew Wiles proof of Fermat's Last Theorem but, it is unable to derive a _new_ proof of even the simplest mathematical theorems which means, A.I is as dumb as a rock (but if you believe Einstein then maybe A.I is a form of real intelligence - or lack thereof <chuckle>.)

Humm. The point is humans WITH AI-assisted tools. I am not worried about AGI and alike. My point is about what is happening right now. In less than a year AI-assisted tools happened and proved it useful for a lot of scenarios, including coding and software development in general.
Be mindful and excellent with each other.
https://github.com/cpicanco/

cpicanco

  • Hero Member
  • *****
  • Posts: 662
  • Behavioral Scientist and Programmer
    • Portfolio
Re: The winter is coming (AI-assisted coding and its influence on Free Pascal)
« Reply #14 on: December 15, 2023, 07:29:01 pm »
Just to put it on perspective. The Free Pascal team are formed by really smart people with excellent pascal vocabulary, but they have very limited resources, and a small team. AI-assisted tools may help a lot in this scenario as long as the team agreed about some time-saving tasks that could be done with theses tools.
Be mindful and excellent with each other.
https://github.com/cpicanco/

 

TinyPortal © 2005-2018