Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal
1–10 of 103 posts
Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal
#2I'm gonna have to put a damper on things, here. Most of the reasons listed are things available in any other modern language (safety, cross-platformness, libraries...) but one of the things cited is readability.
I work on Pascal code 8 hours a day, and it is not more readable then conventional C syntax ; I'd argue it's much less. The fact that you need to use entire words to denote syntax makes it much harder for your brain to parse things : Instead of immediately seeing "this is code structure" and "this is actual code", you need to actually read the words to make that distinction. It is very counter-productive and a bad design solution, imo.
I feel like this page was written 20 years ago. The reasons would have made quite a lot more sense back then, notably about the type safety.
Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal
#3Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal
#4Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal
#5EDIT: after a quick search the answer is a resounding “you can do it, but yikes.” Multiple people reference custom compilers, which I’m guessing are beyond my reach…
https://news.ycombinator.com/item?id=12029566
EDIT 2: wow nvm it’s on their roadmap! Their “why pascal” page says it’s already supported, but i think thats more hopeful than contractual.
Coming soon (roadmap):
Oculus (VR) (we have the hardware to test)
WebGL (FPC can compile to WebAssembly)
XBox (we have the hardware to test).
(Love the casual “we own at least one xbox” humble brag. If the authors are reading this, that’s the only part that I find a tiny bit off putting — a tinge of overeagerness to persuade me / sell me.)https://castle-engine.io/features#_cross_platform
Highly recommend the “Why pascal” page in general, the most interesting part of the project to a passerby like me:
Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal
#6Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal
#7Oooh, Pascal. This'll tickle the fancy of some old-school demo and game coders. I bet we'll see some unique things emerge from this.
Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal
#8Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal
#9How fancy, hopefully the project is successful - interesting language choice, always have put "Pascal" as an out-of-date language, but clearly I was wrong
Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal
#10I have a feeling those pascal developers are getting stuff done super productively.
Object Pascal is a modern programming language. It supports classes, units, properties, generics, interfaces, reflection, closures… Everything you expect from a modern OOP language.
:shrug: