Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Breaking Up with Google Play: Why Conversations Is Now Free (gultsch.de)
    105comments
  2. Understanding the Impact of LLM Watermarking on AI Agent Behavior (lasso.security)
    22comments
  3. Fifteen years later, the Apple Cards origin story (lexontech.org)
    17comments
  4. Revealing the details of how OpenAI agents hacked Hugging Face (swarmtraces.org)
    359comments
  5. We're gonna need a lot more mathematicians (terrytao.wordpress.com)
    293comments
  6. Plan mode is dead (aymannadeem.com)
    371comments
  7. Modern Object Pascal Introduction for Programmers – Castle Game Engine (castle-engine.io)
    7comments
  8. ASML currently sells no chipmaking machines in Europe, executive says (nltimes.nl)
    70comments
  9. Ollaya – Ollama for open-source, Jev-style decision models (ollaya.dev)
    126comments
  10. Floci: Locally emulating any cloud service (floci.io)
    11comments
  11. A single function Jev-like wrapper for LLMs, including vision models (allanrbo.blogspot.com)
    30comments
  12. Is your Postgres migration safe or not safe? (safenotsafe.dev)
    20comments
  13. 16GB iPod Nano 3G Upgrade (tuckerosman.com)
    8comments
  14. Show HN: Jev Plays Pokémon Red (jev-pokemon.vercel.app)
    91comments
  15. Parsing Expression Grammar vs. Regexes: Building Org Parser in Lisp, Export HTML (jointhefreeworld.org)
    10comments
  16. What even is an OS now? (sockpuppet.org)
    325comments
  17. Calculating atmospheric drag on satellites for a Cubesat [pdf] (osti.gov)
    5comments
  18. Ask HN: Who's still keeping a DOS machine up because the business depends on it?
    163comments
  19. Gravity seems holographic. What does that mean for reality? (quantamagazine.org)
    186comments
  20. The Murky History of Soviet-Born Tetris (mitpress.mit.edu)
    15comments
  21. Jury finds Facebook liable for deceiving users in Cambridge Analytica case (cbsnews.com)
    80comments
  22. Scientists build most accurate atomic clock (phys.org)
    17comments
  23. HomelabFest will be in St. Louis in September 2027 (homelabfest.org)
    38comments
  24. One Month Without AI (bustikiller.com)
    126comments
  25. The Copilot+ PC brand is dead (windowscentral.com)
    22comments
  26. Fourier Analysis: Drawing Llamas with Circles (adekau.github.io)
    6comments
  27. The far side of the Moon provides clues to a previous magnetic field (ethz.ch)
    1comments
  28. Excel now supports multiple values in a single cell (techcommunity.microsoft.com)
    152comments
  29. From Thin Air to Bootable Images: The Tine Build System (amutable.com)
    8comments
  30. Lab on a Contact Lens Can Measure Stress Through Serotonin (ieee.org)
    20comments

Modern Object Pascal Introduction for Programmers – Castle Game Engine

21 pointsby 2d agocastle-engine.io
7 comments
2d agoHN ↗

I was introduced a very long time ago --- aka Delphi 2. I really like the language but there are mainly 2 problems that stand in the way of using it.

1) The code isn't as "optimized" as it could be.

2) The talent pool is limited --- chicken or egg issue.

It has been this way for a very long time so I don't see it changing.

47m agoHN ↗

As a different datapoint Pascal is still taught here in Romania in secondary school just as it was the case 20 years ago.

Bigger problem is that they teach the fundamentals with the abandonware that is turbo pascal instead of using something like the modern Free Pascal Compiler. Which means knowledge of what is possible outside curricula is limited.

Last year I almost was tasked with porting some Pascal codebase to a modern language. Problem was the project had a bus factor of 1, legacy overengineered and would only compile on windows with some proprietary compiler.

Maybe that company would use Claude/Codex or something like that, today, to port the project.

53m agoHN ↗

It's amazing how underestimated the Object Pascal language is. Certain people or rivals want to write it off or declare it's "dead", yet the language (including various dialects) are still going strong.

49m agoHN ↗

Yeah, it was pity that Borland lost its way, and Apple decided to refocus from Object Pascal into C++.

Otherwise it would still be a big contender.

Everything that Zig offers over C as selling point was already there in Object Pascal.

26m agoHN ↗

Comptime? Vastly superior toolchain? Trivial C interop? Sub-second incremental compilation in large projects? I'm not familiar with Object Pascal at all, so do correct me if I'm wrong, but I'd really be surprised if it has much of Zig's standout features.

9m agoHN ↗

Comptime is the only thing going for it.

Object Pascal was already super fast in MS-DOS hardware!

33m agoHN ↗

I bought Delphi ages ago, but never got very far with it, which I regret.

I'd love to be able to take it up again, and this document looks very promising for that, esp. paired with:

https://wiki.freepascal.org/pas2js

which I now see is supported in Lazarus.

If someone has an example graphical project which compiles to an HTML page w/ JavaScript using the above, I'd love to see it and a detailed set of build instructions and notes on installing the needed toolchain and deployment. (as a note, I'm currently working in flet.dev using Python which allowed me to get a small prototype up-and-running, but I'm still looking into self-hosting and doing something more complex)