Pascal

Sokan ugy hiszik a Pascal kezdoknek valo.
DE ez nincs igy, illetve nem egeszen. A kezdoknek Pascal valo! 🙂 mar helyesebbnek tunik. Jol olvashato meg a “halando” emberek szamara. De ez nem azt jelenti, hogy nem lehet mindenfele cslafintasagokat elkovetni benne, vagy hogy ne lehetne kozel optimalis kodot irni benne. Annak idejen mi is pascalban kezdtuk a haverokkal (a PCt mert a C64-en basicban irtuk a kodot:). Aztan mar nem is tudom hogyan, de belekeveredtunk a bajba es assemblyre adtuk a fejunket (konyvet is vettunk meg minden…). Es bizony a pascal nyelvi szinten tamogatja az inline assemblyt. Igy nem tels el sok mire otvozni kezdtuk volna. kezdet ben meg hasznaltuk a crt unitot, meg hasonlo pl grafika kezelot, aztan kezdtunk fuggvenyeket atirni assemblyre. Egesz jo kis gyujtemenys sikerult osszeallitani, olyannyira hogy mar semmilyen mas unitot nem hasznaltun, csak amit mi irtunk (assemblyben). A mellett hogy tudtuk pontosn mit is csainal (hardver szinten) meg volt az a hozzaadott elonye, hogy iszonyat gyors volt.
… es kesobb amikor kijott a crt bug, ami miatt mar gyors gepen nem futottak a pascal programok, mi csak hasnaltuk a programjainkat tovabb… 🙂

Mar tobb helyen is olvastam ezt, hogy lenezik a pascal programozokat, meghozza alaptalanul.

Borland Pascal, Free Pascal, Delphi, Borland Developer Studio, Code Gear

egy kis vicces story:
{… so there I was, sitting in a bar when a known C Programmer }
{comes up to me and sniggers “still doing it in Pascal eh?” }
{“Yup” I replied, and tossed the bartender another hundred. }
{“Yeah well, when you’re ready For a Real language, only C has }
{all the aces.” }
{I’m a Pascal Programmer. I don’t have to take that. “Such as?”}
{I hoped he’d bite and he did. }
{“Such as disk sector reading and writing For starters.” }
{“Well I hope you’re not bluffin’, ’cause here’s a trick that }
{I’ll bet you ain’t covered.” }
{I pulled it out With a swish and laid it on the table. “Even }
{provides support For >32M volumes, which the C run-time library }
{manual Forgets to tell you it won’t do.” }
{“Huh? Where?” }
{“Right here” I said. “Just where it says… }
from: http://www.bsdg.org/SWAG/HARDWARE/0009.PAS.html

Na mentem aludni, mert mar 36 oraja fent vagyok…

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.