Live data from Hacker News

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

castle-engine.io

21–30 of 103 posts

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

#22

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…

Possibly most of these arguments are arguments in opposition to Lua, the dominant scripting solution in video games, as opposed to pure positives for Pascal?

In the 90s a spent many years programing in pascal in Think Pascal... not glamorous but it got the job done. It's not too bad but I program on C++ now so... yeah, maybe my brain has melted.

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

#23

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…

Words can be helpful for people who don't like symbols? C is very terse, Pascal verbose. It's like C vs Python. Single-character symbols can be hard to parse for some people in the same way words are for you.

A good IDE / code structure will make the structure and code easy to differentiate anyway.

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

#24
post #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 ;)

Out of date is more than just syntax

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

#25
post #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 i…

> Love the casual “we own at least one xbox” humble brag.

Maybe it's not a humblebrag, but showing they're taking cross-platform seriously. I don't own an Xbox for example, and if I worked on something like this, buying one would be for the specific reason of making sure the project worked. I'd communicate that.

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

#26
post #19

Earlier quoted context omitted.

A millipascal at a time.

Sorry to explain the joke, but pretty sure he was refering to milimeters of mercury => another pressure unit.

Ty. I could feel that there was a joke in there somewhere, but didn't remember the mercury pressure thing

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

#27
Related:

Why use Pascal? - https://news.ycombinator.com/item?id=36646890 - July 2023 (307 comments)

Modern Object Pascal Introduction for Programmers - https://news.ycombinator.com/item?id=36371434 - June 2023 (3 comments)

Castle Game Engine Roadmap - https://news.ycombinator.com/item?id=36365420 - June 2023 (10 comments)

Modern Object Pascal Introduction for Programmers - https://news.ycombinator.com/item?id=28079093 - Aug 2021 (3 comments)

Castle Game Engine: Cross-platform 3D and 2D game engine - https://news.ycombinator.com/item?id=23741883 - July 2020 (20 comments)

Castle Game Engine 6.4 released – physics, iOS services, shader pipeline upgrade - https://news.ycombinator.com/item?id=16207075 - Jan 2018 (2 comments)

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

#28
Cannot remember the last time I used a programming language in the Pascal family. Our programming course we had to use Delphi. This was college back in 2001. I purchased a copy of Delphi 5 (my college has version 4) so likely tried things for a year or two afterwards. I doubt I touched Delphi after 2005.

In College we had to create a Stock Control program. It was an IT course so most people struggled as programming was not their direction. For me being a "prodigy programmer" had no issues jumping into Delphi.

If anything, knew little about Delphi. Once I started coding and realised I was typing var, begin, end, or := (etc) -- I knew it was some kind of Pascal. Going back to my earlier days in high school, I had a copy of Turbo C and Turbo Pascal so thats why I had a little head start.

I remember the difficult part was storing the stock data in a binary file, using binary search to find data, etc. My tutor was old-school so I wouldn't be suprised if Delphi had more 'out of the box' solutions which we take for granted in modern Go, C#, etc.

Everyone struggled to get their code to build. Brings back fond memories.

Today I place Pascal in the same Category as Basic. Seems like an interesting project but I just dont have interet using Pascal so would be a deal breaker for me.

I would not be surprised, however, if there is still a pretty large base of Pascal defenders out there. More power to them if the case.

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

#30
I took a look at the code, since I was curious far a large Pascal codebase looked like. I haven’t seen a substantial amount of Pascal code since about 2001.

One thing I noticed was the file names, I can’t say I’m a fan of prefixing every single source file with “castle”, it makes it much harder to see what the file is about and makes them all look the same. I can’t comment on the actual code, since I’ve never written any Pascal. The engine looks cool though!

Post reply on HN