πΎ Archived View for bbs.geminispace.org βΊ u βΊ norayr βΊ 21151 captured on 2024-12-17 at 15:26:32. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Re: "I learned Pascal in uni and haven't touched it in ages, but..."
freepascal is an amazing compiler. it supports turbo pascal dialect if one wants to have that limit. it supports iso mode if you happen to need it. it supports delphi object pascal mode.
it generates very fast code, and in some benchmarks i have shared here, it shares first place with go and c.
Oct 23 Β· 8 weeks ago
π norayr [mod] Β· Oct 23 at 00:26:
horrible standard library
this is a comment left by andreas borchert in comp.lang.oberon in the middle of nineties:
The libc is certainly not a good guide: * Buffer overruns are not ruled out by design: gets, sscanf etc. * Interface inconsistencies: gets vs fgets, fgets vs fscanf (note the position of the file stream parameter) * Bad interfaces like that of getchar() whose return code can be a character or an error code * Particularly bad buffering system which β ignores the block structure of underlying file systems, and β does not support bidirectional buffering * No provisions exist such that independent libraries can cooperate with each other in β signal handling, β setting up alarms, and β tracking childs. (Please note that I do not want to bash Ritchie, Kernighan etc. The libc is history and should be taken as suchβ¦ It is time to abandon C and the libc and it does not help to place other systems on top of this historic relic.)
i save a link to the usenet post via google groups, it was available years ago, but not now:
π» TardisKun Β· Dec 01 at 19:04:
@norayr alternate link ;-)
π norayr [mod] Β· Dec 02 at 00:16:
TardisKun, thank you.
π¦ Houjimmy Β· Dec 03 at 18:44:
I've also learned Pascal have ages, both in school and university. Is it still relevant?
I learned Pascal in uni and haven't touched it in ages, but I'm thinking of picking it up again after reading how much less computation-expensive than, say, Python. Does anyone have any suggestions on good ways to get started again? Also, any thoughts about the virtues of Pascal vs. its related languages like, e.g. Ada?
π¬ dragfyre Β· 11 comments Β· 1 like Β· Oct 10 Β· 2 months ago