One language I've never used is Pascal, and I've heard it has been aPitty you didn't learn it. It's a much more ellegant language. It's not
popular language for people wanting to write BBS software and BBS doors. Borland went on to enhance the Pascal language, creating Delphi, and I've heard that Delphi is still evolving.. I'm curious what sets Pascal/Delphi apart from languages like C++, C, etc. that makes it a popular language for some things? Also, is it possible to make use of an existing C/C++
codebase or DLL from Pascal/Delphi?
Nightfox
--- NIGHTFOX wrote --
Hi all
One language I've never used is Pascal, and I've heard it has been a popul language for people wanting to write BBS software and BBS doors. Borland
on to enhance the Pascal language, creating Delphi, and I've heard that De
is still evolving.. I'm curious what sets Pascal/Delphi apart from langua like C++, C, etc. that makes it a popular language for some things? Also,
it possible to make use of an existing C/C++ codebase or DLL fro Pascal/Delphi?
--- NIGHTFOX wrote --
Hi all
One language I've never used is Pascal, and I've heard it has been a popul language for people wanting to write BBS software and BBS doors. Borland on to enhance the Pascal language, creating Delphi, and I've heard that De is still evolving.. I'm curious what sets Pascal/Delphi apart from langua like C++, C, etc. that makes it a popular language for some things? Also, it possible to make use of an existing C/C++ codebase or DLL fro Pascal/Delphi?
The old version of my BBS was in Turbo Pascal.
I think there are several reasons for the populatity of Pascal back in the day.
Turbo Pascal was available for CP/M, so it was out before the IBM PC came out. It was cheap. Lots of poeple got taught Pascal in college. Pascal isn't C. Programming in C is like being a masocist on a diet.
I was going to port QBBS to delphi, but my friend (who wrote one of the competing BBS programs in Phoenix but used to help us all the time) talked me into learning Ruby instead. I'm glad he did.
--- COREY wrote --
port DLX to a modern pascal
it was written in Ms Pascal
--- COREY wrote --
port DLX to a modern pascal
it was written in Ms Pascal
I've never used MS Pascal. I once tried to write a BBS in Apple Pascal.
I don't know how anyone could live in something that small!
I leanred to program on a PDP11 in Oregon Software Pascal II.
Turbo Pascal was available for CP/M, so it was out before the IBM PC came out. It was cheap. Lots of poeple got taught Pascal in college. Pascal isn't C. Programming in C is like being a masocist on a diet.
I was going to port QBBS to delphi, but my friend (who wrote one of the competing BBS programs in Phoenix but used to help us all the time) talked me into learning Ruby instead. I'm glad he did.
Pitty you didn't learn it. It's a much more ellegant language. It's not
case sensitive like C. As far as Turbo Pascal (most popular) and Delphi,
I leanred to program on a PDP11 in Oregon Software Pascal II.
--- COREY wrote --
I knew a french girl named Pascal once
--- NIGHTFOX wrote --
I can understand that.. But are there any compelling features of Pasca compared to C/C++
Ruby is interpreted though, whereas Pascal is compiled to native code, isn it? I can see advantages and disadvantages to each.
--- NIGHTFOX wrote --
I'm from Oregon, and I'm not familiar with Oregon Software.. :
Yeah. Being interpreted means you don't have to compile it each time. I remember, back in the day, when I had a PC, you could get up and make a sandwitch and then find out you'd made a typo.
I don't know if they were actually IN Oregon. (; I think they went bust about 20 years ago.
The old version of my BBS was in Turbo Pascal.Which BBS would that be? One nice thing about BBS's that give their source
Turbo Pascal was available for CP/M, so it was out before the IBM PC came out. It was cheap. Lots of poeple got taught Pascal in college. Pascal isn't C. Programming in C is like being a masocist on a diet.I started off with a pirated copy of Turbo Pascal 3.01, later got Quick Pascal (very unpopular!) and moved onward to Stony Brook Pascal+ (a very high performance version of Turbo Pascal 5.5). Later, bought TMT Pascal+ a DOS/Windows/OS2 32-bit compiler that does I think Turbo Pascal 6 compiling and if you compile a graphical application made to use the GRAPH unit for Windows Console mode (may work on OS/2 as well, have to try it) It'll make a windows GUI application that looks identical to the old DOS version, where you don't need all the .bgi and .chr files... I like it for making a modern version of the old BGIDEMO....
I was going to port QBBS to delphi, but my friend (who wrote one of the competing BBS programs in Phoenix but used to help us all the time) talked me into learning Ruby instead. I'm glad he did.I used to use delphi a lot... I have Delphi 4, but don't use it much any more... Don't know why, just seems easier and more fun to use TMT or Turbo Pascal... I used to use Virtual Pascal for most things, but when trying to make doors for Renegade, I switched to Turbo.... ;-)
port DLX to a modern pascal.Where's the source code at? It shouldn't be too difficult unless they use
it was written in Ms Pascal 4
constructor Init;
destructor deinit;
One nice thing about BBS's that give their source
code. Even if they encrypt things to where you can't understand it... They still allow you to see the structures and how various files are laid out.
If they go doing some weird compression or changing formats in a file,
you can see how they read it and know how to do the same in your program
that needs to manipulate the files....
--- NIGHTFOX wrote --
True.. But being interpreted also means that you need to have the interpr installed in order to run it. Anyone who wants to run your software will
to install Ruby first, if they don't already have it installed
Why chose Init and deinit instead of the more common Create and Destroy? FYI, Delphi XE has a $149 starter edition that is pretty good if you wantJust what most DOS OOP programs use. Borland theirselves use init/deinit
to go that route. I upgraded to XE Pro from Delphi 2007 and it's pretty nice.
--- JOHN GUILLORY wrote --
The old version of my BBS was in Turbo PascalWhich BBS would that be?
Ruby is interpreted though, whereas Pascal is compiled to native code, isn't it? I can see advantages and disadvantages to each..
The new version of ruby, 1.9 (which I use) has some sort of bytecode
compiler built in... so it runs many times faster than 1.8
They say compiled apps run faster too (since they don't have to be interpreted each time they run), but these days, that might not be such a big factor..
On 4/14/2011 11:08 PM, Nightfox wrote:
Ruby is interpreted though, whereas Pascal is compiled to native code, isn it? I can see advantages and disadvantages to each..
Speaking of Ruby.... is it same thing but for websites... ruby on the wheel? and ruby is cross platform thing? like unix, windows, etc etc
--- TRACKER1 wrote --
More likely a JIT (Just-In-Time compiler, as opposed to an interpreter)... Though not nearly as familiar with Ruby
--- INTERNETKING wrote --
Speaking of Ruby.... is it same thing but for websites... ruby on the
wheel? and ruby is cross platform thing? like unix, windows, etc etc
You can run Ruby on *nix or windows, but the windows versions lack things really important for BBS programing, like pty. (pseudo terminals).
Speaking of Ruby.... is it same thing but for websites... ruby on the wheel? and ruby is cross platform thing? like unix, windows, etc etc
Are you referring to Ruby On Rails? Or is "Ruby on the Wheel" something different/new? And Ruby is cross-platform.
--- INTERNETKING wrote --
Speaking of Ruby.... is it same thing but for websites... ruby on the wheel? and ruby is cross platform thing? like unix, windows, etc etc
Ruby on rails? I've never used it. I use something called Sinatra, it is much more lightweight...
You can run Ruby on *nix or windows, but the windows versions lack things really important for BBS programing, like pty. (pseudo terminals). >
--- NIGHTFOX wrote --
I wonder why the Windows version would lack features that the *nix version
I thought one of the ideas behind a scripting language like Ruby was to b multi-platform.
--- INTERNETKING wrote --
if it was compiled on cygwin , will it still lack those important things
Re: Re: Pascal and Delphi
By: Internetking to Tracker1 on Sun Apr 17 2011 04:47:00
Speaking of Ruby.... is it same thing but for websites... ruby on the wheel? and ruby is cross platform thing? like unix, windows, etc etc
Are you referring to Ruby On Rails? Or is "Ruby on the Wheel" something different/new? And Ruby is cross-platform.
Nightfox
Speaking of Ruby.... is it same thing but for websites... ruby on the
wheel? and ruby is cross platform thing? like unix, windows, etc etc
Ruby on rails? I've never used it. I use something called Sinatra, it is much more lightweight...
You can run Ruby on *nix or windows, but the windows versions lack things really important for BBS programing, like pty. (pseudo terminals).
I wonder why the Windows version would lack features that the *nix version has? I thought one of the ideas behind a scripting language like Ruby wasThe concept of Multi-Platform compilers and languages is a bit tricky.
to be multi-platform..
--- TRACKER1 wrote --
probably best done in ruby via cygwin then
probably best done in ruby via cygwin then
Why not just run it under Linux?
--- TRACKER1 wrote --
Depends on your needs, comfort, and familiarity.. I was only offering the suggestion, if you wanted it under windows
Ruby is interpreted though, whereas Pascal is compiled to native code, isn't it? I can see advantages and disadvantages to each..
Nightfox
Re: Pascal and Delphi
By: Nightfox to the doctor on Thu Apr 14 2011 11:08 pm
Ruby is interpreted though, whereas Pascal is compiled to native code, is it? I can see advantages and disadvantages to each..
Nightfox
Modern implementations (or at least FPC) appear to compile to native code. Historically it has been interpreted to a run time code (P-code) similar to Java today or certain Basics.
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 94 |
Nodes: | 16 (0 / 16) |
Uptime: | 09:55:52 |
Calls: | 5,138 |
Calls today: | 5 |
Files: | 8,491 |
D/L today: |
1 files (279K bytes) |
Messages: | 352,562 |