Recent

Author Topic: thinking about using pascal aqain..  (Read 5114 times)

xellos

  • Newbie
  • Posts: 2
thinking about using pascal aqain..
« on: March 04, 2013, 07:21:49 pm »
hello i want to start programming with pascal aqain.
but i have a few questions.

are there huge differences between pascal and delphi?

and is there a good network/ sockets tut?

circular

  • Hero Member
  • *****
  • Posts: 4467
    • Personal webpage
Re: thinking about using pascal aqain..
« Reply #1 on: March 04, 2013, 08:07:30 pm »
The biggest difference for me was that there is no ScanLine with TBitmap. That's why I wrote the library BGRABitmap in the first place.
Conscience is the debugger of the mind

User137

  • Hero Member
  • *****
  • Posts: 1791
    • Nxpascal home
Re: thinking about using pascal aqain..
« Reply #2 on: March 04, 2013, 08:11:33 pm »
Delphi is IDE, but it uses pascal language. Lazarus is another IDE, and it uses freepascal. There are some minor differences, for one freepascal is multiplatform whereas Delphi is for Windows only.

I'm still learning the network stuff myself so can't recommend any. There are Synapse, Indy or some others at least. Depends what you want to do with the sockets. If it's MySQL or something, then there are ready database components that take care of the communication problem for you.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: thinking about using pascal aqain..
« Reply #3 on: March 05, 2013, 07:49:34 am »
are there huge differences between pascal and delphi?
Which pascal ;)
TurboPascal and Delphi/Object Pascal? Some, to do with objects ;) As far as I gather not too many though
Standard Pascal and Delphi/Object Pascal: yes, quite some improvements.

Regarding networking etc: have a look at the wiki networking articles. Don't remember any network tutorials but if you use e.g. the Synapse library (also used with Delphi) you can just use their documentation etc.

Without network programming experience or too many tutorials (though with quite some help) I managed to write an authentication layer on top of HTTP (OAuth, see my signature and find the fpctwit project)... so if I can do it ;)
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

anis2505

  • Full Member
  • ***
  • Posts: 201
Dear Confucius you said {A picture is worth a thousand words}
I say {a good example is worth a thousand words}

tr_escape

  • Sr. Member
  • ****
  • Posts: 437
  • sector name toys | respect to spectre
    • Github:
Re: thinking about using pascal aqain..
« Reply #5 on: March 05, 2013, 12:43:32 pm »
Did you looked up below address?

http://wiki.lazarus.freepascal.org/Lazarus_Application_Gallery

there are a lot of application made by lazarus.

Also there are a lot of user who using lazarus...

Good luck

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: thinking about using pascal aqain..
« Reply #6 on: March 05, 2013, 05:05:01 pm »
Quote
are there huge differences between pascal and delphi?
In addition to BigChimp answer (or a rephrase maybe): If what you mean by "Pascal" is "Pascal from Turbo Pascal and prior era", then the answer is yes, there are a lot. But I wouldn't call it difference, rather than a superset. Everything that "your old Pascal" can do, can still be done by current Pascal.

Anyway, instead of saying Delphi, I (and many if not all of us here) would rather call it Object Pascal (as opposed to Embarcadero and some Delphi developers). This is to state that both Free Pascal and Delphi implements a large subset (roughly 90-95%) of the same language, so the language is not exclusively Embarcadero only.
Quote
and is there a good network/ sockets tut?
For tutorials, we usually a bit lack of. But examples and API documentation are around. My suggestions are lNet (event driven component based OO) and Synapse (pure OO).

Curt Carpenter

  • Hero Member
  • *****
  • Posts: 724
Re: thinking about using pascal aqain..
« Reply #7 on: March 05, 2013, 07:48:29 pm »
After using Delphi for a long time (starting with TP1), I switched to Lazarus and have been very happy with the decision.  Delphi has become, in my view, an excellent tool for the professional programming team, while Lazarus seems friendlier to amateurs (like me!).

There are certainly differences, but I have been able to convert all of my Delphi programs to Lazarus without too much effort.  The conversions have been a good way to learn to use Free Pascal and Lazarus.

The difficulty with using networks in Lazarus will depend at least 80% on how good your basic knowledge of networking is.   I'd look for tutorials about networking in general (for the OS you're using) on the internet first.  There are quite a few, and they will give you the background you'll need to understand networking with Object Pascal / Free Pascal AND Delphi.

 

TinyPortal © 2005-2018