Live data from Hacker News

Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal

castle-engine.io

1–10 of 103 posts

Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal

#2
https://castle-engine.io/why_pascal

I'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

#5
Ok I’ve got a hacker challenge for the more creatively-inclined: if I wanted to stretch “cross platform” to web (and thus webVR?), how might I wrap/integrate/emulate/polyfill/whatever this?

EDIT: 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:

https://castle-engine.io/why_pascal

Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal

#7
post #3

Oooh, 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.

I learned to really program in Delphi, before that it was PHP. Pascal and derivatives still hold a special place in my heart. I never imagined nee development would be done with it!

Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal

#9
post #6

How fancy, hopefully the project is successful - interesting language choice, always have put "Pascal" as an out-of-date language, but clearly I was wrong

Turns out Go is mostly Pascal with curly braces and nobody is calling Go out of date ;)

Re: Castle Engine – Free open-source cross-platform 3D/2D game engine using Pascal

#10

I 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:
Post reply on HN